Skip to content

Commit 80a4c64

Browse files
committed
fix(prometheus): Remove redundant code
1 parent 7ec29a5 commit 80a4c64

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

addons/prometheus/2/chart/prometheus/templates/_scrape_config.tpl

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -282,20 +282,4 @@ relabel_configs:
282282
target_label: node
283283
{{- end -}}
284284

285-
{{- define "addons.mysql-metrics" -}}
286-
honor_labels: true
287-
kubernetes_sd_configs:
288-
- role: endpoints
289-
namespaces:
290-
own_namespace: true
291-
names:
292-
- {{ include "common.names.namespace" .context }}
293-
params:
294-
collect[]:
295-
- informationSchema.processlist
296-
- performanceSchema.replication_group_members
297-
- performanceSchema.replication_group_member_stats
298-
- performanceSchema.replication_applier_status_by_worker
299-
- auto_increment.columns
300-
- binlog_size
301285

0 commit comments

Comments
 (0)