Closed chrisjohnson00 closed 6 years ago
the following job titles wouldn't pull data until I applied this updated json
[
{
"targets": [ "localhost:9100" ],
"labels": {
"job": "nfs1"
}
}
]
Hi,
Actually I can use any hostname with the current json, for example, in the "prometheus.yml" I have working this:
- job_name: 'node'
static_configs:
- targets:
- web1.prod.server:9100
- web2.prod.server:9100
- web1.dev.server:9100
Thanks,
your call, but any non node
job name doesn't work without this. i think it would work either way with the change
If the host name is not
node
the graph wouldn't get data, with this fix you can use nonnode
named hosts. Thanks @lborguetti