mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
fixups from code review
This commit is contained in:
@@ -7,5 +7,6 @@ Requirements:
|
||||
- See Prometheus's
|
||||
[Getting Started](https://prometheus.io/docs/introduction/getting_started/)
|
||||
guide for instructions on how to set up a Prometheus server.
|
||||
- A running Consul server, which will need to be added to this configuration
|
||||
file.
|
||||
- A running Consul server. This configuration is written for a local remote
|
||||
Consul agent, and will need to be updated in the case Consul agent is on a
|
||||
remote server.
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
global:
|
||||
external_labels:
|
||||
monitor: 'codelab-monitor'
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'nomad_data'
|
||||
- job_name: 'nomad_metrics'
|
||||
|
||||
consul_sd_configs:
|
||||
- server: 'localhost:8500'
|
||||
@@ -18,5 +14,3 @@ scrape_configs:
|
||||
metrics_path: /v1/metrics
|
||||
params:
|
||||
format: ['prometheus']
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user