Hi All,
We have a prometheus / grafana server setup to capture metrics from Graylog.
One of the metrics we wanted to capture was disk space which is exposed at http://:9000/api/system/stats/fs
The response is in json which is not supported by prometheus. One option is to use a build a python extractor using a combination of below:-
https://www.robustperception.io/writing-json-exporters-in-python
Whilst this is possibly, I wondered if it would be possible to extend the plugin easily to add the disk space url to the plugin and provide the metrics via that method rather than the python one?
Any thoughts?
Jake