-
Notifications
You must be signed in to change notification settings - Fork 0
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
Instrument proctelemetry.ProcessMetrics #67
Instrument proctelemetry.ProcessMetrics #67
Conversation
8277c7e
to
4a106fb
Compare
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.
Added a few comments but it is a great start! Thanks for taking this one :)
10cec5c
to
2314eaf
Compare
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.
Thanks for working through my comments, I've some small leftovers and it should be good to go!
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.
LGTM, only one small comment :)
* Instrument proctelemetry.ProcessMetrics
* Instrument proctelemetry.ProcessMetrics
* Instrument proctelemetry.ProcessMetrics
* Instrument proctelemetry.ProcessMetrics
* Instrument proctelemetry.ProcessMetrics
* Instrument proctelemetry.ProcessMetrics
* Instrument proctelemetry.ProcessMetrics
* Instrument proctelemetry.ProcessMetrics
* Instrument proctelemetry.ProcessMetrics
* Instrument proctelemetry.ProcessMetrics (#67) * Instrument proctelemetry.ProcessMetrics * add chloggen * fix lint and remove unneeded context * catch potential case where some metricValues are 0 * address review feedback * rebase and remove unneeded registry * only run assertMetrics for OC * address review comments * rebase and update featuregate function in use * rebase and update to use new otel metrics api * fix lint err * address feedback * newline * use multierr for errors
Description:
This PR instruments proctelemetry.ProcessMetrics with otel go. This is a followup PR that is based on similar changes made for obsreport.Receiver: open-telemetry#6222
Link to tracking Issue: Part of open-telemetry#816
Testing:
Built otelcorecol binary and checked metrics endpoint. Tested with and without featuregate.