Filippo Giunchedi has submitted this change and it was merged. ( 
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(-)

Approvals:
  Alexandros Kosiaris: Looks good to me, but someone else must approve
  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 bd49b03..50baa95 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: merged
Gerrit-Change-Id: Ibf4409be425e79972e655d6af8d683f34afa4bfc
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to