go-pluto / styx

Export Data from Prometheus to csv, gnuplot & matplotlib
https://speakerdeck.com/metalmatze/prometheus-styx
MIT License
99 stars 24 forks source link

strips off subpath in --prometheus #8

Closed jelmer closed 4 years ago

jelmer commented 4 years ago

When appending the API subpath to the --prometheus URL, styx discards any path that may already be present.

This breaks e.g. when querying prometheus servers that are not served at the root, but at /prometheus/.