i have the folling configuretion:
- job_name: "sql_exporter"
scrape_interval: 1m
metrics_path: /metrics
static_configs:
- targets: ["127.0.0.1:9237"]
labels:
instance: "sql_exporter"
metric_relabel_configs:
- action: replace
source_labels: [col]
target_label: __name__
replacement: "${1}"
separator: ""
i want to change the "col" label to metric name .
it does not put "col" label as the name of the metric and it willl
completely remove the metric. what is the issue here?
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/ed3a7f3d-dcf4-4c9e-a0b4-3f4566a706can%40googlegroups.com.