timelite is an embedded time-series database and query engine based on Prometheus TSDB. It supports storing Prometheus-format data and PromQL queries, providing a Grafana-like interactive query experience in the terminal.
- Supports PromQL queries with interactive query interface
- Terminal-based visualization without external tools configuration
- Supports storing Panels configurations
go install github.com/timelite/timelite
help [<command>...]
Show help.
query [<flags>]
Query the data in the timeline.
example:
timelite query --config-file="config.json" --storage-path="./storage/tsdb"
tsdb mock
Mock the tsdb data.
tsdb run [<flags>]
Run the tsdb server.
example:
timelite tsdb run --config-file="config.json" --storage-path="./storage/tsdb" --host="0.0.0.0:9090"
- Run the tsdb server
timelite tsdb run --config-file="config.json" --storage-path="./storage/tsdb" --host="0.0.0.0:9090"
- Query the data
timelite query --config-file="config.json" --storage-path="./storage/tsdb"