Getting Started with OpenTelemetry in .NET

  Рет қаралды 69,057

Nick Chapsas

Nick Chapsas

Күн бұрын

Пікірлер: 51
@romanpelikh1862
@romanpelikh1862 9 ай бұрын
I liked the video, but it felt a bit cluttered. This appears to be an ideal continuation for the 'How to Deploy .NET Apps to Kubernetes' series, with a focus on integrating Open Telemetry. But as usual, awesome content 👍
@yohm31
@yohm31 2 ай бұрын
yeah same feeling too bad of not focusing on Telemetry Though, we understand you love .Net Aspire ;)
@yohm31
@yohm31 2 ай бұрын
yeah same feeling too bad of not focusing on Telemetry Though, we understand you love .Net Aspire ;)
@matijabecirevic8214
@matijabecirevic8214 9 ай бұрын
Hi Nick, I've been following you for a few years now and I appreciate all the content you put out over the years, I learned a lot from the videos. However, last couple of videos felt over-filled, and it felt like you rushed through the content just to get through all of it, instead of explaining everything like you used to. If one does not have personal experience with any of the stuff you present, it is very easy to feel left behind and not understand anything. Please slow down, and explain everything like you used to, because this video specifically feels more like a sales pitch intended to make the listener feel dumb in order to buy the course instead of being a quality piece of content.
@johncerpa3782
@johncerpa3782 9 ай бұрын
Accurate
@fakhrulhilal
@fakhrulhilal 9 ай бұрын
Amazing, aspire is getting better and more support from community.
@monomanbr
@monomanbr 9 ай бұрын
Thanks!
@krccmsitp2884
@krccmsitp2884 9 ай бұрын
2:12 As far as I know, Aspire is for local development, not for production use. That's at leas what David Fowler answered to my question.
@kaolyfe-cw2cm
@kaolyfe-cw2cm 7 ай бұрын
Why do I always check my playback speed when viewing Nick's videos 😃😄😀...good stuff as usual.
@catfishfortesque-smythe437
@catfishfortesque-smythe437 5 ай бұрын
I set it to 0.85x speed, using a chrome extension. It's closer to how he speaks in reality - check out the live presentations he gives. For some reason, he seems to speed up the recorded videos slightly.
@cdarrigo
@cdarrigo 9 ай бұрын
How does sampling work in non development environments?
@tridy7893
@tridy7893 9 ай бұрын
I am wondering, how different (in the case of Azure, for instance) is it from using Azure Monitor and AppInsights in terms of what you get out of it? What advantages does it give besides the open standards and open source and data portability in the case of OT?
@HenningKilset76
@HenningKilset76 9 ай бұрын
You don't have to choose - OpenTelemetry has an Azure Monitor exporter. I guess that's part of the advantage - YOU want to run Azure Monitor, but a different deployment of same app may want to run Prometheus/Grafana - and this gives you the option of using any of them without changing your code (except for config).
@tridy7893
@tridy7893 9 ай бұрын
That is what is good about Azure Monitor by itself. I do not have to do anything in the code. Azure, as the hosting platform provides the telemetry and does all the plumbing. Other cloud providers have similar things as well. If you run something on-prem, I can see the need for that. There might be other scenarios. However, when cloud providers are in use, I think that features like telemetry are built in, without the need to change anything in the code.
@alexisfibonacci
@alexisfibonacci 9 ай бұрын
Managed Prometheus and Grafana have been fused with Azure Monitor. AppInsights is now a component of Azure Monitor. When it comes to monitoring, you are spoiled for choice. It boils down to your preferred tools and the breadth and depth of coverage. The advantage of Azure Monitor is that you can ingest signals from your "entire infrastructure" and other tools and services. This allows you to correlate the information and carry out advanced diagnostics on the logs, metrics, and traces.
@EncamyJelly
@EncamyJelly 9 ай бұрын
Awesome video! Thank you for showing foss software and not choosing azure. This is really helpful!
@fishzebra
@fishzebra 9 ай бұрын
great, feel like my organisation will get there in about 10 years time, lot invested already in kubernetes and terraform
@LosWochos76
@LosWochos76 Ай бұрын
I expected to see a video about how to integrate OpenTelemetry in .Net. I got a video about Aspire. Not what I expected.
@elgunlee
@elgunlee 7 ай бұрын
I came here to learn how to integrate OpenTelemetry in C#, but video talks about how to deploy C# with aspire :(
@robl39
@robl39 Ай бұрын
Can anyone explain why you’d want to use Aspire? I guess I don’t understand the point
@erickleon3309
@erickleon3309 8 ай бұрын
I come here to learn about open telemetry and found a bad tutorial which base everything on aspire, then aspire dont even work...
@rafaspimenta
@rafaspimenta 9 ай бұрын
Your course about docker explains how to debug inside a container? Thank you Nick!
@TheAzerue
@TheAzerue 9 ай бұрын
When deploying different releases of say Api project via Aspire. Then will K8s or docker compose re-deploy all the containers again ?
@RadostinaZaykova
@RadostinaZaykova 9 ай бұрын
Hi, Nick can you do video where Prometheus is used as data source only and .net application is using it and exposing the data from it on the application itself and not in grafana?
@devgenesis6436
@devgenesis6436 3 ай бұрын
have u got this solution i need to implement something like this with opensource tools
@RadostinaZaykova
@RadostinaZaykova 3 ай бұрын
@@devgenesis6436 nope, unfortunately if you find some example you can put it here
@cthutu
@cthutu 2 ай бұрын
The code downloaded does not compile under Windows on Visual Studio 2022. Doesn't know "Projects.WeatherApp_Api" or "Projects.WeatherApp_Web".
@cthutu
@cthutu 2 ай бұрын
So, it turns out that my version of Visual Studio 2022 did not have .NET Aspire support. Updating VS and installing Aspire as a component did the trick.
@cthutu
@cthutu 2 ай бұрын
Still doesn't seem to work. It runs but do dashboard starts up. No containers appear on docker. Just times out.
@lusca_costa
@lusca_costa 9 ай бұрын
Does it have metrics for kafka and dapper for a AspNetCore web api? So I can check if queries/messaging are slow. Love the content! : )
@andrewiecisa2907
@andrewiecisa2907 9 ай бұрын
Very good and interesting topic! One question though. Where is all that data stored? Prometheus scraps it but where is it saved? How does grafana know where to find the data to visualise?
@dauchande
@dauchande 9 ай бұрын
Prometheus stores it. You can query prometheus directly or via a visualization tool like Grafana
@andrewiecisa2907
@andrewiecisa2907 9 ай бұрын
@@dauchande but where does Prometheus store it? Disc? Can it be configured other storage media like Azure storage table or blob?
@dauchande
@dauchande 9 ай бұрын
@@andrewiecisa2907 Prometheus itself is a time-series database, so you don't store its data in other Azure databases. There is a Managed Prometheus offering in Azure, or you can use a compatible database called Grafana Mimir that can store data in cloud blob storage such as Azure blob storage. Then use something like Grafana Agent to remote-write the prometheus data to Mimir
@jcmorin2007
@jcmorin2007 9 ай бұрын
With the amount of data exported on every single call, I would worry about storage, bandwidth and performance in general. No wonder why the cloud cost so much...
@keyser456
@keyser456 9 ай бұрын
Worked parallel to a team of about a dozen devs on a brand new greenfield project w/ a couple dozen or so micro apps and services (the tail was wagging the dog for sure, w/ the devs calling all the shots). They were generating on the order of gigabytes of logging data every night, and they weren't even live. Our DBA was furious with them. They ran themselves right into the ground -- the project was poop-canned about 5 years into it. Millions of dollars wasted, other than padding their resumes, and the sad part was they were just fine with that and moved on to make the same mistakes in future projects w/ other organizations. Your point is well taken, esp. for the people in charge funding these development projects. Buyer beware.
@FernandoTinoco-g5i
@FernandoTinoco-g5i 9 ай бұрын
how to integrate with cgp (trace and metric explorer) instead of grafana
@tanglesites
@tanglesites 9 ай бұрын
That was a lot of content. Maybe the most packed one yet. In the real world out in the wild, is one person ever doing all of this? Or is this done by a team of people?
@alexisfibonacci
@alexisfibonacci 9 ай бұрын
Depends on the size and circumstances of the team. For a new team getting started and bootstrapping, the initial team members will do all this ground work themselves. Sometimes, they will just be 1 to 3 people. So they need to know how to code, deploy, handle kubernetes, monitor and deal with database and security issues. Sprinkle on some PKI issues, email setup, etc, etc... Tools like this are meant for such individuals (and also more advanced teams with greater delineation of duties). It reduces the cognitive load while allowing them stay in control of everything going on. They are able to rev quickly, experiment and adapt till they find the sweet spot that works for them that will allow frequent, repeatable deployments and features are added and the project grows... My thoughts (also speaking from personal experience).
@keyser456
@keyser456 9 ай бұрын
If you're a one-person shop trying to get off the ground, unless you have unlimited runway and bandwidth, this is probably more of a v2.0 / do-it-when-you're-profitable kind of thing. This stuff is cool and immensely useful for finding hot-spots, bottlenecks, and overall project health, but you will bog yourself down if you focus on these kinds of things instead of the core product. Gotta keep minimal viable product in mind. If you run out of funding the project will never see the light of day. No amount of telemetry, metrics, or logging will fix that.
@catfishfortesque-smythe437
@catfishfortesque-smythe437 5 ай бұрын
I build this once, into a template, and then use that for subsequent projects.
9 ай бұрын
Awesome content! Awesome Nick! 👌
@FataliSMus
@FataliSMus 9 ай бұрын
Cool, a good topic finally!
@DennisHaney
@DennisHaney 9 ай бұрын
The Prometheus is totally unnecessary, otel alone is enough. Also be aware that the cost of aspnetcore metrics if exporting to grafana web is extreme.
@tropictiger2387
@tropictiger2387 7 ай бұрын
This was way too complicated and didn't teach me anything about Open Telemetry.
@ankushjain358
@ankushjain358 8 ай бұрын
More an Aspire video than Open Telemetry
@lajapathyarun4329
@lajapathyarun4329 9 ай бұрын
Great :)
@gregorslana7723
@gregorslana7723 9 ай бұрын
First!
@vangrails
@vangrails 9 ай бұрын
Adam and Eve were first, not you!!
@catfishfortesque-smythe437
@catfishfortesque-smythe437 5 ай бұрын
Are you a child...?
The Logging Everyone Should Be Using in .NET
15:34
Nick Chapsas
Рет қаралды 90 М.
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
Don't Use Polly in .NET Directly. Use this instead!
14:58
Nick Chapsas
Рет қаралды 74 М.
Getting Started with Entity Framework Core in .NET
26:51
Nick Chapsas
Рет қаралды 32 М.
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 17 М.
Getting Started with OpenTelemetry in .NET
23:38
dotnet
Рет қаралды 1,6 М.
Clean Architecture with ASP.NET Core 9
27:01
dotnet
Рет қаралды 36 М.
The Only .NET Scheduler You Should Be Using!
16:38
Nick Chapsas
Рет қаралды 57 М.
You Completely Misunderstand Span in .NET | Code Cop #025
8:03
Nick Chapsas
Рет қаралды 10 М.
Await Async Tasks Are Getting Awesome in .NET 9!
9:24
Nick Chapsas
Рет қаралды 103 М.
Performance Improvements in .NET 9
38:41
dotnet
Рет қаралды 31 М.
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН