From 4cbdce03bb424f3a8e83380e6751658885b9bf8a Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 15 Apr 2024 16:18:41 +0800 Subject: [PATCH] add prod prom --- prod-upgrade/prom/{mysqld-exporter.yaml => mysql-exporter.yaml} | 0 prod-upgrade/prom/prometheus.yaml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename prod-upgrade/prom/{mysqld-exporter.yaml => mysql-exporter.yaml} (100%) diff --git a/prod-upgrade/prom/mysqld-exporter.yaml b/prod-upgrade/prom/mysql-exporter.yaml similarity index 100% rename from prod-upgrade/prom/mysqld-exporter.yaml rename to prod-upgrade/prom/mysql-exporter.yaml diff --git a/prod-upgrade/prom/prometheus.yaml b/prod-upgrade/prom/prometheus.yaml index 9c208e1..b73b289 100644 --- a/prod-upgrade/prom/prometheus.yaml +++ b/prod-upgrade/prom/prometheus.yaml @@ -24,7 +24,7 @@ data: - source_labels: [__param_target] target_label: instance - target_label: __address__ - replacement: mysqld-exporter.base.svc:9104 + replacement: mysql-exporter.base.svc:9104 rule_files: - /etc/prometheus/rules/rule-0.yaml alerting: