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

[libbeat] Mark additional log metrics as gauges #22877

Merged

Conversation

andrewkroh
Copy link
Member

What does this PR do?

This marks additional log metrics as gauges.

libbeat.output.events.active and beat.memstats.rss are both gauges
(rather than counters) so disable delta reporting for these two values.

Why is it important?

It's really hard to make sense the metrics over time since they are reported as deltas.

Checklist

  • My code follows the style guidelines of this project
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

@andrewkroh andrewkroh added review libbeat Team:Services (Deprecated) Label for the former Integrations-Services team labels Dec 2, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Dec 2, 2020
"beat.memstats.gc_next": true,
"beat.info.uptime.ms": true,
"beat.cpu.user.ticks": true,
"beat.cpu.user.time": true,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These metrics don't exist so I moved them. There are beat.cpu.*.time.ms metrics, but I don't see a problem with those being reported as delta (I assume the cpu times only ever increase).

`libbeat.output.events.active` and `beat.memstats.rss` are both gauges
(rather than counters) so disable delta reporting for these two values.
@andrewkroh andrewkroh force-pushed the bugfix/libbeat/log-metric-guages branch from 0bbb839 to fc09d86 Compare December 2, 2020 22:33
@andrewkroh andrewkroh added the needs_backport PR is waiting to be backported to other branches. label Dec 2, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Dec 2, 2020

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #22877 updated

  • Start Time: 2020-12-09T15:06:40.813+0000

  • Duration: 64 min 12 sec

Test stats 🧪

Test Results
Failed 0
Passed 17368
Skipped 1373
Total 18741

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 17368
Skipped 1373
Total 18741

@andrewkroh andrewkroh requested a review from urso December 3, 2020 00:09
@andrewkroh andrewkroh merged commit 547d15d into elastic:master Dec 9, 2020
@andrewkroh andrewkroh added v7.11.0 and removed needs_backport PR is waiting to be backported to other branches. labels Dec 9, 2020
andrewkroh added a commit to andrewkroh/beats that referenced this pull request Dec 9, 2020
`libbeat.output.events.active` and `beat.memstats.rss` are both gauges
(rather than counters) so disable delta reporting for these two values.

(cherry picked from commit 547d15d)
andrewkroh added a commit that referenced this pull request Dec 14, 2020
`libbeat.output.events.active` and `beat.memstats.rss` are both gauges
(rather than counters) so disable delta reporting for these two values.

(cherry picked from commit 547d15d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libbeat review Team:Services (Deprecated) Label for the former Integrations-Services team v7.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants