Skip to content

[Feature]: filter for labels like severity / silences are ignored #111

@mattttv

Description

@mattttv

Describe the feature request

Hi Guys!

first of all - thanks netways for this nice piece of monitoring software!

silences

I was wondering if there is any way to respect silences inside the alertmanager that is used by openshift.

include/exclude labels

Overmore we are trying to replace signalilo and therefore we are wondering if there could be way to monitor for labels like severity.

Although I have seen the parameter --group it does not seem that labels are used for grouping alerts.

By having a new parameter we could create different icinga-services that would filter for different labels (e.g. based on severity). It would be best if there could be a white and blacklist. Given the fact that prometheusrules could have arbitrary labels I propose two new repeatable parameters that can take labels and values

for instance --include-flag --exclude-flag
check_prometheus --include-flag severity=warning .. only show checks with severity = warning
check_prometheus --exclude-flag mylabel=foobar .. do not show checks with label mylabel=foobar

Thanks in advance,
Matt

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions