qvl / promplot

Create plots from Prometheus metrics and send them to you
https://qvl.io/promplot
MIT License
138 stars 11 forks source link

Support multiple queries #20

Closed jorinvo closed 7 years ago

jorinvo commented 7 years ago

The -query argument should allow to pass multiple queries. The queries in the argument string should be separated by semicolons. Same for -title. The resulting graphs should be combined in a tiled image.

Example:

promplot -url $promurl -channel stats -slack $slacktoken -range 24h \
  -title "Free memory in MB; Free disk space in GB; Open file descriptors" \
  -query "node_memory_MemFree /1024 /1024; node_filesystem_free /1024 /1024 /1024; process_open_fds"
jorinvo commented 7 years ago

Can't come up with a pretty solution. Closing it for now.