I want to fetch various metrics of Cassandra in JSON format. I read about Metrics JSON support. However, there weren't many details given. I don't know what exactly it does and if it can be used for fetching Cassandra's Metrics in JSON format, how exactly can I do that? In a separate question, I've asked about achieving the similar objective using MetricsServlet, but it seems to me metrics-json might be similar and that is why I want to know exactly why/how it should be used.
Asked
Active
Viewed 181 times
0
-
1Possible duplicate of [Using MetricsServlet to fetch metrics in Cassandra](https://stackoverflow.com/questions/49606698/using-metricsservlet-to-fetch-metrics-in-cassandra) – Christophe Schmitz Apr 02 '18 at 07:11
-
I've added some details about the question. – Vishal Sharma Apr 02 '18 at 07:19
-
Per other question, you should try mx4j to expose the jmx metrics with http, a lot less work. Or just use JMX – Chris Lohfink Apr 02 '18 at 17:38
-
Thanks. I want to know about metrics-json as well. – Vishal Sharma Apr 03 '18 at 05:22