Modify the service name.
This commit is contained in:
parent
9392614652
commit
b814e759af
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"service": {
|
||||
"name": "filestat_exporter",
|
||||
"name": "filestat-exporter",
|
||||
"port": 60000
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"service": {
|
||||
"name": "node_exporter",
|
||||
"name": "node-exporter",
|
||||
"port": 60000
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ scrape_configs:
|
|||
consul_sd_configs:
|
||||
- server: 'localhost:8500'
|
||||
services:
|
||||
- 'node_exporter'
|
||||
- 'node-exporter'
|
||||
|
||||
- job_name: 'filestat'
|
||||
metrics_path: /filestat_exporter/metrics
|
||||
|
@ -58,7 +58,7 @@ scrape_configs:
|
|||
consul_sd_configs:
|
||||
- server: 'localhost:8500'
|
||||
services:
|
||||
- 'filestat_exporter'
|
||||
- 'filestat-exporter'
|
||||
|
||||
- job_name: 'grafana'
|
||||
consul_sd_configs:
|
||||
|
|
Loading…
Reference in New Issue