question

OwinGruters-3461 avatar image
0 Votes"
OwinGruters-3461 asked Monalla-MSFT answered

no data in App Insights

I have been waiting 6 days now for MS to answer my support ticket in this.

My webapp with .net (framework) code deployed on it and Agent-based application monitoring is turned on as described here (https://docs.microsoft.com/en-us/azure/azure-monitor/app/azure-web-apps?tabs=net#enable-application-insights) . But AI is not giving any data. I checked all the settings and they seem correct, but there is nothing. Also on live telemetry I get this error "Not available: your app is offline or using an older SDK".

These are the appsettings:

[
{
"name": "APPINSIGHTS_INSTRUMENTATIONKEY",
"value": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx",
"slotSetting": true
},
{
"name": "APPINSIGHTS_PROFILERFEATURE_VERSION",
"value": "1.0.0",
"slotSetting": true
},
{
"name": "APPINSIGHTS_SNAPSHOTFEATURE_VERSION",
"value": "1.0.0",
"slotSetting": true
},
{
"name": "APPLICATIONINSIGHTS_CONNECTION_STRING",
"value": "InstrumentationKey=<secret>",
"slotSetting": false
},
{
"name": "ApplicationInsightsAgent_EXTENSION_VERSION",
"value": "~2",
"slotSetting": true
},
{
"name": "DiagnosticServices_EXTENSION_VERSION",
"value": "~3",
"slotSetting": true
},
{
"name": "InstrumentationEngine_EXTENSION_VERSION",
"value": "~1",
"slotSetting": true
},
{
"name": "SnapshotDebugger_EXTENSION_VERSION",
"value": "~1",
"slotSetting": true
},
{
"name": "UmbracoServerRegister",
"value": "slave",
"slotSetting": false
},
{
"name": "WEBSITE_ENABLE_SYNC_UPDATE_SITE",
"value": "true",
"slotSetting": false
},
{
"name": "XDT_MicrosoftApplicationInsights_BaseExtensions",
"value": "disabled",
"slotSetting": true
},
{
"name": "XDT_MicrosoftApplicationInsights_Java",
"value": "1",
"slotSetting": false
},
{
"name": "XDT_MicrosoftApplicationInsights_Mode",
"value": "recommended",
"slotSetting": true
},
{
"name": "XDT_MicrosoftApplicationInsights_NodeJS",
"value": "1",
"slotSetting": true
},
{
"name": "XDT_MicrosoftApplicationInsights_PreemptSdk",
"value": "disabled",
"slotSetting": true
}
]

azure-monitor
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @OwinGruters-3461 - Thanks for reaching out and for being patient.

Are you still facing issues here? Did you raise a support ticket, if so please provide the details and I can follow up on the request for you.

0 Votes 0 ·

@OwinGruters-3461 - Please provide us with above details as requested, so we can investigate it further.

0 Votes 0 ·

1 Answer

Monalla-MSFT avatar image
0 Votes"
Monalla-MSFT answered

@OwinGruters-3461 - Thanks for reaching out.

Based on the information provided, please check the below things to ensure you are getting the data in AI.

  • The applicationinsights.config is configured with your instrumentation key.

  • The applicationinsights.config is being deployed to WebApps.

  • All the necessary telemetry modules are in your web.config

Also there might be chance that this config has set to a value "MOBILESERVICESDOTNET_EXTENSION_VERSION" = 1.0.111" , try deleting that config and see if that helps resolve your issue.

Meanwhile until its fixed, as a workaround, you can use Logs feature or Search feature in application insights in azure portal. From there, you can also see these logs.

Also take a look at this document for more reference of troubleshooting : asp-net-troubleshoot-no-data


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.