Measure Your Application’s Performance in .NET

Sdílet
Vložit
  • čas přidán 24. 12. 2023
  • Use code CLEAN20 and get 20% off the brand new "Deep Dive in Clean Architecture" course on Dometrain: dometrain.com/course/deep-div...
    Become a Patreon and get special perks: / nickchapsas
    Hello everybody, I'm Nick, and in this video, I will introduce you to the new metric collection tooling added in .NET 8 with IMeterFactory at the center of it all.
    Workshops: bit.ly/nickworkshops
    Don't forget to comment, like and subscribe :)
    Social Media:
    Follow me on GitHub: github.com/Elfocrash
    Follow me on Twitter: / nickchapsas
    Connect on LinkedIn: / nick-chapsas
    Keep coding merch: keepcoding.shop
    #csharp #dotnet

Komentáře • 52

  • @ikenwakochukwudi9395

    Nick, you already owe us a video on building visualisation dashboards with grafana.

  • @Yupmoh
    @Yupmoh  +2

    Loving your videos Nick! This is great!

  • @maar0en

    I would be interested in a video explaining how to visualize a histogram in Kibana or grafana using opentelemetry data, this feels to be quite a challenge.

  • @dave7038

    I like this, but I'm not clear on how it works for a production deployment. Where are the metrics stored, how does the data get there, how can I monitor multiple installations (like if my suite of apps is installed at 100 different unrelated clients how do I centralize monitoring so I can see performance for all of my customers, etc.), is this chained to cloud deployments (most of my clients host my app suite on-prem with VMs), etc.

  • @MaThMaTa1000

    It's very easy from this video to export the metrics to Prometheus and visualise them in Grafana. It's a video asking to be made

  • @Artmageddon

    I've been waiting for something like for this a long time, can't wait to try it! Also, Merry Christmas!

  • @jonathandaugaard4990

    Great video!

  • @passionforsciencel5180

    Waiting for empty builder benchmark 😄 , Good Luck ❤

  • @igorsolomatov4743

    You could use the same disposable pattern in counter (increase in dispose function). And now your code will be clearer without try-finally.

  • @h.m.6228

    You're corret. But that's so nice.

  • @Thorarin

    I'm not yet using this API, but I've been using the AppMetrics NuGet packages which are very similar. I'm using it to measure the performance of some background processes and then using those numbers in the application's health checks to have some alarm bells go off in case of degraded performance.

  • @inzyster

    My man just explained in a few minutes what I was struggling to get out of coworkers with otel experience for yonks 😅

  • @amnesia3490

    can't be sure if this built-in metric factory can replace prometheus-net's in-memory metric exporter or can be used together

  • @MarkCastle

    Would love to see alternatives to aspire for this

  • @TrueTaladan

    Thanks for your great videos. Can you perhaps also make one with Keyvault and database in connection with Aspire?

  • @garcipat

    Does open telemtry allows store the values in certain services?

  • @JonathanPeel

    Quick question, is there ever a chance that (even if not now, but maybe by the time we have .Net 9), the running code will try optimizing itself.

  • @douglashampshire6845

    For Azure users it might be nice to show Application Insite Intergration

  • @phantomrt777

    Hello, can we calculate requests by user IP, header etc. Instead of total requests? So we can see how many requests per api user and by method based?Also , use it for distributed rate limiter. İnstead of using redis? Because current rate limiter does not allow distributed limitting.

  • @prattipatileelakrishna2758

    I would be interested in a video about transactions, concurrency and locks