15 lines
518 B
Plaintext
15 lines
518 B
Plaintext
|
# App Config
|
||
|
APP_NAME="go-http-server-with-otel"
|
||
|
APP_LOG_LEVEL=trace ## For testing only
|
||
|
APP_LOG_FORMAT=console ## console, json
|
||
|
APP_LOG_TIME_FORMAT=long ## long, short, unix, rfc3339, off
|
||
|
|
||
|
# App OTEL Config
|
||
|
APP_OTEL_STDOUT_ENABLED=true ## For testing only
|
||
|
APP_OTEL_METRIC_INTERVAL_SECS=15
|
||
|
|
||
|
# OTEL SDK Config
|
||
|
OTEL_EXPORTER_OTLP_ENDPOINT="otel-collector.otel.svc.cluster.local" # Set to your otel collector
|
||
|
OTEL_SERVICE_NAME="go-http-server-with-otel"
|
||
|
OTEL_RESOURCE_ATTRIBUTES="env=development,service.version=(devel)"
|