HomeFreeBSD

Add label annotations to CAM sysctls.

Description

Add label annotations to CAM sysctls.

Under kern.cam we have certain sysctls that are per-device, such as the
ones under kern.cam.ada.[0-9]+.*. Add a "device_index" label annotation
to such sysctls, so that the Prometheus metrics exporter will give all
of those metrics the same name. The device number will be added to the
metric name as the "device_index" label.

Reviewed by: cem
Differential Revision: https://reviews.freebsd.org/D8775

Details

Provenance
edAuthored on
Reviewer
cem
Differential Revision
D8775: Add support for attaching aggregation labels to sysctl objects.
Parents
rS310051: Add support for attaching aggregation labels to sysctl objects.
Branches
Loading...
Tags
Loading...