From dcf8048f3f7e63a500ef21eca4d055c529dc5ecd Mon Sep 17 00:00:00 2001 From: Ivo Gosemann Date: Thu, 7 Sep 2023 14:40:10 +0200 Subject: [PATCH] fix(mariadb): metric was renamed fix(mariadb): rename metric in alert mysql_info_schema_threads_seconds > mysql_info_schema_processlist_seconds see https://github.com/prometheus/mysqld_exporter/pull/603 --- common/mariadb/Chart.yaml | 2 +- common/mariadb/templates/alerts/_mysql.alerts.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/mariadb/Chart.yaml b/common/mariadb/Chart.yaml index 457b67b45fb..9837b82ed3c 100644 --- a/common/mariadb/Chart.yaml +++ b/common/mariadb/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v1 description: A Helm chart for Kubernetes name: mariadb -version: 0.7.13 +version: 0.7.14 diff --git a/common/mariadb/templates/alerts/_mysql.alerts.tpl b/common/mariadb/templates/alerts/_mysql.alerts.tpl index 62b92e5f0a2..9789a0907fe 100644 --- a/common/mariadb/templates/alerts/_mysql.alerts.tpl +++ b/common/mariadb/templates/alerts/_mysql.alerts.tpl @@ -28,7 +28,7 @@ summary: {{ include "fullName" . }} reports slow queries. - alert: {{ include "alerts.service" . | title }}MariaDBWaitingForLock - expr: (mysql_info_schema_threads_seconds{app=~"{{ include "fullName" . }}", state=~"waiting for lock"} / 1000 > 15) + expr: (mysql_info_schema_processlist_seconds{app=~"{{ include "fullName" . }}", state=~"waiting for lock"} / 1000 > 15) for: 10m labels: context: database