Move telemetry configuration into YAML

This commit is contained in:
2026-10-28 14:50:06 +00:00
parent 467624b747
commit b8ee10e7b2
6 changed files with 467 additions and 34 deletions
+17
View File
@@ -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: {}