styx:将数据从Prometheus导出到csv,gnuplot和matplotlib

时间:2021-05-24 08:46:20
【文件属性】:
文件名称:styx:将数据从Prometheus导出到csv,gnuplot和matplotlib
文件大小:923KB
文件格式:ZIP
更新时间:2021-05-24 08:46:20
go csv grafana prometheus matplotlib 止血针 将Prometheus数据导出为CSV或直接使用gnuplot和matplotlib进行绘图。 安装 go get -v -u github.com/go-pluto/styx 如果您只想将Prometheus的数据导出为CSV,则无需安装其他任何东西。 可选依赖项 如果要直接使用gnuplot进行绘图,则需要先安装gnuplot。 gnuplot brew install gnuplot # macOS apt-get install gnuplot # Debian / Ubuntu pacman -S gnuplot # ArchLinux matplotlib pip install matplotlib pip2 install matplotlib # macOS 用法 一旦针,就可以导出数据。 我的建议是,仅当您在Prometheus UI中使用过数据并且知道哪

网友评论