Skip to content

Make it possible to truncate files#43

Open
mvdboogaard wants to merge 2 commits intocha87de:masterfrom
mvdboogaard:master
Open

Make it possible to truncate files#43
mvdboogaard wants to merge 2 commits intocha87de:masterfrom
mvdboogaard:master

Conversation

@mvdboogaard
Copy link

We want to have the kvmtop data in Prometheus and not the setup with Logstash and Influxdb. Therefor we need to have a json file which only has the latest results.
With adding the parameter --targettruncate we can truncate the target file (only for the file option) on every run. This means we can use this json file with the json_exporter for Prometheus.

mvandenboogaard-tilaa and others added 2 commits March 18, 2021 07:10
This way you can add this data to Prometheus together with the JSON exporter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants