-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behaviorregressionsomething that used to work, but is now brokensomething that used to work, but is now broken
Milestone
Description
Bug report
After upgrading to 1.6.0 release, cassandra metrics are not sent anymore.
I have the following error messages:
2018-04-18T14:14:10Z E! [outputs.influxdb]: when writing to [http:/my_influxdb:8086]: Post http://my_influxdb:8086/write?consistency=any&db=telegraf: no fieldsRelevant telegraf.conf:
We use jolokia and cassandra to download JMX informations as written in:
https://github.com/influxdata/telegraf/tree/master/plugins/inputs/cassandra
The configuration file is quite simple, the part that is changed is on cassandra inputs:
(it's just an extract)
[[inputs.cassandra]]
context = "/jolokia/read"
servers = ["localhost:8778"]
metrics = [
"/java.lang:type=Memory/HeapMemoryUsage/used",
"/java.lang:type=Memory/NonHeapMemoryUsage/used",
"/java.lang:type=GarbageCollector,name=ConcurrentMarkSweep/CollectionTime",
"/java.lang:type=GarbageCollector,name=ConcurrentMarkSweep/CollectionCount",
"/java.lang:type=GarbageCollector,name=ParNew/CollectionTime",
"/java.lang:type=GarbageCollector,name=ParNew/CollectionCount",
"/org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Capacity",
"/org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Entries",
"/org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=HitRate",
"/org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Hits",
"/org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Requests",
"/org.apache.cassandra.metrics:type=Cache,scope=CounterCache,name=Size",
"/org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Capacity",
"/org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Entries",
"/org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=HitRate"
]System info:
Telegraf 1.6.0
Tested on 2 Ubuntu 14.04 with the following kernels:
4.4.0-112-generic
3.13.0-137-generic
Steps to reproduce:
Upgrade to telegraf 1.6.0
Check that you don't have any cassandra metrics
See the error messages:
2018-04-18T14:14:10Z E! [outputs.influxdb]: when writing to [http:/my_influxdb:8086]: Post http://my_influxdb:8086/write?consistency=any&db=telegraf: no fieldsRollback to telegraf 1.5.3
Metrics are back
In debug mode, I don't have more details.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behaviorregressionsomething that used to work, but is now brokensomething that used to work, but is now broken