[Bug 259607] sysutils/node_exporter / OpenZFS: need better handling for ZFS statistic numbers

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 Nov 2021 11:56:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259607

David O'Rourke <dor.bsd@xm0.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(dor.bs |maintainer-feedback+
                   |d@xm0.uk)                   |

--- Comment #1 from David O'Rourke <dor.bsd@xm0.uk> ---
Hi,

Are these errors actually from the FreeBSD `prometheus_sysctl_exporter`? The
`sysctl_` prefix suggests so.

Node Exporter doesn't appear to export all of the sysctls anywhere and the
metrics it does expose for ZFS and other sysctl based things are very
specifically selected and named to avoid collisions.

prometheus_sysctl_exporter does appear to show this unfortunate problem:

$ prometheus_sysctl_exporter | grep l2arc | sort
sysctl_vfs_zfs_l2arc_feed_again 1
sysctl_vfs_zfs_l2arc_feed_again 1
sysctl_vfs_zfs_l2arc_feed_min_ms 200
sysctl_vfs_zfs_l2arc_feed_min_ms 200

Are you using the Node Exporter to export these `prometheus_sysctl_exporter`
metrics via the --collector.textfile.directory feature, perhaps?

-David

-- 
You are receiving this mail because:
You are on the CC list for the bug.