Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 48A3911F13 for ; Fri, 8 Aug 2014 00:50:16 +0000 (UTC) Received: (qmail 5037 invoked by uid 500); 8 Aug 2014 00:50:16 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 5009 invoked by uid 500); 8 Aug 2014 00:50:16 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 4912 invoked by uid 99); 8 Aug 2014 00:50:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2014 00:50:15 +0000 Date: Fri, 8 Aug 2014 00:50:15 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7719) Add PreparedStatements related metrics MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7719?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-7719: -------------------------------------- Assignee: T Jake Luciani > Add PreparedStatements related metrics > -------------------------------------- > > Key: CASSANDRA-7719 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7719 > Project: Cassandra > Issue Type: New Feature > Reporter: Micha=C3=ABl Figui=C3=A8re > Assignee: T Jake Luciani > Priority: Minor > Fix For: 2.1.1 > > > Cassandra newcomers often don't understand that they're expected to use P= reparedStatements for almost all of their repetitive queries executed in pr= oduction. > It doesn't look like Cassandra currently expose any PreparedStatements re= lated metrics.It would be interesting, and I believe fairly simple, to add = several of them to make it possible, in development / management / monitori= ng 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 (v6.2#6252)