[MediaWiki-commits] [Gerrit] operations/puppet[production]: prometheus: fix relabeling for redis jobs
Filippo Giunchedi has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/392407 ) Change subject: prometheus: fix relabeling for redis jobs .. prometheus: fix relabeling for redis jobs Bug: T148637 Change-Id: If1b2ca9c8fc61e4ae9a8fb3f504778c1347e623e --- M modules/role/manifests/prometheus/ops.pp 1 file changed, 2 insertions(+), 5 deletions(-) Approvals: jenkins-bot: Verified Filippo Giunchedi: Looks good to me, approved diff --git a/modules/role/manifests/prometheus/ops.pp b/modules/role/manifests/prometheus/ops.pp index a887dce..451961e 100644 --- a/modules/role/manifests/prometheus/ops.pp +++ b/modules/role/manifests/prometheus/ops.pp @@ -527,11 +527,8 @@ # redis_exporter runs alongside each redis instance, thus drop the (uninteresting in this # case) 'addr' and 'alias' labels 'metric_relabel_configs' => [ - { 'source_labels' => ['addr'], -'action'=> 'labeldrop', - }, - { 'source_labels' => ['alias'], -'action'=> 'labeldrop', + { 'regex' => '(addr|alias)', +'action' => 'labeldrop', }, ], }, -- To view, visit https://gerrit.wikimedia.org/r/392407 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If1b2ca9c8fc61e4ae9a8fb3f504778c1347e623e Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Filippo GiunchediGerrit-Reviewer: Filippo Giunchedi Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] operations/puppet[production]: prometheus: fix relabeling for redis jobs
Filippo Giunchedi has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/392407 ) Change subject: prometheus: fix relabeling for redis jobs .. prometheus: fix relabeling for redis jobs Bug: T148637 Change-Id: If1b2ca9c8fc61e4ae9a8fb3f504778c1347e623e --- M modules/role/manifests/prometheus/ops.pp 1 file changed, 2 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/07/392407/1 diff --git a/modules/role/manifests/prometheus/ops.pp b/modules/role/manifests/prometheus/ops.pp index f2c9ed5..f73a933 100644 --- a/modules/role/manifests/prometheus/ops.pp +++ b/modules/role/manifests/prometheus/ops.pp @@ -527,11 +527,8 @@ # redis_exporter runs alongside each redis instance, thus drop the (uninteresting in this # case) 'addr' and 'alias' labels 'metric_relabel_configs' => [ - { 'source_labels' => ['addr'], -'action'=> 'labeldrop', - }, - { 'source_labels' => ['alias'], -'action'=> 'labeldrop', + { 'regex' => '(addr|alias)', +'action' => 'labeldrop', }, ], }, -- To view, visit https://gerrit.wikimedia.org/r/392407 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If1b2ca9c8fc61e4ae9a8fb3f504778c1347e623e Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Filippo Giunchedi___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits