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

RFE: Ability to query cpu seconds metrics #6

Open
afcollins opened this issue Jan 12, 2024 · 0 comments
Open

RFE: Ability to query cpu seconds metrics #6

afcollins opened this issue Jan 12, 2024 · 0 comments
Assignees

Comments

@afcollins
Copy link
Member

afcollins commented Jan 12, 2024

I would like to see the "cpu seconds" counter metrics (added in kube-burner#454) trending over time.

Having all queries from that PR would be good:

* nodeCPUSeconds-Workers
* nodeCPUSeconds-Masters
* nodeCPUSeconds-Infra
* cgroupCPUSeconds-Workers
* cgroupCPUSeconds-Masters
* cgroupCPUSeconds-Infra
* cgroupCPUSeconds-namespaces

It will be helpful having the ability to query a single metric (i.e. a specific namespace of the metric cgroupCPUSeconds-namespaces) AND being able to query a metric and "group by" a field in the metric (i.e. group by "namespace" of cgroupCPUSeconds-namespaces).
The former allows us to track specific components, and the latter allows us to find issues in components we aren't explicitly tracking.

I am able to achieve this grouping vs filtering at the elasticsearch query level through touchstone-comparison (OK, maybe that's not a pure elasticsearch query in that case), like the following:

      {
        "filter": {
          "metricName.keyword": "nodeCPU-AggregatedWorkers"
        },
        "buckets": [
          "labels.mode.keyword"
        ],
...
      },
@shashank-boyapally shashank-boyapally self-assigned this Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants