Open olegbilovus opened 2 months ago
By default Prometheus enables OpenMetrics which adds quite a lot of metrics about the used resources and such metrics may not be desirable and create more network traffic.
If anyone would like to disable it, you have to edit the main.go and rebuild.
Here an example of how to add a new flag to enable and disable the OpenMetrics: https://github.com/olegbilovus/apcupsd_exporter/commit/0c8bab41a2dc24f90b3199e459be0cf8af5a100d
By default Prometheus enables OpenMetrics which adds quite a lot of metrics about the used resources and such metrics may not be desirable and create more network traffic.
If anyone would like to disable it, you have to edit the main.go and rebuild.
Here an example of how to add a new flag to enable and disable the OpenMetrics: https://github.com/olegbilovus/apcupsd_exporter/commit/0c8bab41a2dc24f90b3199e459be0cf8af5a100d