Skip to content

Instantly share code, notes, and snippets.

@eunomie
Last active July 30, 2019 13:15
Show Gist options
  • Save eunomie/6226fa68b357700cc6c019b42b934478 to your computer and use it in GitHub Desktop.
Save eunomie/6226fa68b357700cc6c019b42b934478 to your computer and use it in GitHub Desktop.
{
"service": {
"name": "node-exporter",
"port": 9100
}
}
scrape_configs:
- job_name: services
metrics_path: /metrics
scheme: http
consul_sd_configs:
- server: "consul.service.consul:8500"
scheme: "http"
tag: "metrics"
scrape_configs:
- job_name: services
metrics_path: /metrics
scheme: http
consul_sd_configs:
- server: "consul.service.consul:8500"
scheme: "http"
services:
- node-exporter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment