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

Kubernetes API Server Dashboard is using wrong aggregations #16628

Closed
simianhacker opened this issue Feb 26, 2020 · 1 comment · Fixed by #17018
Closed

Kubernetes API Server Dashboard is using wrong aggregations #16628

simianhacker opened this issue Feb 26, 2020 · 1 comment · Fixed by #17018
Labels
bug candidate Candidate to be added to the current iteration Team:Platforms Label for the Integrations - Platforms team

Comments

@simianhacker
Copy link
Member

The following visualizations are using sum and derivative together

  • 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

Each of these visualization is taking a sum of kubernetes.apiserver.request.count and then a derivative.

  • If kubernetes.apiserver.request.count IS a counter then you should be using max with the derivative.
  • If kubernetes.apiserver.request.count is NOT a counter and you're trying to produce a rate, you will need to add a cumlative_sum to convert it to a monotonically increasing number then take the derivative of that result; you will also need to provide a unit so that it scales correctly.
  • If it's just a "gauge" and you're trying to display a total count for the bucket, remove the derivative.

I don't have any "actual" data for this metric but based on the field description this appears to be a counter. Either way, I'm confident that sum and derivative are probably wrong.

@exekias exekias added bug candidate Candidate to be added to the current iteration Team:Platforms Label for the Integrations - Platforms team labels Feb 27, 2020
@ChrsMark
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug candidate Candidate to be added to the current iteration Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants