cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shogo Hoshii (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5977) Structure for cfstats output (JSON, YAML, or XML)
Date Thu, 14 Apr 2016 07:49:25 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shogo Hoshii updated CASSANDRA-5977:
------------------------------------
    Attachment: sample_result.zip
                CASSANDRA-5977-trunk.patch

Thank you for quick reply.

I fixed the source code at your advice and attached the patch again.
I also changed the json/yaml format in which property names are structured small case characters
and '_' like 'write_count'.
If there is better format,  please don't hesitate to tell me that.

> Structure for cfstats output (JSON, YAML, or XML)
> -------------------------------------------------
>
>                 Key: CASSANDRA-5977
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5977
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Alyssa Kwan
>            Assignee: Shogo Hoshii
>            Priority: Minor
>              Labels: Tools
>             Fix For: 3.x
>
>         Attachments: CASSANDRA-5977-trunk.patch, CASSANDRA-5977-trunk.patch, sample_result.zip,
sample_result.zip, tablestats_sample_result.json, tablestats_sample_result.txt, tablestats_sample_result.yaml,
trunk-tablestats.patch, trunk-tablestats.patch
>
>
> nodetool cfstats should take a --format arg that structures the output in JSON, YAML,
or XML.  This would be useful for piping into another script that can easily parse this and
act on it.  It would also help those of us who use things like MCollective gather aggregate
stats across clusters/nodes.
> Thoughts?  I can submit a patch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message