go-server-with-otel/env-sample
Ryan McGuire c8e461729f
All checks were successful
Build and Publish / release (push) Has been skipped
Build and Publish / check-chart (push) Successful in 9s
Build and Publish / helm-release (push) Has been skipped
rename, add Makefile rename support
2025-03-31 10:13:02 -04:00

15 lines
508 B
Plaintext

# App Config
APP_NAME="go-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-server-with-otel"
OTEL_RESOURCE_ATTRIBUTES="env=development,service.version=(devel)"