.NET Aspire Dashboard Deep Dive - Logs, Metrics, Traces & More!

Ғылым және технология

Learn more: www.aspiredashboard.com/
Visualize OpenTelemetry data with the Aspire Dashboard: Any App, Any Framework, Completely Free! Let's set up a .NET Blazor app with OpenTelemetry and then pipe the data to visualize it in the Aspire dashboard locally in a docker container. .NET MAUI, Blazor, ASP.NET Core, WinUI, WinForms, WPF, you name it!
Links:
Standalone Dashboard: learn.microsoft.com/dotnet/as...
Aspire on GitHub: github.com/dotnet/aspire
Aspire GA Post: devblogs.microsoft.com/dotnet...
Aspire Videos: aka.ms/aspire/videos
Aspire for Python Post: tonybaloney.github.io/posts/u...
Samples: github.com/dotnet/aspire-samp...
Client App Samples: github.com/dotnet/aspire-samp...
Chapters:
00:00 - Introduction
01:36 - Adding OpenTelemetry to a Blazor App
03:20 - Running Aspire Dashboard Standalone
07:50 - Configuration with Aspire Service Defaults
10:50 - Adding Aspire Orchestration
15:05 - Publishing to Anywhere
16:30 - Wrap-up
Join this channel to get access to perks:
/ @jamesmontemagno
👕 Buy some swag! - jamesmontemagno.myspreadshop....
☕️ Buy me a coffee - www.buymeacoffee.com/jamesmon...
Follow:
👨‍💻 GitHub: github.com/jamesmontemagno
🦜 Twitter: / jamesmontemagno
📄 Website: www.montemagno.com
📰 Newsletter: newsletter.montemagno.com/
Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: cleclothingco.myshopify.com/
What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: / bcez1onhiqx
My Setup:
📷 Canon M50 Mark II - amzn.to/3P8R7lp
💡 Nanoleaf Elements Lights - amzn.to/3umwJVW
🎙 Blue Spark Microphone - amzn.to/3qgtYkq
🎙 Blue Pop Filter - amzn.to/3jEWM3r
🤳 Rode Microphone Arm - amzn.to/2Z68AlE
🎧 Sony MDR7306 Headphones - amzn.to/372jxta
📲 Stream Deck - amzn.to/373Uk1n
🖱 MX Master 2S Mouse - amzn.to/3d7J2gj
⌨️ Tecware Phantom Keyboard - amzn.to/3aUP4y9
Using links I provide I may receive a commission if you buy something which helps support the channel.
#opentelemetry #dotnet #dotentaspire #dashboard #rust #csharp #java #javascript #python #pythonprogramming #typescript

Пікірлер: 19

  • @adefwebserver
    @adefwebserverАй бұрын

    I watched several videos on the subject and this is the first one that allowed me to 'get it'

  • @footballaipredictions
    @footballaipredictionsАй бұрын

    Nice video! Is there a way we can add projects from other solutions?

  • @Ajmal_Yazdani
    @Ajmal_YazdaniАй бұрын

    super cool James. how we can use this aspire dashboard over kubernetes (AKS) and go beyond local to production?

  • @JamesMontemagno

    @JamesMontemagno

    Ай бұрын

    Can deploy it as a container and configure your services to pipe in telemetry

  • @mdzakariamasud8326

    @mdzakariamasud8326

    Ай бұрын

    @@JamesMontemagno can i use persistance vol to store opentelemetry data ?

  • @JamesMontemagno

    @JamesMontemagno

    Ай бұрын

    Not sure would ask on the aspire GitHub

  • @nerdydragon42
    @nerdydragon42Ай бұрын

    Will this work with Blazor Standalone? Or is it only the new templates?

  • @JamesMontemagno

    @JamesMontemagno

    Ай бұрын

    Which specific part? The dashboard works anywhere in an app that you can add opentelemetry to. The aspire orchestration and integration should work just fine in a .net 8 Blazor app

  • @nerdydragon42

    @nerdydragon42

    Ай бұрын

    @JamesMontemagno Great, I hope it can work because we've been trying to add Aspire to our Blazor wasm app (Not the server client wasm)

  • @soonhongng7037
    @soonhongng7037Ай бұрын

    Aspire dashboard is great for simplicity, but sadly not production-ready. It doesn't persist dashboard data, and for 'Metrics' u can only look data up to 12 hours ago. We need data starting from day 1 until the present moment. It would be great, if it can use volume to persist data.

  • @JamesMontemagno

    @JamesMontemagno

    Ай бұрын

    It’s for local dev productivity and real-time first and foremost. For production is a nice option to have but also there are lots of great services out there like azure monitor

  • @JamesWhiteHereNow

    @JamesWhiteHereNow

    Ай бұрын

    The challenge I think many people have is finding a fully integrated tracing/logging/metrics open-source dashboard like this in production. Most "how-tos" recommend one OSS tool for traces, one for logs, another for metrics. On the commercial side there are integrated views in Azure Monitor, NewRelic, etc but they come at a high cost (ingestion, monthly fee, complexity). If someone could extend the Aspire Dashboard with 30 day memory from cheap storage it would easily become the default for small to medium deployments.

  • @dmitriyborodiy1575
    @dmitriyborodiy1575Ай бұрын

    It's free?

  • @JamesMontemagno

    @JamesMontemagno

    Ай бұрын

    Yup! Free and open source

  • @yufgyug3735
    @yufgyug37354 күн бұрын

    i really dislike the notion of certain tools being 'development env only'. sure, it helps during development, but i want my dev env to be as close to production as possible so that i can spot any nuances early, and/or be able to replicate issues that arise. not to mention that i want to be able to practice using the tools available to me on production so that i can understand them better.

  • @JamesMontemagno

    @JamesMontemagno

    3 күн бұрын

    For production you can flip on the Aspire Dashboard in azure container apps or deploy yourself. However, really a tool like Azure Monitor would give you the best production results

  • @yufgyug3735

    @yufgyug3735

    3 күн бұрын

    ​@@JamesMontemagno been there, azure monitor turned out to be too expensive. now my project is using prometheus, jaeger, seq and grafana for application observability

Келесі