Skip to content

Commit 00e4b95

Browse files
committed
feat: Export IC OS HostOS power metrics to the public.
1 parent 3d97902 commit 00e4b95

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

ic-os/hostos/rootfs/etc/metrics-proxy.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ proxies:
3535
quantum: 0.25
3636
- reduce_time_resolution:
3737
resolution: 30s
38+
# Power metrics. Useful to track the blockchain's
39+
# power consumption.
40+
# No need to reduce resolution since these are already
41+
# collected periodically using a cron job rather than
42+
# on every poll.
43+
- regex: power.*
44+
actions:
45+
- keep
3846
# File system errors and NVME hardware info.
3947
- regex: node_filesystem_device_error|nvme.*|node_nvme_info
4048
actions:
@@ -57,7 +65,7 @@ proxies:
5765
- regex: node_network_carrier.*|node_network_info|node_network_iface.*|node_network_mtu_bytes|node_network_(receive|transmit)_.*
5866
actions:
5967
- keep
60-
# HostOS version
68+
# HostOS version.
6169
- regex: hostos_version
6270
actions:
6371
- keep

0 commit comments

Comments
 (0)