Page MenuHomeFreeBSD

evdev: use a prometheus-safe label for ev_sysctl_tree
ClosedPublic

Authored by kevans on Tue, Jun 30, 2:21 PM.

Details

Summary

Prometheus doesn't allow spaces, let's normalize this to what we use
elsewhere for consistency. The sysctl exporter could probably do this
itself, but let's decouple that from the immediate problem: matching the
label between the exported data and in-tree is nice for greppability.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable