dsc-datatool |
--output ";Prometheus;<options...>" |
This output generates Prometheus importable output to stdout or to a specified file.
This output can be used together with Prometheus' node_exporter's Textfile Collector to automate statistics gathering but some specific setup and requirements must be meet.
You must hide the timestamp with option timestamp=hide because timestamps are not supported by the Textfile Collector.
You must make sure only one XML file from a server+node combination is processed at a time. Because otherwise you will get multiple data point for the same metric and this will generate errors from the Textfile Collector, since it does not support timestamps and cannot separate the measurements.
You must make sure that only one file (per server+node combo) is generated for the Textfile Collector to read, and it should be the same between runs. See Textfile Collectors documentation how to setup that atomically.
Default to start timestamp.
https://prometheus.io/docs/guides/node-exporter/
https://github.com/prometheus/node_exporter#textfile-collector
Jerry Lundström, DNS-OARC
Maintained by DNS-OARC
For issues and feature requests please use:
For question and help please use: