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
I'm usinng cassandra 2.x and telegraf to collect metrics and send them to riemann. I want to read _WriteTotalLatency_ for all tables and I'm using wildcards, see telegraf.conf. Jolokia returns a list of all metrics, but to riemann is send only one, combining the whole jolokia response.
The current solution only works for Cassandra 3.x, but not for Cassandra 2.0, because of the metric type. It is "ColumnFamily" in Cassandra 2.x and "Table" in Cassandra 3.x
Copy from plugins/inputs/cassandra/cassandra.go, it only checks for metric type "Table": if tokens["type"] == "Table" && (tokens["keyspace"] == "*" || tokens["scope"] == "*")
The text was updated successfully, but these errors were encountered:
Bug report
I'm usinng cassandra 2.x and telegraf to collect metrics and send them to riemann. I want to read
_WriteTotalLatency_
for all tables and I'm using wildcards, see telegraf.conf. Jolokia returns a list of all metrics, but to riemann is send only one, combining the whole jolokia response.Relevant telegraf.conf:
System info:
Telegraf - version 1.0.0-beta1
Steps to reproduce:
telegraf -test -config telegraf.conf
Expected behavior:
Actual behavior:
Additional info:
The current solution only works for Cassandra 3.x, but not for Cassandra 2.0, because of the metric type. It is "ColumnFamily" in Cassandra 2.x and "Table" in Cassandra 3.x
Copy from plugins/inputs/cassandra/cassandra.go, it only checks for metric type "Table":
if tokens["type"] == "Table" && (tokens["keyspace"] == "*" || tokens["scope"] == "*")
The text was updated successfully, but these errors were encountered: