cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michaël Figuière (JIRA) <>
Subject [jira] [Created] (CASSANDRA-7719) Add PreparedStatements related metrics
Date Thu, 07 Aug 2014 22:33:12 GMT
Michaël Figuière created CASSANDRA-7719:

             Summary: Add PreparedStatements related metrics
                 Key: CASSANDRA-7719
             Project: Cassandra
          Issue Type: New Feature
            Reporter: Michaël Figuière
            Priority: Minor

Cassandra newcomers often don't understand that they're expected to use PreparedStatements
for almost all of their repetitive queries executed in production.

It doesn't look like Cassandra currently expose any PreparedStatements related metrics.It
would be interesting, and I believe fairly simple, to add several of them to make it possible,
in development / management / monitoring tools, to show warnings or alerts related to this
bad practice.

Thus I would suggest to add the following metrics:
* Executed prepared statements count
* Executed unprepared statements count
* Amount of PreparedStatements that have been registered on the node

This message was sent by Atlassian JIRA

View raw message