Comments (8)
Hi Ohad,
Thank you for your suggestion. I think your suggestion is good and valid. For now, you can manually add that call in your RunAsync method. We will see how we can do that automatically from Application Insights SDK.
from applicationinsights-servicefabric.
I see. Let me reactivate this issue so that it stays on the backlog.
from applicationinsights-servicefabric.
@SergeyKanzhelev @Dmitry-Matveev
I read about Microsoft.ApplicationInsights.WindowsServer.UnhandledExceptionTelemetryModule
and Microsoft.ApplicationInsights.WindowsServer.UnobservedExceptionTelemetryModule
in the config reference.
Where can I read more about them? How to add them? If there are any specific type of applications they work on? How do they work?
@ohadjas - I suspect this might be the answer here. Let's wait for the experts to comment.
from applicationinsights-servicefabric.
(new UnhandledExceptionTelemetryModule()).Initialize(TelemetryConfiguraiton.Active)
or simply add it into the list of telemetry modules in ApplicationInsights.config
.
from applicationinsights-servicefabric.
Cool! Closing this for now since this addresses automatic capturing of unhandled exceptions.
I future we can take a holistic look at smart defaults - as in - what set of AI sdks should be added by default for service fabric projects (based on the type of project). For now the model is that the user would use AI.SF nuget package to compliment other AI sdks. The other sdks are added and configured by the user as they would do for non service fabric projects. This puts user in full control of opting-in into what they want to auto collect. The AI.SF sdk just ensures that the collected telemetry is decorated with the right SF context before being sent.
from applicationinsights-servicefabric.
from applicationinsights-servicefabric.
oops - sorry!
from applicationinsights-servicefabric.
Hi @nizarq,
I am aware of UnhandledExceptionTelemetryModule
and UnobservedExceptionTelemetryModule
but neither will be triggered when an exception is thrown from RunAsync
as the latter would catch it (and handle per the docs).
from applicationinsights-servicefabric.
Related Issues (20)
- Configure logging for writing to AI from .NET Stateless service HOT 5
- Use NuGet V3 API for package restore HOT 1
- Missleading documentation & not existing classes HOT 4
- Actor Reminders share OperationId HOT 3
- Expose Request\Response events HOT 1
- Appinsights logging affecting performance on SF nodes HOT 1
- library causes version conflict when using Microsoft.Services.ServiceFabric >= 3.3.664 HOT 4
- Native has an old dependency on NuGet package Microsoft.ServiceFabric.Services.Remoting HOT 1
- What TelemetryChannel is recommended to be used in SF HOT 1
- Additional properties not showing in Application Insights .NET framework HOT 1
- Support for Microsoft.ServiceFabric.* 4.1.409 HOT 1
- W3C Trace-Context Support HOT 1
- How to get Azure service fabric performance metrics
- Upgrading Application Insights breaks service correlation HOT 7
- Combine Service Fabric Actor + ApplicationInsights + ILogger HOT 4
- ASP.NET CORE API running on ServiceFabric does not have service annotations when remoting HOT 16
- ApplicationInsights broken on multi - node setup
- This repo is missing important files HOT 2
- Update SDK HOT 2
- Remoting Dependency Tracking Reporting Very Long Durations? HOT 6
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-servicefabric.