-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Meter Tags, Instrument Tags, and Scopes to System Diagnostics Metrics #4324
Add Meter Tags, Instrument Tags, and Scopes to System Diagnostics Metrics #4324
Conversation
* Unify counters * fixup merge * Switched to using AggregatePercentilePayload. * Changes to AggregatePercentilePayload * Bug fixes to improve consistency with existing dotnet counters tool * Adjustments to support shared sessions - this has not been tested. * Bug fix. * Clean up before PR * Small adjustments. * Small changes. * Fixes small filtering bug with instrumentation started * Reintroduced display name for aggregate percentile payload * Partial PR Feedback - has not been tested, and needs more changes. * More PR Feedback. * PR Feedback. * End to end appears to be working, need to add testing and do cleanup. Note that this operates under the assumption of unique meter names * Small cleanup, condensing tests. --------- Co-authored-by: wiktork <wiktork@microsoft.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is an issue with how the cached data is keyed, but otherwise it looks good. Thanks!
src/Microsoft.Diagnostics.Monitoring.EventPipe/Counters/TraceEventExtensions.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/Counters/TraceEventExtensions.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
src/Microsoft.Diagnostics.Monitoring.EventPipe/Counters/CachedCounterInfo.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/Counters/TraceEventExtensions.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/Counters/TraceEventExtensions.cs
Outdated
Show resolved
Hide resolved
…or providers/counters
From what I can see, this broke the build. @kkeirstead CI didn't ran since Dec 4th which is why you didn't see the failures in the PR. |
…tics Metrics (dotnet#4324)" This reverts commit e701ba5.
Thanks for the heads-up, this PR was sitting for a while so that would make sense. I'll start working on a fix now, it looks like it's from the recent changes in |
This PR goes along with kkeirstead/dotnet-monitor#237 in the dotnet-monitor repo.
This PR adds meter tags, instrument tags, and scopes to System Diagnostics Metrics. There is currently a limitation (see dotnet/runtime#93097) around having multiple providers with the same name. As a result, this PR currently makes the assumption that all meters have unique names.
Just a quick note - I made some guesses about how this data should be displayed/formatted, but I can change this if this information should be presented differently (or not at all for dotnet-counters).