An open API service indexing awesome lists of open source software.

https://github.com/macropower/prometheus_ascii

Experimental Prometheus client that outputs ASCII graphs.
https://github.com/macropower/prometheus_ascii

ascii ascii-art ascii-graphics prometheus prometheus-client prometheus-metrics

Last synced: 8 months ago
JSON representation

Experimental Prometheus client that outputs ASCII graphs.

Awesome Lists containing this project

README

          

# prometheus_ascii
Prometheus client that outputs ASCII graphs

## Usage

```
$ ./prometheus_ascii --prometheus.query="sum(increase(wakatime_seconds_total[1h]))"
```

## Output

```text
1.2 hr ┼ ╭╮
1.1 hr ┤ ││ ╭╮
56 min ┤ ││ ╭──╮ ╭╮ ││
49 min ┤ ││ │ │ ││ ╭╯│
42 min ┤ ││ ╭╯ │ │╰─╯ ╰
35 min ┤ ╭╯╰╮ │ ╰─╯
28 min ┤ ╭╮ │ │ │
21 min ┤ ╭╯│ ╭─╮ │ │ │
14 min ┤ │ │ │ ╰╮│ │ ╭╯
7 min ┤ ╭╯ ╰╮╭╯ ╰╯ │ │
0 ms ┼────────────────────╯ ╰╯ ╰──────────────────╯
sum(increase(wakatime_seconds_total[1h]))
```