Michael Vogt
42f913abf3
networkd: report per-interface addresses as io.systemd.Network.Address
...
The networkd metrics interface already reports a lot of interesting
metrics. With this commit it also report the network addresses too.
Each ready address is emitted as one record per (interface, address)
pair:
- object: ifname
- value: address in CIDR notation
- fields: { family: "ipv4"|"ipv6", scope: "global"|"link"|"host"|... }
The loopback addresses are not reported as its just noise.
Example output:
```
root@localhost:~# varlinkctl --more --json=short call /run/systemd/report/io.systemd.Network io.systemd.Metrics.List '{}'
{"name":"io.systemd.Network.Address","object":"enp0s1","value":"fe80::5054:ff:fe12:3456/64","fields":{"family":"ipv6","scope":"link"}}
{"name":"io.systemd.Network.Address","object":"enp0s1","value":"fec0::5054:ff:fe12:3456/64","fields":{"family":"ipv6","scope":"site"}}
{"name":"io.systemd.Network.Address","object":"enp0s1","value":"10.0.2.15/24","fields":{"family":"ipv4","scope":"global"}}
```
2026-06-20 10:37:47 +02:00
..
2026-04-30 11:12:33 +01:00
2026-06-19 20:38:13 +02:00
2026-04-12 15:27:15 +02:00
2026-05-06 12:39:36 +02:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2026-05-21 16:55:59 +09:00
2026-04-03 13:05:03 +02:00
2026-03-18 10:28:47 +00:00
2026-05-21 10:33:03 +09:00
2026-03-18 10:28:47 +00:00
2025-12-15 08:50:13 +09:00
2024-08-22 01:12:39 +09:00
2026-05-17 21:02:20 +09:00
2026-05-17 21:02:20 +09:00
2026-05-17 01:31:42 +09:00
2026-05-17 01:31:42 +09:00
2025-05-22 21:10:15 +02:00
2024-08-22 01:12:39 +09:00
2026-05-16 08:05:01 +09:00
2026-05-16 08:05:01 +09:00
2026-05-16 08:05:01 +09:00
2026-05-16 08:05:01 +09:00
2026-04-03 13:05:03 +02:00
2026-03-18 10:28:47 +00:00
2026-04-03 13:05:03 +02:00
2026-03-18 10:28:47 +00:00
2026-03-18 22:55:52 +00:00
2026-03-18 22:55:52 +00:00
2026-05-21 17:42:29 +09:00
2026-03-18 10:28:47 +00:00
2026-05-17 01:31:42 +09:00
2025-10-16 17:00:29 +02:00
2026-03-18 22:55:52 +00:00
2026-03-18 22:55:52 +00:00
2026-05-17 21:02:20 +09:00
2025-10-16 17:00:29 +02:00
2025-12-15 08:50:13 +09:00
2026-01-02 04:04:19 +09:00
2025-12-15 08:50:13 +09:00
2025-05-22 02:15:43 +09:00
2025-05-26 11:16:40 +02:00
2025-05-22 02:15:43 +09:00
2026-05-21 16:23:44 +02:00
2026-01-02 04:04:19 +09:00
2026-05-21 17:42:29 +09:00
2025-10-17 21:11:23 +09:00
2025-05-22 02:15:43 +09:00
2025-05-22 02:15:43 +09:00
2025-12-15 08:50:13 +09:00
2025-05-22 02:15:43 +09:00
2025-06-24 00:20:20 +09:00
2025-05-22 02:15:43 +09:00
2026-05-21 16:55:59 +09:00
2025-11-26 19:02:31 +09:00
2025-05-26 11:16:40 +02:00
2025-05-22 02:15:43 +09:00
2026-05-17 01:34:44 +09:00
2025-05-22 02:15:43 +09:00
2025-05-26 11:16:40 +02:00
2025-05-22 02:15:43 +09:00
2026-05-08 11:14:13 +02:00
2026-01-02 04:05:45 +09:00
2026-05-20 03:03:33 +09:00
2026-05-20 03:03:33 +09:00
2026-05-20 03:03:33 +09:00
2026-01-30 23:38:13 +09:00
2026-05-21 16:55:59 +09:00
2026-05-21 16:55:59 +09:00
2026-05-22 23:06:54 +09:00
2025-05-22 02:15:43 +09:00
2026-04-08 13:57:39 +02:00
2025-11-14 07:50:13 +09:00
2026-05-21 16:55:59 +09:00
2026-05-21 16:55:59 +09:00
2025-06-14 00:17:14 +09:00
2026-01-02 04:05:45 +09:00
2026-05-22 23:06:54 +09:00
2026-05-21 16:55:59 +09:00
2025-12-15 08:50:13 +09:00
2025-05-22 02:15:43 +09:00
2025-11-18 12:27:59 +01:00
2025-05-22 02:15:43 +09:00
2025-05-22 02:15:43 +09:00
2025-05-22 02:15:43 +09:00
2026-05-15 03:30:01 +09:00
2026-05-15 03:30:01 +09:00
2026-05-22 23:06:54 +09:00
2025-05-22 02:15:43 +09:00
2026-05-29 04:34:18 +09:00
2025-05-22 02:15:43 +09:00
2026-05-29 04:34:18 +09:00
2026-03-18 22:55:52 +00:00
2026-06-13 20:04:06 +09:00
2026-05-21 16:23:44 +02:00
2025-05-22 02:15:43 +09:00
2026-01-02 04:05:45 +09:00
2025-06-18 00:53:24 +09:00
2025-05-22 02:15:43 +09:00
2026-03-18 22:55:52 +00:00
2025-05-22 02:15:43 +09:00
2026-04-20 09:36:09 +02:00
2025-11-15 07:52:42 +01:00
2026-05-21 16:55:59 +09:00
2026-05-21 16:55:59 +09:00
2026-06-16 11:44:08 +01:00
2025-05-22 02:15:43 +09:00
2026-06-11 16:32:25 +02:00
2026-01-02 04:04:19 +09:00
2025-07-13 12:41:14 +02:00
2025-05-22 02:15:43 +09:00
2025-05-22 02:15:43 +09:00
2025-05-22 02:15:43 +09:00
2026-06-19 20:38:13 +02:00
2026-06-11 09:43:27 +02:00
2026-05-21 16:55:59 +09:00
2026-04-12 15:27:15 +02:00
2025-12-15 08:50:13 +09:00
2025-05-22 02:15:43 +09:00
2025-05-22 02:15:43 +09:00
2026-05-21 16:55:59 +09:00
2026-05-21 16:55:59 +09:00
2026-05-21 17:39:30 +09:00
2026-01-02 04:05:45 +09:00
2026-02-18 17:57:32 +09:00
2025-11-15 07:52:42 +01:00
2025-12-15 08:50:13 +09:00
2025-05-22 02:15:43 +09:00
2026-01-02 09:25:43 +09:00
2025-05-22 02:15:43 +09:00
2026-03-09 11:46:14 +09:00
2026-01-02 04:05:45 +09:00
2026-04-12 15:27:15 +02:00
2026-01-02 04:04:19 +09:00
2026-06-11 16:32:25 +02:00
2026-01-02 04:05:45 +09:00
2026-05-18 10:39:04 +01:00
2025-05-22 02:15:43 +09:00
2026-03-09 10:57:06 +09:00
2026-02-16 14:28:52 +09:00
2026-03-18 22:55:52 +00:00
2026-03-18 22:55:52 +00:00
2026-05-18 02:55:56 +09:00
2025-05-22 02:15:43 +09:00
2026-05-17 01:31:42 +09:00
2025-05-22 02:15:43 +09:00
2026-06-01 18:46:24 +01:00
2026-01-02 04:05:45 +09:00
2026-02-16 13:22:21 +09:00
2026-02-16 13:22:21 +09:00
2026-06-20 10:37:47 +02:00
2026-02-18 17:58:33 +09:00
2025-12-15 08:50:13 +09:00
2025-05-22 02:15:43 +09:00
2026-05-08 11:14:13 +02:00
2025-05-22 02:15:43 +09:00
2026-06-11 09:43:09 +02:00
2026-02-16 13:22:21 +09:00
2026-04-10 15:08:02 +02:00
2026-03-04 12:42:19 +01:00
2026-05-21 18:02:05 +02:00
2026-05-26 18:51:26 +01:00
2026-03-06 04:43:30 +09:00
2026-05-05 13:49:51 +02:00
2025-06-16 16:58:38 +09:00
2026-05-17 01:31:42 +09:00
2025-07-28 03:37:31 +09:00
2026-01-02 09:25:43 +09:00