So I have a working config renaming the metrics in the job in my main yaml 
file.    Is it possible to put this in file_sd_config file?

    metric_relabel_configs:
# Rewrite the Metric Name pre-pending a new prefix
      - source_labels: [__name__]
        regex: "(^targetmetric_.*)"
        target_label: "__name__"
        replacement: "new_prefix_$1"

-- 
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/aa7850c4-79c1-4395-be0b-7249447423c1o%40googlegroups.com.

Reply via email to