Comments (7)
@xiaomi7732 comments?
from applicationinsights-profiler-aspnetcore.
@bremnes Thanks for the asking. It is an interesting question.
There are at least 2 benefits for Profile Now
:
- One can start the profiling at the time on demand;
- 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.
@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.
One year later do we have any progress on this?
from applicationinsights-profiler-aspnetcore.
@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.
@xiaomi7732 Nicee that sounds awesome
from applicationinsights-profiler-aspnetcore.
@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)
- visual studio and docker-compose not working. HOT 2
- Repeated "Instrumentation Key is empty." error messages in logs since v2.5.0 HOT 8
- Worker service sometimes hangs at profiler startup HOT 4
- The scheduling policy of OneTimeSchedulingPolicy is not registered to an orchestrator. HOT 5
- User report: Memory usage is almost always > 90% on Linux, investigate why HOT 9
- This repo is missing important files
- Could not get the stamp id. Aborting the upload process HOT 15
- [Feature] Handle throttling of 429 better
- Trace file is left when the process crashed before stopping the profiling HOT 5
- The EventPipe Profiler doesn't work with Azure Function (App Service Plan)
- Remove the support of SkipUpload
- EventPipe session was not disposed upon stopping exception
- How-To Use it Properly with OpenTelemetry NuGet? HOT 1
- Please Update Examples To Use APPLICATIONINSIGHTS_CONNECTION_STRING Instead of APPINSIGHTS_INSTRUMENTATIONKEY
- Reduce dependency logging for certain API calls HOT 1
- Profiler throws error in trace: AI: Process was called on the TelemetrySink after it was disposed HOT 2
- Role name in application insights profile list HOT 6
- Bump up the target framework for the uploader to .NET 6
- Issue with starting and stopping a process with the profiler running in same process HOT 2
- When you publish an update for Microsoft.ApplicationInsights.Profiler.AspNetCore, don't mark the previous version as deprecated immediately HOT 5
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-profiler-aspnetcore.