Microsoft Dev Blogs

Introducing ASP.NET Core metrics and Grafana dashboards in .NET 8

thumbnail

Introducing ASP.NET Core metrics and Grafana dashboards in .NET 8

  • Metrics record diagnostics about your app, such as the duration of each HTTP request.
  • Metrics data can be used to monitor the health and activity of your app.
  • ASP.NET Core automatically records built-in metrics, which can be displayed on a dashboard.
  • Grafana is a powerful open-source tool for building advanced dashboards and alerts.
  • The .NET team has created pre-built dashboards designed for ASP.NET Core's built-in metrics.
  • The ASP.NET Core Grafana dashboards are open source and available for download on grafana.com.
  • You can customize these dashboards to tailor them to your needs.
  • You can try out Grafana + ASP.NET Core using the .NET Aspire metrics sample app.
  • dotnet-counters is a command-line tool that allows you to view live metrics for .NET Core apps.
  • You can use metrics in your tool of choice or learn more about the .NET Aspire dashboard and get started by downloading the ASP.NET Core Grafana dashboards.

Download ASP.NET Core Grafana dashboards