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
Issue: Lack of ConnectionString Support in HealthChecks.AzureApplicationInsights
Description
The HealthChecks.AzureApplicationInsights package currently supports only the InstrumentationKey for connecting to Azure Application Insights. However, Microsoft is deprecating the InstrumentationKey and recommends using the ConnectionString instead. Support for InstrumentationKey ends on March 31, 2025. To future-proof this package and ensure compatibility with Application Insights, it needs to add support for ConnectionString.
Expected Behavior
The package should allow users to specify a ConnectionString as an alternative to the InstrumentationKey for connecting to Azure Application Insights. InstrumentationKey property is marked Obsolete. This will align with Microsoft's guidance and deprecation plans /ApplicationInsights-dotnet/issues/2560.
Current Behavior
Currently, the package only accepts InstrumentationKey, which will soon become obsolete, potentially breaking integrations or requiring manual updates to align with Azure's requirements.
Suggested Solution
Add a ConnectionString parameter: Update the health check configuration to accept a ConnectionString for Azure Application Insights.
Deprecate the InstrumentationKey: Mark InstrumentationKey as deprecated, but keep it for backward compatibility until it’s removed entirely by Microsoft.
Documentation: Update the README and any other relevant documentation to reflect this change, providing usage examples with the ConnectionString.
The text was updated successfully, but these errors were encountered:
shayne-marriage-scp
changed the title
Lack of ConnectionString Support in Xabril.HealthChecks.AzureApplicationInsights
Lack of ConnectionString Support in HealthChecks.AzureApplicationInsights
Nov 7, 2024
Issue: Lack of ConnectionString Support in
HealthChecks.AzureApplicationInsights
Description
The
HealthChecks.AzureApplicationInsights
package currently supports only theInstrumentationKey
for connecting to Azure Application Insights. However, Microsoft is deprecating theInstrumentationKey
and recommends using theConnectionString
instead. Support forInstrumentationKey
ends on March 31, 2025. To future-proof this package and ensure compatibility with Application Insights, it needs to add support forConnectionString
.Expected Behavior
The package should allow users to specify a
ConnectionString
as an alternative to theInstrumentationKey
for connecting to Azure Application Insights.InstrumentationKey
property is marked Obsolete. This will align with Microsoft's guidance and deprecation plans /ApplicationInsights-dotnet/issues/2560.Current Behavior
Currently, the package only accepts
InstrumentationKey
, which will soon become obsolete, potentially breaking integrations or requiring manual updates to align with Azure's requirements.Suggested Solution
ConnectionString
parameter: Update the health check configuration to accept aConnectionString
for Azure Application Insights.InstrumentationKey
: MarkInstrumentationKey
as deprecated, but keep it for backward compatibility until it’s removed entirely by Microsoft.ConnectionString
.The text was updated successfully, but these errors were encountered: