Nomad Cluster
4,280

Created 5/27/2018
Updated 5/27/2018
Revision 1
Categories
DockerHost Metrics
Grafana Version >=5.1.2
Datasources
Prometheus

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
Get Dashboard
Download
Copy to Clipboard
Source Grafana.com

Used Metrics 20

  • nomad_client_unallocated_cpu

  • nomad_client_allocated_cpu

  • nomad_client_unallocated_memory

  • nomad_client_allocated_memory

  • nomad_client_unallocated_disk

  • nomad_client_allocated_disk

  • nomad_client_allocations_migrating

  • nomad_client_allocations_blocked

  • nomad_client_allocations_pending

  • nomad_client_allocations_running

  • nomad_client_allocations_terminal

  • nomad_client_uptime

  • nomad_client_host_cpu_idle

  • nomad_client_host_memory_total

  • nomad_client_host_memory_free

  • nomad_client_host_memory_used

  • nomad_client_host_memory_available

  • nomad_client_host_disk_size

  • nomad_client_host_disk_available

  • nomad_client_host_disk_inodes_percent