You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not an issue with Semantic Kernel itself but rather a warning for everyone using it, as it now heavily utilizes a .NET 8 feature called keyed services.
It turns out that Application Insights has an issue with service registration, making it incompatible with keyed services. More importantly, this issue is very hard to identify and understand as being caused by Application Insights.
If you are using Semantic Kernel with keyed services and encounter unexpected and sometimes even randomly occurring error related to Application Insights dependency injection, you should register Application Insights before any keyed services to resolve the issue. More on microsoft/ApplicationInsights-dotnet#2879
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Application Insights isn't compatible with keyed services
.Net: Application Insights isn't compatible with keyed services
Dec 13, 2024
This is not an issue with Semantic Kernel itself but rather a warning for everyone using it, as it now heavily utilizes a .NET 8 feature called keyed services.
It turns out that Application Insights has an issue with service registration, making it incompatible with keyed services. More importantly, this issue is very hard to identify and understand as being caused by Application Insights.
If you are using Semantic Kernel with keyed services and encounter unexpected and sometimes even randomly occurring error related to Application Insights dependency injection, you should register Application Insights before any keyed services to resolve the issue. More on microsoft/ApplicationInsights-dotnet#2879
The text was updated successfully, but these errors were encountered: