Skip to content
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

[release/7.x] Port System.Diagnostics.Metrics #3750

Merged
merged 6 commits into from
Feb 24, 2023

Conversation

wiktork
Copy link
Member

@wiktork wiktork commented Feb 22, 2023

Summary

Backport #3479 to release/7.x

Release Notes Entry

wiktork and others added 4 commits February 21, 2023 16:59
* Add prototype support for system diagnostics metrics

* [feature branch, do not review] Update counter api, fixup metadata parsing (dotnet#3137)

* Fix ICountersLogger contract

* MetadataUpdates

* Fixup merge issues

* Fixup api protection levels

* Fixup tests and add CounterEnded payload

* Fixup metadata parsing

* [System Diagnostics Metrics] Quantile->Percentile Changes & Testing Improvements (dotnet#3165)

* Rename counterpipeline

* Fix invariant

* Fixup regex

* Added tests for histogram and timeseries; addressed some other feedback. Still need to address erroneusly printing error message when doing live metrics without Sys.Diag.Metrics, and add configuration option to allow users to specify eventcounter/sys.diag.metrics

* Fix counter name

* Use one payload for Histogram

* Added MetricType option for configuration; added testing to go along with it

* Move documentation to correct file

* Initial PR feedback

* Do not allow CounterEnded events to displace existing metrics

* Deduplicate errors

* Update dependencies from https://github.com/dotnet/diagnostics build 20230130.1

Microsoft.Diagnostics.Monitoring , Microsoft.Diagnostics.Monitoring.EventPipe
 From Version 6.0.0-preview.23077.1 -> To Version 6.0.0-preview.23080.1

* Fix minor formatting issues

* Fix spell check issues

* Update documentation/configuration/metrics-configuration.md

Co-authored-by: Justin Anderson <[email protected]>

* Update documentation/configuration/metrics-configuration.md

Co-authored-by: Justin Anderson <[email protected]>

* PR Feedback

* Add comment from PR

---------

Co-authored-by: kkeirstead <[email protected]>
Co-authored-by: kkeirstead <[email protected]>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Justin Anderson <[email protected]>
* Fix quantile issue for summaries

* Fix unit test

* Fixup labels
@wiktork wiktork requested a review from a team as a code owner February 22, 2023 05:34
jander-msft
jander-msft previously approved these changes Feb 22, 2023
@jander-msft jander-msft added the backport Pull requests that are backports of another pull request label Feb 22, 2023
jander-msft
jander-msft previously approved these changes Feb 22, 2023
@wiktork wiktork merged commit 38194f2 into dotnet:release/7.x Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Pull requests that are backports of another pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants