https://github.com/burdandrei/nomad-monitoring
Monitoring Nomad using InfluxDB, Telegraf and Grafana
https://github.com/burdandrei/nomad-monitoring
grafana influxdb nomad prometheus telegraf
Last synced: about 2 months ago
JSON representation
Monitoring Nomad using InfluxDB, Telegraf and Grafana
- Host: GitHub
- URL: https://github.com/burdandrei/nomad-monitoring
- Owner: burdandrei
- License: mit
- Created: 2018-04-10T08:53:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T21:16:52.000Z (over 4 years ago)
- Last Synced: 2024-04-03T20:11:46.449Z (over 1 year ago)
- Topics: grafana, influxdb, nomad, prometheus, telegraf
- Homepage:
- Size: 21.5 KB
- Stars: 30
- Watchers: 1
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nomad - burdandrei/nomad-monitoring - A project for monitoring HashiCorp Nomad clusters using InfluxDB, Telegraf, and Grafana with Prometheus metrics telemetry. (Infrastructure setup / Monitoring and Logging)
README
# Monitoring Nomad with InfluxDB
This tutorial walks you through setting up Nomad monitoring pipeline using Prometheus publisher, Telegraf metrics collector, InfluxDB as time series database and Grafana for visualisation.
# Metrics Flow
`Nomad` -> `Telegraf` -> `InfluxDB`
# Configs
- Nomad
* Telemetry should be enabled with Prometheus metrics:
```hcl
telemetry {
publish_allocation_metrics = true
publish_node_metrics = true
prometheus_metrics = true
}
```
- Telegraf
* Prometheus input:
```TOML
[[inputs.prometheus]]
urls = ["http://{{NOMAD_NODE_ADDRESS}}:4646/v1/metrics?format=prometheus"]
```
- Grafana dashboards
* [Grafana.com Dashbords](https://grafana.com/dashboards?dataSource=influxdb&collector=Telegraf&search=nomad)
* [Example Nomad jobs with pre-configured data sources and dashboards](https://github.com/burdandrei/nomad-monitoring/tree/master/examples/jobs/grafana.nomad)