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.
I need to make something of the form:
```
- job_name: 'netdata'
metrics_path: '/api/v1/allmetrics'
scheme: 'http'
params:
....
name:
- prometheus_server_name_without_domain OR md5(fqdn)
...
```
where I need the prometheus server to resolve its fqdn and run a function on it.
Note that the same configuration file is deployed all servers in a farm of prometheus nodes (collectors), where metrics are being hashed and dropped/kept accordingly, hence the need for the server itself to know its name when parsing the job and being able to operate with it on the params section (as opposed to manually type in a static value for each server/configuration file).
Is this possible?
can a prometheus node identify an internal variable on de params declaration of a job; and use a fuction to obfuscate it ?
Thanks in advance