Nomad Cluster

Dashboard

Nomad built-in telemetry https://github.com/dereknex/nomad-grafana
Last updated: a year ago

Downloads: 106

Reviews: 0

  • Screen Shot 2018-05-27 at 2.27.32 PM.png
    Screen Shot 2018-05-27 at 2.27.32 PM.png
  • Screen Shot 2018-05-27 at 2.27.21 PM.png
    Screen Shot 2018-05-27 at 2.27.21 PM.png

Prometheus Job :

- job_name: nomad_metrics
  params:
    format:
    - prometheus
  scrape_interval: 5s
  scrape_timeout: 5s
  metrics_path: /v1/metrics
  scheme: https
  consul_sd_configs:
  - server: <consul_addr>
    token: <secret>
    datacenter: <dc>
    tag_separator: ','
    scheme: http
    services:
    - nomad-client
    - nomad
  bearer_token: <secret>
  tls_config:
    insecure_skip_verify: true
  relabel_configs:
  - source_labels: [__meta_consul_tags]
    separator: ;
    regex: (.*)http(.*)
    replacement: $1
    action: keep
  - source_labels: [__meta_consul_address]
    separator: ;
    regex: (.*)
    target_label: __meta_consul_service_address
    replacement: $1
    action: replace