That's the "job" label.  It's added automatically by prometheus, and is set 
to the name of the scrape job which collected the metric, as documented 
here:
https://prometheus.io/docs/concepts/jobs_instances/

You should leave it alone.  It's a true piece of information (i.e. the name 
of the actual scrape job which collected the data), and together with the 
instance label, it helps ensure that all metrics have unique sets of labels.

However, you *can* customize the instance label - prometheus only adds the 
default address:port label if you haven't set it to anything else 
explicitly.  See:
https://www.robustperception.io/controlling-the-instance-label
You have to ensure that whatever value you chose is sufficiently unique, 
i.e. all timeseries for the same metric have different instance labels.

-- 
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/d9791aba-1a36-4fa2-86c5-6cb0844ed0fdo%40googlegroups.com.

Reply via email to