Commit graph

8 commits

Author SHA1 Message Date
Pierre Verkest
76b1338ae6 Create opnsense_server_ha_state metric
in order to replace
 and  that will be removed
in version 1.0.0.

Also use Enum to store possible OPNsense HA states to avoid typo
2023-09-04 00:06:17 +02:00
Pierre Verkest
7501a0d9b8 Allow to monitor multiple interfaces 2023-09-03 23:38:34 +02:00
Pierre Verkest
334be5b4c2 refactor create OPNSensePrometheusExporter class
goals is to avoid to transmit all params over sub calls
2023-09-03 22:08:24 +02:00
Pierre Verkest
091ee429f1 Add role label in metrics
I expecte to refactor and merge metrics together so
later those labels will be required
2023-09-03 21:52:19 +02:00
Pierre Verkest
65179c8b45 use proper api endpoint to compute rate trafic on wan interface 2023-09-02 02:16:27 +02:00
Pierre Verkest
145e2dc2e3 calling lables metric and unitest chain 2023-09-01 18:18:09 +02:00
Pierre Verkest
bb66722036 add labels 2023-09-01 16:23:20 +02:00
Pierre Verkest
15bb93d8a4 First implementation 2023-09-01 13:27:55 +02:00