Move telemetry configuration into YAML
This commit is contained in:
@@ -2,6 +2,23 @@ listen_addr: "127.0.0.1:8080"
|
||||
connect_timeout_ms: 10000
|
||||
upstream_timeout_ms: 30000
|
||||
|
||||
telemetry:
|
||||
service_name: "hermes"
|
||||
log_filter: "info"
|
||||
resource_attributes:
|
||||
deployment.environment.name: "development"
|
||||
otlp:
|
||||
endpoint: "http://127.0.0.1:4318"
|
||||
timeout_ms: 10000
|
||||
headers: {}
|
||||
traces:
|
||||
# Set an endpoint here to override the common OTLP endpoint.
|
||||
sample_ratio: 1.0
|
||||
metrics:
|
||||
export_interval_ms: 60000
|
||||
temporality: "cumulative"
|
||||
logs: {}
|
||||
|
||||
acl:
|
||||
default_action: deny
|
||||
users: {}
|
||||
|
||||
Reference in New Issue
Block a user