Grafatui
Grafatui is a terminal user interface for Prometheus, inspired by Grafana. It lets you inspect time-series dashboards from a fast, keyboard-driven TUI that works well over SSH and in minimal environments.
Quick Start
Install with Homebrew on macOS or Linux:
Or install the latest prebuilt binary:
Or install from crates.io:
Run against a Prometheus instance:
Or try the included demo:
&& && &&
Features
- Prometheus range and instant queries with async fetching.
- Grafana Classic and fixed-grid V2 Resource JSON import for graph, timeseries, stat, gauge, bar gauge, table, and heatmap panels.
- Template variables, Grafana built-in PromQL variables, legend formatting, thresholds, and grid layout support.
- Grafana timeseries draw styles for lines, points, bars, area fill, hidden axes, and per-panel grid visibility.
- Keyboard-first navigation, panel search, fullscreen mode, mouse selection, and value inspection.
- SVG/PNG export and changed-frame recording bundles.
- TOML configuration and built-in themes.
- Read-only external file or command-backed JSONL point annotations with panel targeting, tag filtering, and navigable cluster details.
Documentation
- User guide
- Installation
- Quick start
- Configuration
- External annotations
- Grafana dashboard import
- Grafana compatibility matrix
- Examples
Rust API documentation is available on docs.rs.
Common Commands
# Import a Grafana dashboard
# Override Grafana template variables
# Use a theme
# Overlay read-only JSONL point events
# Query read-only annotations through a command provider
# Generate shell completions or a man page
Grafana 13 users can import an exact dashboard.grafana.app/v2 JSON resource
with a GridLayout. For advanced V2 dashboards, export Model: Classic
under Export as code → Advanced options instead. See the
dashboard import guide
for the current format requirements.
Contributing
Contributions are welcome. See CONTRIBUTING.md for contribution guidelines and DEVELOPMENT.md for local development notes.
License
Licensed under the Apache License, Version 2.0. See LICENSE for details.
Copyright 2025 Federico D'Ambrosio