Skip to content

Commit

Permalink
deprecation of source_match(_re) and target_match(_re)
Browse files Browse the repository at this point in the history
these settings have been deprecated since 2021

test is done by calling amtool in https://github.com/voxpupuli/puppet-prometheus/blob/master/spec/classes/alertmanager_spec.rb#L172

fixes #697
  • Loading branch information
TheMeier committed May 23, 2024
1 parent b1205f0 commit efa6dc2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ prometheus::alertmanager::global:
'smtp_from': 'alertmanager@localhost'
prometheus::alertmanager::group: 'alertmanager'
prometheus::alertmanager::inhibit_rules:
- 'source_match':
'severity': 'critical'
'target_match':
'severity': 'warning'
- 'source_matchers':
- 'severity = critical'
'target_matchers':
- 'severity = warning'
'equal':
- 'alertname'
- 'cluster'
Expand Down

0 comments on commit efa6dc2

Please sign in to comment.