quarkus-super-heroes
quarkus-super-heroes copied to clipboard
Add OpenTelemetry in Azure ContainerApps
ATM OpenTelemetry is still not supported in ACA.
- https://github.com/microsoft/azure-container-apps/issues/289
- https://github.com/ezYakaEagle442/aca-java-petclinic-mic-srv/blob/main/iac/bicep/aca/aca.bicep#L223
- https://github.com/ezYakaEagle442/aca-java-petclinic-mic-srv/blob/main/docker/petclinic-customers-service/Dockerfile#L17
- https://github.com/microsoft/azure-container-apps/issues/290
- https://docs.microsoft.com/en-us/azure/azure-monitor/app/java-in-process-agent#point-the-jvm-to-the-jar-file
- https://github.com/microsoft/azure-container-apps/issues/208#issuecomment-1231697920
For reference: https://www.honeycomb.io/blog/opentelemetry-collector-azure-container-apps this should work.
That seems like a lot of extra work just to inject some configuration into a container.
- It forces you to use Azure storage
- It forces you to use/manage yaml configs of your container apps
On Kubernetes, I could just store the otel config yaml in a ConfigMap
and then mount it to the container. Why does that have to be so complicated on container apps?