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
Connection strings are the new preferred method of setting custom endpoints within Application Insights.
Request to share info on if this is supported already. If not could we raise a request for the same?
The text was updated successfully, but these errors were encountered:
It might be possible to accept either an Ikey or a connection string in both NewTelemetryClient and NewTelemetryConfiguration. If you need to use a custom endpoint, then do this as a workaround:
cfg:=appinsights.NewTelemetryConfiguration(ikey)
cfg.EndpointUrl="https://dc.applicationinsights.azure.cn/v2/track"// Data collector endpoint URLclient:=appinsights.NewTelemetryClientFromConfig(cfg)
https://docs.microsoft.com/en-us/azure/azure-monitor/app/sdk-connection-string?tabs=net#overview
https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-endpoints?tabs=net#regions-that-require-endpoint-modification
Connection strings are the new preferred method of setting custom endpoints within Application Insights.
Request to share info on if this is supported already. If not could we raise a request for the same?
The text was updated successfully, but these errors were encountered: