Hi Brian, thanks for your reply.

My issue is that the same config file is copied over to a farm of 
collectors, each of them hashing the config. (via scripting). Since I need 
to add a specific parameter to each prometheus node, so that netdata 
exporter knows it which prometheus is hitting it, I can not hard code 
neiter on the DNS record nor on the config file the param, as it needs to 
be unique to each prometheus doing the data collection job on the netdata 
endpoints.

Is there like a built-iin variable / code_convention, that can be used for 
this en on the configuration?

On Wednesday, 19 February 2020 17:27:37 UTC+1, Brian Candler wrote:
>
> > Hi, I'm hitting some Netdata exporters and I need to identify the "name" 
> of my prometheus server on the http requests that collects the metrics.
>
> The prometheus server can add extra labels as part of the scrape.  Some of 
> the service discovery methods have the ability to add labels (e.g. file_sd 
> can do this).  Otherwise you can use relabelling.
>

-- 
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/cabd56a1-ae85-442b-86be-83f6e590decb%40googlegroups.com.

Reply via email to