-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Telegraf 1.8 + Cassandra serializing issue w/ Jolokia2 #4918
Comments
Can you paste the relevant (sanitized) sections of your telegraf.conf please? Possibly more helpful, can you check the settings against comments on #4748 ? |
I took a look at the settings in #4748 and if I'm understanding that correctly, doesn't apply, but please correct me if I'm wrong here. Cassandra version - working on upgrading.
Errors:
This occurs for all keyspaces
Telegraf.conf - just your default from the jolokia2 conf [[inputs.jolokia2_agent.metric]]
name = "ColumnFamily"
mbean = "org.apache.cassandra.metrics:keyspace=*,name=*,scope=*,type=ColumnFamily"
tag_keys = ["keyspace", "name", "scope"]
field_prefix = "$2_"
[[inputs.jolokia2_agent.metric]]
name = "FileCache"
mbean = "org.apache.cassandra.metrics:name=*,type=FileCache"
tag_keys = ["name"]
field_prefix = "$1_" |
Hi, guys. We use 1.8.3 telegraf and cassandra 3.0.16 + jolokia 1.6.0 java agent.
Telegraf config was taken from your example:
Any advice on that? |
@2ban Can you test with 1.9.4? I suspect the error won't be displayed anymore but it could be that no metrics are produced by this section either, if you run into either of these issues can you open a new issue? |
Relevant telegraf.conf:
System info:
[Include Telegraf version, operating system name, and other relevant details]
CentOS 7
telegraf 1.8.1 and 1.8.3
Jolokia2 setup
Steps to reproduce:
Expected behavior:
Still be able to serialize the metric
Actual behavior:
Receive an error "no serializable fields; discarding metric"
Additional info:
Identical setup between our cassandra nodes, if I upgrade telegraf to 1.8+ it has issues serializing all keyspaces on cache and columnfamily.
Using the config from https://github.com/influxdata/telegraf/blob/master/plugins/inputs/jolokia2/examples/cassandra.conf
The text was updated successfully, but these errors were encountered: