You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Shogo Hoshii (JIRA)" <ji...@apache.org> on 2016/03/14 07:25:33 UTC
[jira] [Updated] (CASSANDRA-5977) Structure for cfstats output
(JSON, YAML, or XML)
[ https://issues.apache.org/jira/browse/CASSANDRA-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shogo Hoshii updated CASSANDRA-5977:
------------------------------------
Attachment: tablestats_sample_result.txt
tablestats_sample_result.yaml
tablestats_sample_result.json
trunk-tablestats.patch
- trunk-tablestats.patch
add -F option to choose json or yaml format
- tablestats_sample_result.json
sample result displayed by command `nodetool tablestats -F json`
- tablestats_sample_result.yaml
sample result displayed by command `nodetool tablestats -F yaml`
- tablestats_sample_result.txt
sample result displayed by command `nodetool tablestats`
> 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
> Priority: Minor
> Attachments: tablestats_sample_result.json, tablestats_sample_result.txt, tablestats_sample_result.yaml, 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)