Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
Setup bootstraps the OpenTelemetry pipeline with OTLP exporters. Configuration is read from environment variables:
- OTEL_EXPORTER_OTLP_ENDPOINT: Collector endpoint (default: localhost:4317)
- OTEL_EXPORTER_OTLP_INSECURE: Use insecure connection (default: true for localhost)
- OTEL_SERVICE_NAME: Service name for telemetry (default: mindns)
If it does not return an error, make sure to call shutdown for proper cleanup.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.