microsoft / ApplicationInsights-Kubernetes

Enrich the telemetry data for .NET applications running inside containers that are managed by Kubernetes.
Other
135 stars 57 forks source link

As of now the package doesn't seem to add the properties anymore? #354

Closed drauch closed 7 months ago

drauch commented 8 months ago

Describe the bug The documented additional properties do not show up in Application Insights.

Package Versions Application Insights Kubernetes Version: 6.1.1 Application Insights SDK Version: 2.21.0

Additional context We're running on .NET 7.

Best regards, D.R.

xiaomi7732 commented 7 months ago

Hi @drauch Do you mind turning on the trace logging and posting a copy of it here? With that, we can start troubleshooting.

builder.Services.AddApplicationInsightsKubernetesEnricher(LogLevel.Trace);
drauch commented 7 months ago

Thanks for the hint for trace logging, we realized that the permissions for the API server were not correctly set. Issue can be closed.

xiaomi7732 commented 7 months ago

Cool!