Skip to content
0:00 / 0:00

#serilog#grafana#asp.netcore

Logging, Metrics and Events in ASP NET Core - Martin Thwaites

NDC Conferences

230K subscribers • 110 videos on Hallway • Conference channel

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Martin Thwaites
  • May be out of date. Uploaded 7 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

14K views7 years ago2 recommendations

Tools and practiceCloud and DevOpsObservability and monitoringSRE and incidents

Martin Thwaites explains the differences between metrics, logs, and events, and demonstrates how to implement structured logging in ASP.NET Core.

Providing decent monitoring of your applications has always been considered the boring part of development, with tons of boilerplate code, and making upfront decisions around how it will be done, or retrofit afterwards. However, with dotnet core, things have changed, it's never been easier to implement effective visibility into how your application is performing in production. In this session I will cover the fundamental differences between Metrics and Logs, and Events and look at where one is useful over the other. We’ll look at some of the things Microsoft has done in dotnet core to make logging easier, and some of the third-party libraries and tools that aim to make it easier to navigate. We’ll cover tools like Serilog and Log4Net, along with AppMetrics for capturing application information. We’ll then take a quick look at Grafana, and see how we can make some sense of that information. Finally, we'll look at Honeycomb.io and how they're providing actionable insights for distributed systems using events, enabling testing in production. Check out more of our talks in the following links! NDC Conferences ndcoslo.com ndcconferences.com

Why it's here

2 people recommend this

What people say. Highly recommended for learning structured logging and setting up distributed logging and metrics quickly.

Moments people linked to

u/keinengutennamenin r/dotnet • Recommends

On “NLog Tutorial - The essential guide for logging from C#”

Before you do anything, check out this video. You can get up and going with distributed logging incredibly fast. He happens to use Serilog but really he pushes anything that can do **structured** logging. Logging, Metrics and Events in ASP NET Core - Martin Thwaites
5View on Reddit

u/Medozgin r/dotnet • Recommends

On “What works best as a monitoring tool to integrate with a dotnet/core application to create dashboards in order to visualize application logs in real-time. Earlier we used to have splunk which worked pretty smooth for creating dashboards. So iam looking for a similar alternative.”

link to this video I know I'm linking a video but it's awesome and should give you everything you need

u/keinengutennamenin r/dotnet • Recommends

On “NLog Tutorial - The essential guide for logging from C#”

People should check out this video. It's very good and shows how quickly you can get up and running with distributed logging and metrics. All open source and all tied together. He promotes Serilog but really what he is after is **structured** logging. Logging, Metrics and Events in ASP NET Core - Martin Thwaites
1View on Reddit