You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a configurable plugin parameter allow_truncate_tag_value (false by default), when it is set to true, the warefront output plugin can truncate value as:
if w.AllowTruncateTagValue && len(key)+len(val) > 254 {
val = val[:254-len(key)]
}
Use case:
We need to use cmdline tag to identify the application processes for procstat meters, and many meters are blocked due to long cmdline without this feature.
The text was updated successfully, but these errors were encountered:
You can do this with the strings processor and it's "left" operation as a workaround, but we should update the wavefront output to do this automatically.
Feature Request
Allow option to truncate tag value if it is too long. So that points won't be blocked by wavefront proxy.
Proposal:
introduce a new configurable allow_truncate_tag_value (true/false)
Current behavior:
We are using [[inputs.procstat]] with cmdline_tag = true
Currently, the points with very long cmdline tag will be blocked by wavefront proxy. According to https://docs.wavefront.com/wavefront_data_format.html on pointTags, the max len(key) + len(value) is 254.
Desired behavior:
Introduce a configurable plugin parameter allow_truncate_tag_value (false by default), when it is set to true, the warefront output plugin can truncate value as:
if w.AllowTruncateTagValue && len(key)+len(val) > 254 {
val = val[:254-len(key)]
}
Use case:
We need to use cmdline tag to identify the application processes for procstat meters, and many meters are blocked due to long cmdline without this feature.
The text was updated successfully, but these errors were encountered: