{"repo":"bhope/nomad-state-metrics","free":true,"listed":false,"github":"https://github.com/bhope/nomad-state-metrics","clone":"git clone https://github.com/bhope/nomad-state-metrics.git","description":"Prometheus exporter for Nomad object state metrics.","language":"Go","stars":10,"topics":["distributed-systems","golang","monitoring","nomad","observability"],"license":null,"category":"analytics","readme_excerpt":"nomad-state-metrics Prometheus exporter that generates metrics about the state of Nomad objects. Inspired by kube-state-metrics for Kubernetes. --- Overview Nomad's observability story is split across three layers: Layer Tool What it covers --- --- --- 1 node exporter Host-level metrics: CPU, memory, disk, network 2 Nomad built-in /v1/metrics Nomad process internals: scheduler latency, RPC rates, Raft health 3 nomad-state-metrics Workload object state: job status, allocation health, node readiness The gap this project fills: neither layer 1 nor layer 2 answers questions like \"how many allocations are currently failed?\", \"is this job dead?\", or \"is this node draining?\". nomad-state-metrics polls the Nomad API on a configurable interval, caches the results, and exposes them as Prometheus gauges so your alerting rules can answer these questions without writing custom scripts. The design is directly inspired by kube-state-metrics' philosophy: expose object state as metrics, keep them separate from process and host metrics, and serve them on a dedicated port so scrape configs stay clean. --- Quick Start Binary Metrics are available at http://localhost:9441/metrics . Self-metrics and a health check are available at http://localhost:9442/metrics and http://localhost:9442/healthz . Docker --- Configuration All configuration is via CLI flags. Environment variables supported by the Nomad Go SDK ( NOMAD ADDR , NOMAD TOKEN , NOMAD NAMESPACE , NOMAD TLS ) are also respected. Flag Default ","default_branch":null,"files":null,"tree":[],"storefront":"/r/bhope","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bhope/nomad-state-metrics/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}