Filippo Giunchedi has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/395569 )

Change subject: prometheus: add ores redis job
......................................................................

prometheus: add ores redis job

Bug: T148637
Change-Id: Ibf4409be425e79972e655d6af8d683f34afa4bfc
---
M modules/role/manifests/prometheus/ops.pp
1 file changed, 14 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/69/395569/1

diff --git a/modules/role/manifests/prometheus/ops.pp 
b/modules/role/manifests/prometheus/ops.pp
index 8ef5dab..14629a4 100644
--- a/modules/role/manifests/prometheus/ops.pp
+++ b/modules/role/manifests/prometheus/ops.pp
@@ -557,6 +557,14 @@
         ],
         'metric_relabel_configs' => [ $redis_exporter_relabel ],
       },
+      {
+        'job_name'        => 'redis_ores',
+        'scheme'          => 'http',
+        'file_sd_configs' => [
+          { 'files' => [ "${targets_path}/redis_ores_*.yaml" ]}
+        ],
+        'metric_relabel_configs' => [ $redis_exporter_relabel ],
+      },
     ]
 
     prometheus::redis_exporter_config{ "redis_sessions_${::site}":
@@ -583,6 +591,12 @@
         site       => $::site,
     }
 
+    prometheus::redis_exporter_config{ "redis_ores_${::site}":
+        dest       => "${targets_path}/redis_ores_${::site}.yaml",
+        class_name => 'role::ores::redis',
+        site       => $::site,
+    }
+
     $mtail_jobs = [
       {
         'job_name'        => 'mtail',

-- 
To view, visit https://gerrit.wikimedia.org/r/395569
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf4409be425e79972e655d6af8d683f34afa4bfc
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to