prometheus_ascii

command module
v0.0.0-...-d119ccc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2020 License: GPL-2.0 Imports: 15 Imported by: 0

README

prometheus_ascii

Prometheus client that outputs ASCII graphs

Usage

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

Output

  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]))

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL