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
since Application Insights “Instrumentation Keys” are Sunsetting on March 31, 2025, i am trying to convert current applicationInsights config from Instrumentation Key to Connection String
current startup:
public void ConfigureServices(IServiceCollection services) => services
.AddApplicationInsightsTelemetryWorkerService("00000000-0000-0000-0000-000000000000");
Make sure you copy the ConnectionString verbatim from your Application Insights resource.
If that's not working, you can collect SDK logs to identify any errors within the SDK
thank you @TimothyMothra getting back to me
here is my AI
the connection string is very long, shall i copy the whole thing or just InstrumentationKey=xxx part?
and also where i can find the SDK logs? thank you!
since Application Insights “Instrumentation Keys” are Sunsetting on March 31, 2025, i am trying to convert current applicationInsights config from Instrumentation Key to Connection String
current startup:
public void ConfigureServices(IServiceCollection services) => services
.AddApplicationInsightsTelemetryWorkerService("00000000-0000-0000-0000-000000000000");
changed to
public void ConfigureServices(IServiceCollection services) => services
.AddApplicationInsightsTelemetryWorkerService(options => options.ConnectionString = "InstrumentationKey="00000000-0000-0000-0000-000000000000");
but the new code is not logging anything to the same AI transaction logging. am I missing anything? thanks!
The text was updated successfully, but these errors were encountered: