digdir / dialogporten

Dialogporten - common API and and metadata state store for digital dialogs
https://docs.altinn.studio/dialogporten
MIT License
1 stars 3 forks source link

Add OTLP exporters in our apps that send to the new OT agent #1465

Open arealmaas opened 1 week ago

arealmaas commented 1 week ago

Use the environment variables that are injected in our containers to configure the OTLP endpoints. OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_PROTOCOL

https://learn.microsoft.com/en-us/azure/container-apps/opentelemetry-agents?tabs=arm#environment-variables

For local development, consider adding a OTLP endpoint. https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/examples/demo/docker-compose.yaml (this might be a bit crazy for local development, but jaeger is nice to have:))