Add docker prometheus alerts
Change-Id: I1fb242c2423d6823b0302c906bd14b882702b811
diff --git a/docker/meta/prometheus.yml b/docker/meta/prometheus.yml
new file mode 100644
index 0000000..9ff54a4
--- /dev/null
+++ b/docker/meta/prometheus.yml
@@ -0,0 +1,13 @@
+server:
+ alert:
+ ProcstatRunningDockerd:
+ if: >-
+ procstat_running{process_name="dockerd"} == 0
+ {% raw %}
+ labels:
+ severity: warning
+ service: docker
+ annotations:
+ summary: 'Dockerd service is down'
+ description: 'Dockerd service is down on node {{ $labels.host }}'
+ {% endraw %}
diff --git a/metadata/service/support.yml b/metadata/service/support.yml
index a90412e..a1c25d8 100644
--- a/metadata/service/support.yml
+++ b/metadata/service/support.yml
@@ -13,3 +13,5 @@
enabled: false
sphinx:
enabled: true
+ prometheus:
+ enabled: true