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

Use max in k8s apiserver dashboard aggregations #17018

Merged
merged 3 commits into from
Mar 23, 2020

Conversation

ChrsMark
Copy link
Member

What does this PR do?

Fixes the following aggregations:

  • API Server Top clients by number of requests [Metricbeat Kubernetes] ECS
  • API Server Requests [Metricbeat Kubernetes] ECS
  • API Server Top clients by resource [Metricbeat Kubernetes] ECS

Why is it important?

Each of these visualization is taking a sum of kubernetes.apiserver.request.count and then a derivative, however kubernetes.apiserver.request.count is a counter and hence we should be using max with the derivative.

Related issues

Signed-off-by: chrismark <chrismarkou92@gmail.com>
@ChrsMark ChrsMark requested review from a team March 16, 2020 12:19
@ChrsMark ChrsMark self-assigned this Mar 16, 2020
Copy link
Contributor

@exekias exekias left a comment

Choose a reason for hiding this comment

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

This will need a changelog

@ChrsMark ChrsMark merged commit d748008 into elastic:master Mar 23, 2020
ChrsMark added a commit to ChrsMark/beats that referenced this pull request Mar 23, 2020
@ChrsMark ChrsMark removed the needs_backport PR is waiting to be backported to other branches. label Mar 23, 2020
ChrsMark added a commit that referenced this pull request Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kubernetes API Server Dashboard is using wrong aggregations
3 participants