Skip to content

Commit

Permalink
feat(#18): refactor, observability capabilities moved to separate mod…
Browse files Browse the repository at this point in the history
…ules which could be enabled via linking the libraries to the project
  • Loading branch information
tpz committed Jan 29, 2024
1 parent 6c72e4e commit 818f616
Show file tree
Hide file tree
Showing 51 changed files with 1,730 additions and 1,607 deletions.
2 changes: 2 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 12 additions & 4 deletions docker/evita-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ api:
enabled: ${api.endpoints.graphQL.enabled:true}
host: ${api.endpoints.graphQL.host:localhost:5555}
exposedHost: ${api.endpoints.graphQL.exposedHost:null}
tlsEnabled: ${api.endpoints.graphQL.tlsEnabled:true}
tlsEnabled: ${api.endpoints.graphQL.tlsEnabled:false}
allowedOrigins: ${api.endpoints.graphQL.allowedOrigins:null}
parallelize: ${api.endpoints.graphQL.parallelize:true}
rest:
enabled: ${api.endpoints.rest.enabled:true}
host: ${api.endpoints.rest.host:localhost:5555}
exposedHost: ${api.endpoints.rest.exposedHost:null}
tlsEnabled: ${api.endpoints.rest.tlsEnabled:true}
tlsEnabled: ${api.endpoints.rest.tlsEnabled:false}
allowedOrigins: ${api.endpoints.rest.allowedOrigins:null}
gRPC:
enabled: ${api.endpoints.gRPC.enabled:true}
Expand All @@ -69,9 +69,17 @@ api:
lab:
enabled: ${api.endpoints.lab.enabled:true}
host: ${api.endpoints.lab.host:localhost:5555}
tlsEnabled: ${api.endpoints.lab.tlsEnabled:true}
tlsEnabled: ${api.endpoints.lab.tlsEnabled:false}
allowedOrigins: ${api.endpoints.lab.allowedOrigins:null}
gui:
enabled: ${api.endpoints.lab.gui.enabled:true}
readOnly: ${api.endpoints.lab.gui.readOnly:false}
preconfiguredConnections: !include ${api.endpoints.lab.gui.preconfiguredConnections:null}
preconfiguredConnections: !include ${api.endpoints.lab.gui.preconfiguredConnections:null}
observability:
enabled: ${api.endpoints.observability.enabled:true}
host: ${api.endpoints.observability.host:localhost:5557}
exposedHost: ${api.endpoints.observability.exposedHost:null}
tlsEnabled: ${api.endpoints.observability.tlsEnabled:false}
allowedOrigins: ${api.endpoints.observability.allowedOrigins:null}
tracingEndpoint: ${api.endpoints.observability.tracingEndpoint:http://localhost:4318/v1/traces}
allowedEvents: !include ${api.endpoints.observability.allowedEvents:null}
2 changes: 1 addition & 1 deletion docker/observability/promtail-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ scrape_configs:
time: timestamp
message: message
level: level
request_id: request_id
trace_id: trace_id
client_id: client_id
- timestamp:
source: time
Expand Down
335 changes: 0 additions & 335 deletions evita_api/src/main/java/io/evitadb/api/ClientContext.java

This file was deleted.

Loading

0 comments on commit 818f616

Please sign in to comment.