From b17e22a0969d6891e6823f95d51bf81ff80526f8 Mon Sep 17 00:00:00 2001 From: "Md. Alif Biswas" Date: Fri, 8 Oct 2021 16:31:44 +0600 Subject: [PATCH] Add fields to MySQL Metrics (#375) Signed-off-by: Md. Alif Biswas --- .../templates/metricsconfig-kubedb-com-mysql.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/kubedb-metrics/templates/metricsconfig-kubedb-com-mysql.yaml b/charts/kubedb-metrics/templates/metricsconfig-kubedb-com-mysql.yaml index eccbc1dd2..3fd0c4276 100644 --- a/charts/kubedb-metrics/templates/metricsconfig-kubedb-com-mysql.yaml +++ b/charts/kubedb-metrics/templates/metricsconfig-kubedb-com-mysql.yaml @@ -60,6 +60,8 @@ spec: help: "MySQL instance information" type: gauge labels: + - key: version + valuePath: .spec.version - key: useAddressType valuePath: .spec.useAddressType - key: storageType