Add support for System.Diagnostics.Metrics
See original GitHub issueBackground and Motivation
dotnet-monitor currently only supports collection of EventCounter metrics. Given that the dotnet team’s recommendation is to use System.Diagnostics.Metrics for new metrics, we should expose via the /metrics
endpoint as well
Proposed Feature
There currently isn’t an out-of-process consumption mechanism for System.Diagnostics.Metrics
and whatever we do will be dependent on a new runtime feature. It will probably be something similar to DiagnosticsSourceEventSource
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:12 (3 by maintainers)
Top Results From Across the Web
System.Diagnostics.Metrics Namespace
Metrics namespace can be used to add metrics to an application. The APIs work on all platforms supported by .NET and are designed...
Read more >Creating Metrics
In this tutorial, you will add new metrics and understand what types of metrics are available. Note .NET has some older metric APIs,...
Read more >Metrics APIs Design
The OpenTelemetry Metrics APIs support reporting measurements about the execution of a ... The proposed APIs will be part of the System.Diagnostics.
Read more >What does the .NET application say - Counters and Metrics
In this post, I want to talk about different diagnostics information that .NET application sends you, because it may help you find problems ......
Read more >Getting started with OpenTelemetry Metrics in .NET. Part 1
Part 2: A practical example about how to add OpenTelemetry Metrics on a real life .NET app and how to visualize those metrics...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any idea when dotnet-monitor will support the new metrics APIs?
Just wanted to give an update to everyone following this issue - we’ve started actively working on adding support for
System.Diagnostics.Metrics
, but we don’t have a timeline for it yet. We’ll link back to this issue once we have a PR for it. Thanks!