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.
- Host: GitHub
- URL: https://github.com/macropower/prometheus_ascii
- Owner: MacroPower
- License: gpl-2.0
- Created: 2020-07-31T20:01:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-17T21:27:32.000Z (almost 6 years ago)
- Last Synced: 2025-04-11T03:38:04.768Z (about 1 year ago)
- Topics: ascii, ascii-art, ascii-graphics, prometheus, prometheus-client, prometheus-metrics
- Language: Go
- Homepage:
- Size: 1.56 MB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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]))
```