Git Product home page Git Product logo

Comments (4)

yantang-msft avatar yantang-msft commented on June 7, 2024

@jay1891 what you if don't set filter level to Warning? Does AppInsights with Actor ever worked for you and just stopped working after switching to .Net 5?

from applicationinsights-servicefabric.

jay1891 avatar jay1891 commented on June 7, 2024

@yantang-msft

@jay1891 what you if don't set filter level to Warning? Does AppInsights with Actor ever worked for you and just stopped working after switching to .Net 5?

AppInsights works on our net5 web app and also we see an exception being logged in an net5 actor method if we throw there an exception and this by using #88. But using our own telemetry client, or using DI with a service collection, or using serilog is not creating error logs.

Also removing the filter is not making any difference.

We just upgraded too net5 and are now starting to implement AppInsights in the actor so I have no past comparison. The binaryformatting issue suddenly occurred but this is temporarily solved in the csproj file.

from applicationinsights-servicefabric.

yantang-msft avatar yantang-msft commented on June 7, 2024

@jay1891 AppInsights configuration is very tricky, it's different depending on the run time (.net, .net core) and app (console, asp.net core). My gut feeling is App Insights is not setup correctly, while this project is more for enrich the telemetry once AppInsights is setup correctly.
I created a project with some examples before which may help you setup the AppInsights: https://github.com/yantang-msft/service-fabric-application-insights-example

from applicationinsights-servicefabric.

jay1891 avatar jay1891 commented on June 7, 2024

@jay1891 AppInsights configuration is very tricky, it's different depending on the run time (.net, .net core) and app (console, asp.net core). My gut feeling is App Insights is not setup correctly, while this project is more for enrich the telemetry once AppInsights is setup correctly.
I created a project with some examples before which may help you setup the AppInsights: https://github.com/yantang-msft/service-fabric-application-insights-example

@yantang-msft Thank you for the info. I got some logging working also with the help of implementing a specific ApplicationInsightsLoggerProvider. I also noticed I was looking at the live metrics, as I configured them for our web app, but the actors where not configured with it (in the sample and #88 ). This created some confusion, as I was not seeing all our logging activity in the live metrics. But some logging was actually available in the core appinsights logging. So, sorry for the confusion. After activating the live metrics on our actors I was seeing what I was hoping to see.

Thank you for your help!

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.