-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support descriptive names from JSON payload. #19
Comments
Hi @tomprince, thanks for your input! Which version of the collectd Go library (collectd/go-collectd) are you currently using? Commit 292a66c should have implemented this feature: if dsname := vl.DSName(index); dsname != "value" {
name += "_" + dsname
} |
I'm seeing the issue as well. I'm not using JSON though, but a binary network protocol. |
@hasso the binary network protocol does not include this information, therefore it's impossible to derive it from the traffic itself. We might be able to support for |
That what I was afraid of. Thanks. |
FYI, collectd/go-collectd#17 implements the infrastructure required for this feature. |
collectd knows what the various fields in a metric are, and passes them in the JSON. the exporter should use this information.
For example
collectd_processes_ps_cputime_0
isuser
and..._1
issyst
.The text was updated successfully, but these errors were encountered: