Fix typo on "Celsius""Celcius" --> "Celsius"Signed-off-by: Elyes HAOUAS <[email protected]>Pull Request: https://github.com/freebsd/freebsd-src/pull/551/files(cherry picked from commit 9097ac9af4
Fix typo on "Celsius""Celcius" --> "Celsius"Signed-off-by: Elyes HAOUAS <[email protected]>Pull Request: https://github.com/freebsd/freebsd-src/pull/551/files(cherry picked from commit 9097ac9af4144187d080cf6c796c50d777e517b1)
show more ...
prometheus_sysctl_exporter(8): filter output using a regexAdd two options, -i and -e, for filtering prometheus metrics.Each option takes a regular expression as an argument. The providedregex wi
prometheus_sysctl_exporter(8): filter output using a regexAdd two options, -i and -e, for filtering prometheus metrics.Each option takes a regular expression as an argument. The providedregex will be tested against the prometheus metric name.The -i option includes metrics matching the given regex.The -e option excludes metrics matching the given regex.Sponsored by: Modirum MDPaySponsored by: Klara Inc.Reviewed by: 0mp, debdrupDifferential Revision: https://reviews.freebsd.org/D32269(cherry picked from commit 8ff2b52241400f2b5c2287b91e6e12b97ffd5773)
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
Be a bit more liberal about sysctl naming.On the systems on which I tested this exporter, I never ran into metricsthat were named in such a way that they couldn't be exported toPrometheus metrics
Be a bit more liberal about sysctl naming.On the systems on which I tested this exporter, I never ran into metricsthat were named in such a way that they couldn't be exported toPrometheus metrics directly. Now it turns out that on systems with NUMA,the sysctl tree contains metrics named dev.${driver}.${index}.%domain.For these metrics, the % in the name is problematic, as Prometheusdoesn't allow this symbol to be used.Remove the assertions that were originally put in place to prevent theexporter from generating malformed output and add code to deal with itaccordingly. For metric names, convert any unsupported character to anunderscore. For label values, perform string escaping.PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221035Reported by: lifanov@
DIRDEPS_BUILD: Connect new directories.Sponsored by: Dell EMC Isilon
Add a Prometheus exporter for sysctl values.Now that we have our sysctl tree annotated with aggregation labels,let's go ahead and provide a very simple utility for exporting thesysctl tree in Pro
Add a Prometheus exporter for sysctl values.Now that we have our sysctl tree annotated with aggregation labels,let's go ahead and provide a very simple utility for exporting thesysctl tree in Prometheus' format. It can either be used in conjunctionwith the Prometheus node exporter or run through inetd(8).The reason why I'm opting for having it in the base system is because ithas a pretty strong integration with some of sysctl's innards, such asaccess to iterators, name lookups, metadata and type information. As Iam investigating whether we can add histograms as native types to sysctlas well, this integration will only get stronger as we go along. That'swhy it would be safer to oversee the development of this exporterourselves, as opposed to having it as an external project.This exporter is remarkably compact, especially when compared to theofficial Linux binary of the Prometheus node exporter (16 KB vs 12 MB).I guess this could be an interesting aspect for monitoring embeddedFreeBSD-based systems.Differential Revision: https://reviews.freebsd.org/D8792