Support Grafana dashboards for Prometheus
Change-Id: I053e9d93f6feb2026e3fd63b4151d0907764cb92
diff --git a/metadata/service/common.yml b/metadata/service/common.yml
index b02880d..7cb5766 100644
--- a/metadata/service/common.yml
+++ b/metadata/service/common.yml
@@ -1,3 +1,6 @@
+classes:
+- service.kubernetes.logging
+- service.kubernetes.monitoring
parameters:
kubernetes:
common:
diff --git a/metadata/service/control/cluster.yml b/metadata/service/control/cluster.yml
index 0965a11..944de40 100644
--- a/metadata/service/control/cluster.yml
+++ b/metadata/service/control/cluster.yml
@@ -1,8 +1,6 @@
applications:
- kubernetes
-classes:
-- service.kubernetes.logging
parameters:
kubernetes:
control:
- enabled: true
\ No newline at end of file
+ enabled: true
diff --git a/metadata/service/monitoring.yml b/metadata/service/monitoring.yml
new file mode 100644
index 0000000..cbf56a3
--- /dev/null
+++ b/metadata/service/monitoring.yml
@@ -0,0 +1,6 @@
+parameters:
+ kubernetes:
+ common:
+ monitoring:
+ backend: prometheus
+
diff --git a/metadata/service/pool/cluster.yml b/metadata/service/pool/cluster.yml
index cdf145e..7c42e12 100644
--- a/metadata/service/pool/cluster.yml
+++ b/metadata/service/pool/cluster.yml
@@ -1,7 +1,6 @@
applications:
- kubernetes
classes:
-- service.kubernetes.logging
- service.kubernetes.support
- service.kubernetes.common
parameters:
diff --git a/metadata/service/pool/single.yml b/metadata/service/pool/single.yml
index a06e46b..b01a719 100644
--- a/metadata/service/pool/single.yml
+++ b/metadata/service/pool/single.yml
@@ -1,7 +1,6 @@
applications:
- kubernetes
classes:
-- service.kubernetes.logging
- service.kubernetes.support
- service.kubernetes.common
parameters: