Commit graph

30 commits

Author SHA1 Message Date
Pierre Verkest
f26f0f59ff Bump version: 0.5.1 → 1.0.0 2023-09-06 09:34:46 +02:00
Pierre Verkest
6a4f0715b2 move to prod stable status 2023-09-06 09:34:28 +02:00
Pierre Verkest
d56f8dba6d Allow empty string interface to not call the OPNsense traffic diagnostic REST API endpoint 2023-09-06 09:09:41 +02:00
Pierre Verkest
4fbd6c94c7 remove main_ha_state and backup_ha_state
those metrics have been replaced by opnsense_server_ha_state in v0.5.1
2023-09-04 00:32:02 +02:00
Pierre Verkest
57d2ff9485 Bump version: 0.5.0 → 0.5.1 2023-09-04 00:22:03 +02:00
Pierre Verkest
bea721a275 FIX opnsense_server_ha_state metric
I've forgot to implement the main part calling state() on metric
2023-09-04 00:21:56 +02:00
Pierre Verkest
98f832ec3b Bump version: 0.4.0 → 0.5.0 2023-09-04 00:07:36 +02:00
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
a2a1384e9d Bump version: 0.3.0 → 0.4.0 2023-09-02 02:35:16 +02:00
Pierre Verkest
79c3486305 Increase timeout while getting wan traffic info 2023-09-02 02:35:02 +02:00
Pierre Verkest
6771b39d76 Bump version: 0.2.0 → 0.3.0 2023-09-02 02:17:32 +02:00
Pierre Verkest
384a16e099 update changelog 2023-09-02 02:17:21 +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
564d721d31 Bump version: 0.1.0 → 0.2.0 2023-09-01 18:18:24 +02:00
Pierre Verkest
145e2dc2e3 calling lables metric and unitest chain 2023-09-01 18:18:09 +02:00
Pierre Verkest
422232ce64 Bump version: 0.0.0 → 0.1.0 2023-09-01 17:06:02 +02:00
Pierre Verkest
26c36d7333 setup bump2version 2023-09-01 17:00:58 +02:00
Pierre Verkest
655d2e9689 README: improvemnets 2023-09-01 16:58:12 +02:00
Pierre Verkest
f82898872c add coveragerc 2023-09-01 16:43:49 +02:00
Pierre Verkest
bb66722036 add labels 2023-09-01 16:23:20 +02:00
Pierre Verkest
c5b0262b32 README: add badges 2023-09-01 15:57:07 +02:00
Pierre Verkest
ffdc6517f5 gitlab ci: fix lint and long descriptions 2023-09-01 15:41:11 +02:00
Pierre Verkest
9f757f41b6 gitlab ci: fix coverage key 2023-09-01 14:46:25 +02:00
Pierre Verkest
7c4e819635 naming gitlab ci 2023-09-01 14:44:13 +02:00
Pierre Verkest
c4bdd68d4c first CI setup 2023-09-01 13:55:08 +02:00
Pierre Verkest
9270bc08f0 fix license to apache2
likes prom lib
2023-09-01 13:40:46 +02:00
Pierre Verkest
15bb93d8a4 First implementation 2023-09-01 13:27:55 +02:00