Code Monkey home page Code Monkey logo

Comments (7)

pharring avatar pharring commented on May 21, 2024

@xiaomi7732 comments?

from applicationinsights-profiler-aspnetcore.

xiaomi7732 avatar xiaomi7732 commented on May 21, 2024

@bremnes Thanks for the asking. It is an interesting question.
There are at least 2 benefits for Profile Now:

  1. One can start the profiling at the time on demand;
  2. One can align the profiling across multiple services at the same time;

Could you please tell me which one do you think will benefit you more at this stage?

The reason I ask is that it might take a while before we can implement Profile Now. However, there might be something that we can reach easliy without Profile Now.

For example, if you want to align the profiling across multiple services, one simple solution could be:

  • Allow sets app settings / config / environment to pick a start time. Once the start time is aligned across the services, the profiling will always be aligned.

from applicationinsights-profiler-aspnetcore.

bremnes avatar bremnes commented on May 21, 2024

@xiaomi7732, both to be honest. Ideally one should be able to profile one/several/all connected services/applications regardless of them running in Kubernetes, Azure or on a VM in your own data center.

From the documentation on app insights profiler it says that it will trigger profiler on all instances of the linked web apps. It might be that web app in this context is limited to Azure app/web app, but I'd hope not.

For your comment regarding picking a start time, is there any way to easily control that? I've noticed that profiling by default happens in the two first minutes of the process start and then every hour (58 minute) after that. If we can control that, it would be great as well. For instance it's not perfect if a node fails in Kubernetes, and then all the pods who are rescheduled to another server all starts profiling simultaneously. That could break/have impact on the next node as well.

from applicationinsights-profiler-aspnetcore.

andtii avatar andtii commented on May 21, 2024

One year later do we have any progress on this?

from applicationinsights-profiler-aspnetcore.

xiaomi7732 avatar xiaomi7732 commented on May 21, 2024

@andtii Thanks for your ask. Do I understand correct by this, you mean the Profile Now? By current timeline that I have, it will take about one month for a new version to roll-out with the capability. I'll update the date when I have anything concrete.

from applicationinsights-profiler-aspnetcore.

andtii avatar andtii commented on May 21, 2024

@xiaomi7732 Nicee that sounds awesome

from applicationinsights-profiler-aspnetcore.

xiaomi7732 avatar xiaomi7732 commented on May 21, 2024

@andtii Please checkout the new release of 2.0.0-beta1.
The documentation will catch up later. For now, please take a look at the doc in this fork:
https://github.com/xiaomi7732/ApplicationInsights-Profiler-AspNetCore/tree/dev/saars/update-profiler-2.0/examples/QuickStart3_0

from applicationinsights-profiler-aspnetcore.

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.