5

I know that nodetool describecluster can give me information about schema disagreements in cassandra . But, i am looking to see if that information is available via JMX .If it is available can some one point me fully-qualified package/metric name for this ?

I am trying setup alert for this using Prometheus .

Dhyan
  • 551
  • 2
  • 6
  • 15

1 Answers1

3

Yes, you can monitor it with JMX:

ObjectName: org.apache.cassandra.db:type=StorageProxy
Attribute:  SchemaVersions

This will return a key/value pair, with a format similar to:

eaceacea-eac7-eac6-eaca-eac75275b=[172.1.xx.xx, 172.1.xx.xx, 172.1.xx.xx]

All the nodes in the same cluster should match the UUID returned.

Carlos Monroy Nieblas
  • 2,225
  • 2
  • 16
  • 27