greenpau / ovs_exporter

Prometheus Exporter for Open Virtual Switch (OVS)
Apache License 2.0
25 stars 17 forks source link

How to output metrics to file instead of tcp port? #13

Closed owenstake closed 9 months ago

owenstake commented 9 months ago

I want to output metrics to file, not localhost:9475/metrics. Is there a config flag to achieve this?

greenpau commented 9 months ago

No. But you could write a script to get the metrics from localhost:9475/metrics and output it to a file of your choice.

owenstake commented 9 months ago

@greenpau Tks for your suggest