You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest, accurate metrics for each collector can be viewed by accessing the corresponding test file located at `collectors/name_collector_test.go`. In this file, the `nameExpectedMetrics()` function provides users with a structured way to examine the expected metrics associated with each collector.
38
-
- Change `name` with actual collectors name.
37
+
38
+
### License Collector
39
+
Metric | Type | Description | Labels
40
+
-------|------|-------------|-------
41
+
wanguard_license_software_version | gauge | Software version | software_version
42
+
wanguard_license_sensors_available | gauge | Licensed sensors available |
43
+
wanguard_license_sensors_used | gauge | Licensed sensors used |
wanguard_action_status | gauge | Status of the response actions | action_name, action_type, response_branch, response_name
103
+
104
+
Example:
105
+
```
106
+
wanguard_action_status{action_name="Action 1",action_type="Send a custom Syslog message",response_branch="When an anomaly is detected",response_name="Response 1"} 1
107
+
```
108
+
109
+
### Sensors Collector
110
+
Metric | Type | Description | Labels
111
+
-------|------|-------------|-------
112
+
wanguard_sensor_internal_ips | gauge | Total number of internal ip addresses | sensor_id, sensor_name
113
+
wanguard_sensor_external_ips | gauge | Total number of external ip addresses | sensor_id, sensor_name
114
+
wanguard_sensor_packets_per_second_in | gauge | Incoming packets per second | sensor_id, sensor_name
115
+
wanguard_sensor_packets_per_second_out | gauge | Outgoing packets per second | sensor_id, sensor_name
116
+
wanguard_sensor_bytes_per_second_in | gauge | Incoming bytes per second | sensor_id, sensor_name
117
+
wanguard_sensor_bytes_per_second_out | gauge | Outgoing bytes per second | sensor_id, sensor_name
118
+
wanguard_sensor_dropped_in | gauge | Total number of dropped packets in | sensor_id, sensor_name
119
+
wanguard_sensor_dropped_out | gauge | Total number of dropped packets out | sensor_id, sensor_name
wanguard_firewall_rules_active | gauge | Active firewall rules at the moment | attack_id, bits, bits_s, destination_prefix, from, ip_protocol, max_bits_s, max_pkts_s, pkts, pkts_s, rule_id, source_prefix, until
169
+
wanguard_firewall_rules_activated | gauge | Number of activated firewall rules |
0 commit comments