Comments (9)
Hi @alexmanie,
Sorry for the delay, right now I'm working on building a repro scenario, I'm almost there, as soon as I completed, I can provide the resolution to you as simple as possible.
Expect later today my reply on this thread.
Thanks for your patience,
Renato
from applicationinsights-snapshotcollector.
@aolszowka please see:
https://docs.microsoft.com/azure/azure-monitor/snapshot-debugger/snapshot-debugger-troubleshoot#check-the-diagnostic-services-site-extension-status-page
from applicationinsights-snapshotcollector.
Thanks for the report, @alexmanie.
@renatosalas could you please take a look?
We have to use reflection to find the AddApplicationInsightsTelemetryProcessor method (so that it works in WorkerService and codeless scenarios), and I suspect we're selecting the wrong assembly.
@alexmanie I think you can work around this by replacing AddSnapshotCollector with:
services.AddApplicationInsightsTelemetryProcessor<SnapshotCollectorTelemetryProcessor>();
from applicationinsights-snapshotcollector.
Hi @alexmanie ,
Could you help us check what Application Insights SDK version ended up in your wwwroot folder inside Kudu, please?
Here are some docs to how to access to Kudu: https://docs.microsoft.com/azure/app-service/resources-kudu#access-kudu-for-your-app
You can download the Microsoft.ApplicationInsights.dll file from Kudu and open it using ILSpy tool (https://www.microsoft.com/p/ilspy/9mxfbkfvsq13)
The expected version of Application Insights SDK by Snapshot Collector is greater or equal than 2.15.0
If the version of the Application Insights SDK is different (< 2.15.0), maybe there might be some build process overridden that assembly, just to isolated old/stale assemblies, could you delete the wwwroot and re-deploy your app; make a clean deployment?
from applicationinsights-snapshotcollector.
Hi @renatosalas ,
Micosoft.ApplicationInsights.dll seems to be the expected version 2.20.0.103
What else can I check ?
from applicationinsights-snapshotcollector.
@renatosalas @pharring adding extended information from WebApp Diagnostic Services tool:
from applicationinsights-snapshotcollector.
Hi @alexmanie ,
Thanks for your patience,
I was able to reproduce the issue when the "Interop" option was enabled and the Snapshot Collector SDK in your app was referenced; if you disable that option, everything should work as expected. Does this sounds the case; Interop enabled?
You can check by:
- Go to your App Service resource (WebApp)
- Select on the left side bar "Application Insights"
- On the right page, select the ".NET Core" tab
- Select "Off" option
Before (current customer state)
Let us know if that works for you and Snapshot Collector is working fine.
from applicationinsights-snapshotcollector.
Hi @renatosalas ,
Thanks for your answer. I did it, combined with uninstalling "" from my source code project, and seems Snapshot Collector is currently properly configured as per Diagnostic Services:
Unfortunately, no Snapshots are seeing in the portal.
I did a troubleshoot to see what's happening, and I get that message:
How can I workaround with that?
As my application is an AspNet Core webapp, I don't have an ApplicationInsights.config file to modify.
Thanks in advance.
from applicationinsights-snapshotcollector.
@alexmanie sorry to derail this; but I believe I am seeing similar behavior, can you tell me how you accessed the scm /DiagnosticServices diagnostics
dialog in your screenshots so I can duplicate on my end?
from applicationinsights-snapshotcollector.
Related Issues (12)
- Suspended processes causing low virtual memory HOT 3
- Exception Info: System.AggregateException: One or more errors occurred. The semaphore has been disposed. HOT 13
- Method not found: Microsoft.ApplicationInsights.SnapshotCollector.TelemetryProcessorChainBuilderExtensions.UseSnapshotCollector HOT 6
- Microsoft.Data.SqlClient.SqlConnection' threw an exception with SnapshotCollector 1.4.0 and 1.4.1 HOT 5
- Various potential bugs HOT 6
- AppInsight Snapshot Debbugger Doesn't show locals vars
- Add Linux support HOT 22
- Missing "Open Debug Trace" button for Snapshot Debugger HOT 2
- Snapshot Collector may not be able to find ShadowCopyFolder in .NET 6 single file executables HOT 4
- Unable to log snapshots from .NET 6 console app
- Dependency to deprecated package System.IO.FileSystem.AccessControl HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applicationinsights-snapshotcollector.