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

prometheus-node-exporter-lua remove zero values #24016

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NoctivagusObitus
Copy link

depending on the configuration there may be multiple interfaces creating multiple time series always
reporting 0 value. omiting them from the export saves resources. most notably cpu.

  • remove time series with value of zero
  • make 'omit_zero_values' configurable
  • formating accoding to shfmt and stylua

Signed-off-by: Markus Hube [email protected]

depending on the configuration there may be multiple
interfaces creating multiple time series always
reporting 0 value. omiting them from the export saves
resources. most notably cpu.

- remove time series with value of zero
- make 'omit_zero_values' configurable
- formating accoding to shfmt and stylua

Signed-off-by: Markus Hube <[email protected]>
@NoctivagusObitus NoctivagusObitus force-pushed the feature_omit_zero_export branch from 237bf36 to bb6ae04 Compare August 5, 2024 07:19
@NoctivagusObitus
Copy link
Author

@champtar may I kindly ask if you could have a look at this? I would be happy to change the pull request given you have concerns.

@rwrnet
Copy link

rwrnet commented Feb 18, 2025

@champtar has this any chance to be merged? Like to have this option too.

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

Successfully merging this pull request may close these issues.

3 participants