collector: reconcile advertised metric contracts (#2604)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-09 11:34:58 +02:00
committed by GitHub
parent 822d15f192
commit b743466112
11 changed files with 319 additions and 72 deletions
+4 -3
View File
@@ -13,11 +13,11 @@ Enabled by default? | Yes
### `--collector.net.nic-include`
If given, an interface name needs to match the include regexp in order for the corresponding metrics to be reported
If given, an interface name needs to match the include regular expression in order for the corresponding metrics to be reported
### `--collector.net.nic-exclude`
If given, an interface name needs to *not* match the exclude regexp in order for the corresponding metrics to be reported
If given, an interface name needs to *not* match the exclude regular expression in order for the corresponding metrics to be reported
### `--collector.net.enabled`
@@ -43,7 +43,8 @@ Comma-separated list of collectors to use. Defaults to all, if not specified. Su
| `windows_net_nic_address_info` | A metric with a constant '1' value labeled with the network interface's address information. | gauge | `nic`, `address`, `family` |
| `windows_net_nic_info` | A metric with a constant '1' value labeled with the network interface's general information. | gauge | `nic`, `friendly_name`, `mac` |
| `windows_net_nic_operation_status` | The operational status for the interface as defined in RFC 2863 as IfOperStatus. | gauge | `nic`, `status` |
| `windows_net_route_info` | A metric with a constant '1' value labeled with the network interface's route information. | gauge | `nic`, `src`, `dest`, `metric` |
Route information is not collected. The previously listed `windows_net_route_info` metric was never emitted and has been removed from the supported metric list.
### Example metric
Query the rate of transmitted network traffic