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

[IMPROVE] Add duration threshold to zookeeper detectors #540

Open
freezeeedos opened this issue Jan 2, 2024 · 0 comments
Open

[IMPROVE] Add duration threshold to zookeeper detectors #540

freezeeedos opened this issue Jan 2, 2024 · 0 comments
Assignees
Labels
detectors About nex or existing detectors enhancement Enhancement of existing (templating or detectors)

Comments

@freezeeedos
Copy link
Contributor

What is the module?
smart-agent_zookeeper

What is the detector?
zookeeper health

Is your improvement related to a known monitoring limitations? Please describe.
Currently, there is not duration parameter for the alert threshold

Describe the solution you'd like
Add a new variable, something like zookeeper_health_duration_threshold to the signal flow

Files that would be affected:

modules/smart-agent_zookeeper/detectors-zookeeper.tf

modules/smart-agent_zookeeper/variables.tf

Final result would be something like:
detect(when(signal != 1, lasting = '15m')).publish('CRIT')

This could be applied to the latency detector as well

@freezeeedos freezeeedos added enhancement Enhancement of existing (templating or detectors) detectors About nex or existing detectors labels Jan 2, 2024
@freezeeedos freezeeedos self-assigned this Jan 3, 2024
@souBel souBel self-assigned this Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detectors About nex or existing detectors enhancement Enhancement of existing (templating or detectors)
Projects
None yet
Development

No branches or pull requests

2 participants