-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Switch CPU from field to tag in Interrupts input plugin #4999
Comments
Can you show an example of the new layout in line protocol: |
Sure, here you go:
|
@phemmer @calerogers This seems like an improvement to me, do you agree? |
I suppose it depends on your objective. If you're interested in per-interrupt metrics, you now have to sum all the series together. The only change I would encourage is to prefix the cpu names with |
@phemmer agreed on preserving consistency, can change that. As you noted, per-irq metrics are still available through aggregation on the data store or visualization level. |
@danielnelson PR submitted. What's the workflow from here? Sorry, I'm not familiar with telegraf's SDLC. |
Just leave this issue open and I replied over on the PR. |
Currently the inputs.interrupts plugin uses fields to store interrupt counters. This prevents users from grouping, filtering, discriminating and otherwise manipulating data that tags are normally used for.
For example in Grafana you won't be able to filter by chosen CPUs simply because they are fields not tags.
I propose changing CPU from field to a tag and introducing COUNT field.
The required change here is very simple and I have a PR ready if you're interested.
The text was updated successfully, but these errors were encountered: