I need to export some custom metrics generated by a script under Windows.
Under Linux, I am already doing it, based on Robust Perception / Brian Brazil article :
The node exporter includes many metrics out of the box, it can't possibly cover all use cases though. That's where the textfile collector comes in, allowing you to extend machine instrumentation for your use case. read more
Unfortunately wmi-exporter doesn't seem to have similar feature.