question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for System.Diagnostics.Metrics

See original GitHub issue

Background 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:open
  • Created 2 years ago
  • Reactions:6
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
darraghjonescommented, Feb 12, 2022

Any idea when dotnet-monitor will support the new metrics APIs?

6reactions
kkeirsteadcommented, Nov 11, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found