Changeset a9219e7 in rtems

Timestamp:
12/14/16 12:56:58 (7 years ago)
Author:
Ed Schouten <ed@…>
Branches:
5, master
Children:
952b42b6
Parents:
74887157
git-author:
Ed Schouten <ed@…> (12/14/16 12:56:58)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/12/17 05:04:11)
Message:

timecounter: Merge FreeBSD change r310053

Add labels to sysctls related to clocks.

Sysctls like kern.eventtimer.et.*.quality currently embed the name of
the clock device. This is problematic for the Prometheus metrics
exporter for two reasons:

  • Some of those clocks have dashes in their names, which Prometheus doesn't allow to be used in metric names.
  • It doesn't allow for extracting the same property of all clocks on the system from within a single query.

Attach these nodes to have a label, so that the Prometheus metrics
exporter gives these metric a uniform name with the name of the clock
attached as a label.

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

Update #3175.

(No files)

Note: See TracChangeset for help on using the changeset viewer.