Skip to content

[bug] No metrics emitted after change to 9.0-azurelinux3.0-distrolessΒ #6395

@jschweda

Description

@jschweda

Package

OpenTelemetry.Exporter.OpenTelemetryProtocol

Package Version

Package Name Version
OpenTelemetry.Extensions.Hosting 1.12.0
OpenTelemetry.Exporter.OpenTelemetryProtocol 1.12.0
OpenTelemetry.Instrumentation.Runtime 1.12.0

Runtime Version

net9.0

Description

We recently changed from mcr.microsoft.com/dotnet/runtime/9.0-azurelinux3.0 to mcr.microsoft.com/dotnet/runtime/9.0-azurelinux3.0-distroless and the metrics export stopped to work.

Metrics were no longer send to the configured endpoint. Metrics are send via grpc.

We tried to activate self-diagnostics like described here but we were not able to see any traces from from OpenTelemetry.

Steps to Reproduce

Change runtime image for application from mcr.microsoft.com/dotnet/runtime/9.0-azurelinux3.0 to mcr.microsoft.com/dotnet/runtime/9.0-azurelinux3.0-distroless

Expected Result

If there is a known issue / missing components in the distroless image I would either expect documentation, a log output in the program or even an error thrown.

Actual Result

Nothing, no metrics send, no traces emitted and no exception thrown.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageNew issues which have not been classified or triaged by a community memberpkg:OpenTelemetry.Exporter.OpenTelemetryProtocolIssues related to OpenTelemetry.Exporter.OpenTelemetryProtocol NuGet package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions