Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › dotnet-monitor
dotnet-monitor diagnostic tool - .NET | Microsoft Learn
Learn how to install and use the dotnet-monitor tool to collect dumps, traces, logs, and metrics from applications in production environments.
GitHub
github.com › dotnet › dotnet-monitor › blob › main › documentation › api › metrics.md
dotnet-monitor/documentation/api/metrics.md at main · dotnet/dotnet-monitor
This repository contains the source code for .NET Monitor - a tool that allows you to gather diagnostic data from running applications using HTTP endpoints - dotnet-monitor/documentation/api/metrics.md at main · dotnet/dotnet-monitor
Author dotnet
Videos
23:07
Beyond Monitoring: Observability in .NET with OpenTelemetry - YouTube
09:42
dotnet-monitor: Enabling a diagnostics sidecar in AKS - YouTube
08:49
dotnet-monitor Fundamentals - Accessing .NET Diagnostics Easier ...
24:12
Inspecting application metrics with dotnet-monitor - YouTube
11:44
Creating Dashboards with .NET 8’s New Metrics! - YouTube
29:31
Diagnosing .NET 6 issues from sidecar containers using dotnet-monitor ...
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › metrics-collection
Collect metrics - .NET | Microsoft Learn
2 weeks ago - It works with both System.Diagnostics.Metrics based APIs and EventCounters. If the dotnet-counters tool isn't installed, run the following command: ... If your app is running a version of .NET older than .NET 9, the output UI of dotnet-counters will look slightly different than below; see dotnet-counters for details. While the example app is running, launch dotnet-counters. The following command shows an example of dotnet-counters monitoring all metrics from the HatCo.HatStore meter.
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › metrics
Metrics Overview - .NET | Microsoft Learn
April 17, 2025 - Metrics are numerical measurements reported over time. They are typically used to monitor the health of an app and generate alerts.
Microsoft Learn
learn.microsoft.com › en-us › shows › on-dotnet › inspecting-application-metrics-with-dotnet-monitor
Inspecting application metrics with dotnet-monitor | Microsoft Learn
January 12, 2021 - dotnet-monitor is a command line tool that makes it easier to get access to diagnostics information in a dotnet process.In the episode, Rich is joined by Sourabh who explains to us the importance of gathering application diagnostics and also gives us a demo of how to run dotnet-monitor in Kubernetes[01:43] - Why was dotnet-monitor created?[05:37] - dotnet-monitor setup in kubernetes[14:50] - Integrating dotnet-monitor into other tools[16:45] - Support for additional metrics and event logs[19:12] - Exposing Prometheus style metrics Useful LinksIntroducing dotnet-monitor.NET Diagnostics on GitHubCollect diagnostics in containersWhat diagnostic tools are available in .NET Core?
Andrew Lock
andrewlock.net › creating-and-consuming-metrics-with-system-diagnostics-metrics-apis
Creating and consuming metrics with System.Diagnostics.Metrics APIs
January 27, 2026 - In this post, I provided an introduction to the System.Diagnostics.Metrics APIs. I described some of the terminology used, such as Meter and Instrument, and the various different types of Instrument available. I then showed how you can use dotnet-counters to monitor the metrics produced by your app, primarily for local investigation.
Microsoft Learn
learn.microsoft.com › en-us › aspnet › core › log-mon › metrics › metrics
ASP.NET Core metrics | Microsoft Learn
August 14, 2024 - Monitor user registration and management. Track authentication patterns and potential security issues. Measure performance of Identity operations. Observe two-factor authentication usage. You can view these metrics using dotnet-counters to monitor them in real-time or export them to Prometheus and visualize them in Grafana using the techniques described earlier in this article.
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › metrics-instrumentation
Creating Metrics - .NET | Microsoft Learn
Run the new process and use dotnet-counters as before in a second shell to view the metrics: > dotnet-counters monitor -n metric-demo.exe --counters HatCo.Store Press p to pause, r to resume, q to quit.
GitHub
github.com › dotnet › dotnet-monitor › blob › main › documentation › configuration › metrics-configuration.md
dotnet-monitor/documentation/configuration/metrics-configuration.md at main · dotnet/dotnet-monitor
This repository contains the source code for .NET Monitor - a tool that allows you to gather diagnostic data from running applications using HTTP endpoints - dotnet-monitor/documentation/configuration/metrics-configuration.md at main · dotnet/dotnet-monitor
Author dotnet
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › dotnet-counters
dotnet-counters diagnostic tool - .NET CLI - .NET | Microsoft Learn
After the collection configuration ... application. dotnet-counters launches a process with the provided command and collect the requested metrics. This is often useful to collect metrics for the application's startup path and can be used to ...
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › built-in-metrics-runtime
.NET runtime metrics - .NET | Microsoft Learn
This article describes the built-in metrics for .NET runtime libraries that are produced using the System.Diagnostics.Metrics API.
Microsoft
devblogs.microsoft.com › dev blogs › .net blog › introducing dotnet-monitor, an experimental tool
Introducing dotnet-monitor, an experimental tool - .NET Blog
May 20, 2021 - When deploying in-cluster, a common pattern to collect metrics is to use Prometheus or another monitoring tool to scrape the metrics endpoint exposed by your application. As an example, when running in Azure Kubernetes Services (AKS), you can configure Azure Monitor to scrape prometheus metrics exposed by dotnet-monitor.
Microsoft
devblogs.microsoft.com › dev blogs › .net blog › what’s new in dotnet monitor
What's new in dotnet monitor - .NET Blog
October 11, 2022 - In addition to the collection of System.Runtime and Microsoft.AspNetCore.Hosting metrics, it is now possible to collect additional metrics (emitted via EventCounters) for exporting in the Prometheus exposition format. You can configure dotnet monitor to collect additional metrics as shown in the example below:
Reddit
reddit.com › r/monitoring › [question] understanding dotnet-monitor livemetrics
r/Monitoring on Reddit: [QUESTION] Understanding dotnet-monitor LiveMetrics
April 2, 2023 -
https://github.com/dotnet/dotnet-monitor/blob/main/documentation/api/livemetrics-get.md
I use dotnet-monitor as a sidecar container and I can get LiveMetrics via API. Well, just make a request via curl and return LiveMetrics. But how can I collect them? I have not seen anything like this not in Prometheus, not in Grafana, not in Zabbix. All I Googled is that they are parsed well using Azure Monitor. How can I collect and parse them if I'm not in Azure?
C# Corner
c-sharpcorner.com › article › inspecting-application-metrics-with-dotnet-monitor
Inspecting application metrics with dotnet-monitor
dotnet-monitor is a command line tool that makes it easier to get access to diagnostics information in a dotnet process.In the episode, Rich is joined by Sourabh who explains to us the importance of gathering application diagnostics and also gives us a demo of how to run dotnet-monitor in Kubernetes