Skip to Content
Mastering Apache Cassandra 3.x - Third Edition
book

Mastering Apache Cassandra 3.x - Third Edition

by Aaron Ploetz, Tejaswi Malepati
October 2018
Beginner to intermediate content levelBeginner to intermediate
348 pages
10h
English
Packt Publishing
Content preview from Mastering Apache Cassandra 3.x - Third Edition

Configuration

By default, there will be a config file at /etc/telegraf/telegraf.conf that has all supported input, output, agent, global_tags, and so on. So based on our use case, we can customize it accordingly.

Apache Cassandra can be integrated with Jolakia, which is a JMX-HTTP bridge. But all metrics aren't accessible through Jolakia, and it needs Cassandra to be restarted for a change in the config. Hence, JMXTrans is a more flexible option for Java-related apps.

Here is a sample telgraf.conf that collects and publishes all network-related metrics:

[global_tags]  env = "sandbox"  app = "mastering apache cassandra"  region = "central"  ip = "127.0.0.1"[agent]  interval = "10s"  round_interval = true  metric_buffer_limit = 1000 flush_buffer_when_full ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

Nishant Neeraj

Publisher Resources

ISBN: 9781789131499Supplemental Content