Skip to content

[IMPROVE] Detector smart-agent_haproxy #406

@dkmatt0

Description

@dkmatt0

What is the module?
https://github.com/claranet/terraform-signalfx-detectors/blob/master/modules/smart-agent_haproxy

What is the detector?
all detector in the module

Is your improvement related to a known monitoring limitations? Please describe.
Impossible to customize the command when (with a lasting_duration per example)

Describe the solution you'd like
Add variables in "when" command like this :

detect(when(signal > ${var.latency_threshold_critical}, lasting=%{if var.latency_lasting_duration_critical == null}None%{else}'${var.latency_lasting_duration_critical}'%{endif}, at_least=${var.latency_at_least_percentage_critical})).publish('CRIT')

Metadata

Metadata

Assignees

No one assigned

    Labels

    detectorsAbout nex or existing detectorsenhancementEnhancement of existing (templating or detectors)templatingAbout modules templating or terraform capabilities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions