-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
{,x-pack/}metricbeat/module/prometheus/{collector,remote_write}: Add metrics_count
to Prometheus module if metrics_count
is true
#40411
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
This pull request doesn't have a |
144568b
to
b7741c6
Compare
/test |
metrics_count
to Prometheus module
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
@gizas Did you get a chance to look at this PR again? |
This pull request is now in conflicts. Could you fix it? 🙏
|
This pull request is now in conflicts. Could you fix it? 🙏
|
Co-authored-by: Aman <[email protected]>
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.
Left one last comment. See if that makes sense. Rest all looks good.
|
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.
Looks good!
Thanks for the tests added. LGTM and also help to understand how the metrics_count is calculated |
…`metrics_count` to Prometheus module if `metrics_count` is `true` (#40411) Co-authored-by: Ishleen Kaur <[email protected]> Co-authored-by: Aman <[email protected]> (cherry picked from commit 3c9563c)
…tor,remote_write}: Add `metrics_count` to Prometheus module if `metrics_count` is `true` (#40784) * {,x-pack/}metricbeat/module/prometheus/{collector,remote_write}: Add `metrics_count` to Prometheus module if `metrics_count` is `true` (#40411) Co-authored-by: Ishleen Kaur <[email protected]> Co-authored-by: Aman <[email protected]> (cherry picked from commit 3c9563c) * Update CHANGELOG.next.asciidoc --------- Co-authored-by: subham sarkar <[email protected]>
Proposed commit message
Add
metrics_count
metric (counter) to each document (if enabled) forcollector
andremote_write
datastreams. Please see the sample docs for more info.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Sample output
Collector
Remote Write