Modify the service name.

This commit is contained in:
Kazuhiro MUSASHI 2020-09-27 18:25:19 +09:00
parent 9392614652
commit b814e759af
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"service": {
"name": "filestat_exporter",
"name": "filestat-exporter",
"port": 60000
}
}

View File

@ -1,6 +1,6 @@
{
"service": {
"name": "node_exporter",
"name": "node-exporter",
"port": 60000
}
}

View File

@ -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: