Skip to content

Embedded Prometheus TSDB with PromQL query and visualization in terminal

Notifications You must be signed in to change notification settings

jyz0309/timelite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timelite(WIP)

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.

demo

demo

Features

  • Supports PromQL queries with interactive query interface
  • Terminal-based visualization without external tools configuration
  • Supports storing Panels configurations

Installation

go install github.com/timelite/timelite

Commands:

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"

Usage

  1. Run the tsdb server
timelite tsdb run --config-file="config.json" --storage-path="./storage/tsdb" --host="0.0.0.0:9090"
  1. Query the data
timelite query --config-file="config.json" --storage-path="./storage/tsdb"

About

Embedded Prometheus TSDB with PromQL query and visualization in terminal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages