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

Ability to customise metrics.push_* per-node #134

Open
lewisakura opened this issue Jul 4, 2023 · 0 comments
Open

Ability to customise metrics.push_* per-node #134

lewisakura opened this issue Jul 4, 2023 · 0 comments

Comments

@lewisakura
Copy link

In my use case, I need to set push_system_cpu_sick_above to 1, but only for one node, to essentially ignore the CPU usage as it is expected that it will be very high. The global value, however, means that whenever my node's replicas do work, they are marked as sick on the next probe due to their high resource usage. I would increase the global value, but there are other nodes that are not expected to have this high resource usage and would be misidentified as healthy if they did.

Essentially, what I'm proposing is an override, similar to this:

# rest of config cut for brevity
[metrics]
push_system_cpu_sick_above = 0.7

[[probe.service.node]]
push_system_cpu_sick_above = 1
@lewisakura lewisakura changed the title Ability to customise metrics.push_* per-node Ability to customise metrics.push_* per-node Jul 4, 2023
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

1 participant