Code Monkey home page Code Monkey logo

Comments (4)

SergeyKanzhelev avatar SergeyKanzhelev commented on May 22, 2024

@mterwoord , we are using two different approaches to collect dependencies. First - using the EventSource-based tracing that .NET framework provide out of the box. This approach doesn't require any additional installation and configuration, but it allows to collect less data. Specifically - command text cannot be collected.

Second approach involve installation of Status Monitor, startup task for cloud service or Azure WebApp extension. Unfortunatly we do not support collection of command text during development on iisexpress.

from applicationinsights-dotnet-server.

mterwoord avatar mterwoord commented on May 22, 2024

I'm working on monitoring a .NET 4.6 WPF application. logging stored procedure names works fine, but logging normal sql queries doesn't. To me this seems odd...

from applicationinsights-dotnet-server.

abaranch avatar abaranch commented on May 22, 2024

As Sergey mentioned autocollection without StatusMonitor is limited because there is not much that .NET framework exposes. ApplicationInsights has profiler based instrumentation where we are not limited to what is provided by the framework. Though StatusMontior enables profiler only for IIS based applications. We have a sample how to enable profiler for worker role process here. You can try to do the similar thing.

from applicationinsights-dotnet-server.

SergeyKanzhelev avatar SergeyKanzhelev commented on May 22, 2024

I have a blog post about it: http://apmtips.com/blog/2015/01/05/track-dependencies-in-console-application/ These days instructions may be simplified a bit - let me know if you are interested. For WPF application enabling profiler can visibly slow down startup time though.

And we are in touch with SQL team to enable sql statements out of the box in future versions of .NET.

from applicationinsights-dotnet-server.

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.