-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[reveicer/prometheusreceiver] Add feature gate for extra scrape metrics in Prometheus receiver #44539
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
[reveicer/prometheusreceiver] Add feature gate for extra scrape metrics in Prometheus receiver #44539
Conversation
…cs in Prometheus receiver
|
Welcome, contributor! Thank you for your contribution to opentelemetry-collector-contrib. Important reminders:
A maintainer will review your pull request soon. Thank you for helping make OpenTelemetry better! |
ArthurSens
left a comment
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.
Nice, thanks for working on this. Should we also update our README file?
receiver/prometheusreceiver/metrics_receiver_report_extra_scrape_metrics_test.go
Outdated
Show resolved
Hide resolved
.chloggen/feat_prometheusreceiver-featuregate-extrascrapemetrics.yaml
Outdated
Show resolved
Hide resolved
Co-authored-by: Arthur Silva Sens <[email protected]>
…eMetrics` feature gate in Prometheus receiver
|
Resolved comments and updated README.md |
ArthurSens
left a comment
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.
… in favor of `EnableReportExtraScrapeMetrics` feature gate
|
README.md updated |
ArthurSens
left a comment
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! LGTM
|
Thank you for your contribution @fr0stylo! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey. If you are getting started contributing, you can also join the CNCF Slack channel #opentelemetry-new-contributors to ask for guidance and get help. |
Description
Add feature gate for extra scape metrics in prometheus receiver along side current configuration. Change should not change any current behavior, just adds new additional input stream, which needs to be migrated later
Link to tracking issue
Fixes #44181
Testing
Updated tests to support mainly new input - feature gate, due to the fact of deprecation of configuration setup