Skip to content

Improve in-proc consumption story of runtime metrics #45590

Closed
@sywhang

Description

@sywhang

AB#1244363
Since .NET Core 3.0 we've been adding many DiagnosticCounters to the runtime as well as the BCL to track some key metrics. These metrics can easily be consumed by dotnet-counters or with ETW/EventPipe out-of-proc.

In-proc-consumption of these metrics is not very easy/efficient. Using EventListener to consume these metrics is non-intuitive and is also expensive due to the way EventListeners are implemented.

It's also not straightforward to get the metrics themselves by plumbing them through EventCounters -> EventSource -> EventListeners.

This issue tracks all the work that needs to happen to make in-proc consumption of runtime (and core libraries) metrics easier and more efficient.

Related issues:

Metadata

Metadata

Assignees

Labels

Bottom Up WorkNot part of a theme, epic, or user storyUser StoryA single user-facing feature. Can be grouped under an epic.area-Tracing-coreclrenhancementProduct code improvement that does NOT require public API changes/additions

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions