Hello,

I just changed my prometheus config to relabel metrics before storing them 
on the disk.

However I would like to rename instance name (from simple name to FQDN) in 
the metrics already saved by prometheus on the disk.

I assume that I need to use promQL with the prometheus editor but I didn't 
find on internet the good query to execute.

*Example:*

*Rename this:*
node_timex_frequency_adjustment_ratio{address="XX.XX.XX.XX", instance=
"consul:9100", job="consul", service="node-exporter"}

*Into this:*
node_timex_frequency_adjustment_ratio{address="XX.XX.XX.XX", instance=
"consul:9100", job="consul.toto.com", service="node-exporter"}

Thanks.

-- 
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/ad859585-785e-48e1-9241-94c43f5d9183n%40googlegroups.com.

Reply via email to