[Bug 253862] prometheus_sysctl_exporter outputs invalid format

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 24 Jul 2021 12:30:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253862

--- Comment #2 from Paul Holmanskikh <freebsd@pkholm.com> ---
Root cause is that default "sysctl" entries name conversion method when "." are
replaced by "-" causes metric name clash for 

vm.uma.tcp_log_bucket.size
vm.uma.tcp_log.bucket_size

I do not see any good solution for it. 
Meanwhile workaround is to remove both metrics by running 

/usr/bin/sed -I "" '/sysctl_vm_uma_tcp_log_bucket_size .*$/d' filename.

against prometheus_sysctl_exporter output file.

-- 
You are receiving this mail because:
You are the assignee for the bug.