mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
add prometheus metrics for configuration with consul and nomad
This commit is contained in:
14
integrations/prometheus/prometheus.yml
Normal file
14
integrations/prometheus/prometheus.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
global:
|
||||
external_labels:
|
||||
monitor: 'codelab-monitor'
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'nomad_data'
|
||||
|
||||
consul_sd_configs:
|
||||
- server: 'localhost:8500'
|
||||
services: ['nomad-client', 'nomad-server-nomad']
|
||||
|
||||
scrape_interval: 5s
|
||||
metrics_path: /metrics
|
||||
|
||||
Reference in New Issue
Block a user