Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10352

Wrong data type for certain Cassandra JMX counters

    XMLWordPrintable

    Details

      Description

       MemtableSwitchCount from org.apache.cassandra.metrics.Keyspace and all the items under org.apache.cassandra.metrics.DroppedMessage are collected with GAUGE as the type.

      According to the Cassandra documentation, their types are Counter and Meter, respectively, but cassandra30x.xml specifically fetches the Count attribute for the DroppedMessage items.

      Due to this, all related values will continue to increase until Cassandra is restarted, which makes the graphs very difficult to read at a glance. Their type should be switched to counter correspondingly.

      Dropped messages using gauge:

      Dropped messages after switching to counter:

        Attachments

          Activity

            People

            • Assignee:
              brynjar Brynjar Eide
              Reporter:
              brynjar Brynjar Eide
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: