🌐
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
🌐
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.
🌐
Grafana
grafana.com › grafana › dashboards › 19297-dotnet-monitor-dashboard
dotnet-monitor dashboard | Grafana Labs
With the Prometheus data source ... in your pod. The dashboard shows the key default metrics relating to Memory, CPU, Requests and Garbage collection....
🌐
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.
Find elsewhere
🌐
DEV Community
dev.to › dotnet › inspecting-application-metrics-with-dotnet-monitor-3bg7
Inspecting application metrics with dotnet-monitor - DEV Community
February 3, 2021 - dotnet-monitor is a command line tool that makes it easier to get access to diagnostics information i... Tagged with dotnet, diagnostics, metrics, performance.
🌐
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
🌐
ABP
abp.io › community › articles › asp.net-core-metrics-with-.net-8.0-1xnw1apc
ASP.NET Core Metrics with .NET 8.0 | ABP.IO
You can use the dotnet-counters command-line tool, which allows you to view live metrics for .NET Core apps. You can run the following command to install the tool: ... After the tool is installed, you can run the application and by running the ...
🌐
Dotnetstudy
dotnetstudy.com › tools-sdk › dotnet-monitor
dotnet monitor: A Deep Dive into Monitoring and Diagnostics
The Metrics Endpoint in dotnet monitor is a cornerstone for performance monitoring, delivering critical insights into application health through various metrics. These metrics include CPU usage, memory consumption, and application-specific counters, ...
🌐
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:
🌐
raulnq
blog.raulnq.com › diagnostic-net-apps-using-dotnet-monitor
Diagnostic .NET Apps using dotnet-monitor - raulnq
November 10, 2023 - The Metrics API gets a snapshot of metrics in the Prometheus exposition format of a single process (the pid will be set through configuration). dotnet-monitor can read and combine configurations from multiple sources.
🌐
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