Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix registration of TelemetryClient in ApplicationInsights in Azure deployments #53

Closed
jezzsantos opened this issue Oct 6, 2024 · 0 comments
Labels
functional defect Something isn't working

Comments

@jezzsantos
Copy link
Owner

When HOSTEDONAZURE we plug in ApplicationInsights for various adapters.

These adapters require the TelemetryClient to be available in the IOC container.

However, in dotnet 8.0 we are also using keyed-dependencies.
There is a bug in application insights that prevents the TelemtryClient being registered after any keyed-dependency is registered.

We need a workaround, until application insights is fixed.

microsoft/ApplicationInsights-dotnet#2879

@jezzsantos jezzsantos added the functional defect Something isn't working label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
functional defect Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant