// the find
slok/grafterm
Metrics dashboards on terminal (a grafana inspired terminal version)
Grafterm renders Prometheus/Graphite metrics dashboards in the terminal using JSON config files that mirror Grafana's dashboard model. Single binary, no dependencies. For ops people who want a quick metrics glance without opening a browser or for environments where a browser isn't available.
1. The datasource override/alias system is well thought out — you can ship a dashboard JSON with a default datasource and let each user point it at their own endpoint without editing the file. 2. Layered config resolution (explicit flag → env var → home directory) is the right pattern for a CLI tool. 3. Built on termdash which handles the terminal rendering properly; they didn't roll their own TUI primitives. 4. InfluxDB, Prometheus, and Graphite datasources included, and the interface is narrow enough that adding a new one is a real PR not a rewrite.
1. Last commit was 2022 — this is effectively unmaintained. Go dependency graph is frozen in time and the termdash renderer it depends on has since moved on. 2. Only three widget types (graph, singlestat, gauge) — no table, no heatmap, no logs panel. Fine for simple dashboards but you'll hit the ceiling fast on anything real. 3. No alerting or threshold annotations — it's display-only, so you're staring at it manually rather than getting notified when something spikes. 4. The JSON dashboard format is custom and not compatible with actual Grafana dashboard JSON, so you can't import your existing dashboards; you have to re-author them.