microsoft / ApplicationInsights-Ruby

Microsoft Application Insights SDK for Ruby
Other
30 stars 40 forks source link

Different SERVICE_ENDPOINT_URI for Azure china #75

Open dennis-tra opened 5 years ago

dennis-tra commented 5 years ago

Hi everyone,

we're experiencing the error message

WARN -- application_insights: Failed to send data: Invalid instrumentation key

for our application insights setup in https://portal.azure.cn/ (only our china setup is effected). We double checked the instrumentation key and it is certainly correct.

Is it possible that the SERVICE_ENDPOINT_URI defined here is different for Azure China?

If not, do you have another idea what could result in this error message?

Thanks in advance, Dennis

Edit 1: There seem to be several other URLs: https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-endpoints#regions-that-require-endpoint-modification Could you point me to the correct one?

TheodoreShi commented 5 years ago

Same issue for me, any updates?