Skip to content

Update App Insights logic and instrumentation key in layout#457

Merged
JoeProgrammer88 merged 1 commit intomainfrom
UpdateAppInsightsBackend
Jan 14, 2026
Merged

Update App Insights logic and instrumentation key in layout#457
JoeProgrammer88 merged 1 commit intomainfrom
UpdateAppInsightsBackend

Conversation

@JoeProgrammer88
Copy link
Copy Markdown
Member

Summary

Changed Application Insights enablement to require only the connection string, not the instrumentation key. Updated the JavaScript instrumentation key to use our new modern Application Insights resource instead of the classic one

Copilot Summary

This pull request makes two small but important changes to the Application Insights configuration in the _Layout.cshtml file. It simplifies the logic for enabling Application Insights and updates the instrumentation key used in the configuration.

  • Application Insights configuration updates:
    • Simplified the logic for enabling Application Insights by removing the check for the old ApplicationInsights:InstrumentationKey and only checking for APPLICATIONINSIGHTS_CONNECTION_STRING.
    • Updated the hardcoded instrumentationKey value in the Application Insights configuration to a new key.

Changed Application Insights enablement to require only the connection string, not the instrumentation key. Updated the JavaScript instrumentation key
@JoeProgrammer88 JoeProgrammer88 merged commit cf8129f into main Jan 14, 2026
1 check passed
@JoeProgrammer88 JoeProgrammer88 deleted the UpdateAppInsightsBackend branch January 14, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant