Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109428661
D32886.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
499 B
Referenced Files
None
Subscribers
None
D32886.diff
View Options
Index: usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
===================================================================
--- usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
+++ usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
@@ -396,6 +396,9 @@
snprintf(buf, sizeof(buf), "%c",
isalnum(*name) ? *name : '_');
strlcat(metric, buf, mlen);
+ if (*name == '_') {
+ strlcat(metric, buf, mlen);
+ }
++name;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 10:55 PM (11 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16482365
Default Alt Text
D32886.diff (499 B)
Attached To
Mode
D32886: prometheus_sysctl_exporter: Improve sysctl OID names rewriting.
Attached
Detach File
Event Timeline
Log In to Comment