Git Product home page Git Product logo

Comments (8)

brahmnes avatar brahmnes commented on May 23, 2024 1

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.

nizarq avatar nizarq commented on May 23, 2024 1

I see. Let me reactivate this issue so that it stays on the backlog.

from applicationinsights-servicefabric.

nizarq avatar nizarq commented on May 23, 2024

@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.

SergeyKanzhelev avatar SergeyKanzhelev commented on May 23, 2024

(new UnhandledExceptionTelemetryModule()).Initialize(TelemetryConfiguraiton.Active) or simply add it into the list of telemetry modules in ApplicationInsights.config.

from applicationinsights-servicefabric.

nizarq avatar nizarq commented on May 23, 2024

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.

ohadjas avatar ohadjas commented on May 23, 2024

from applicationinsights-servicefabric.

nizarq avatar nizarq commented on May 23, 2024

oops - sorry!

from applicationinsights-servicefabric.

ohadschn avatar ohadschn commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.