~/talk

Scraping Your Cassandra Metrics - the Right Way, and the Dirty Way

Talkat Cassandra Summit 2023 · on Wednesday, 2023-12-13· at 14:50· LL20C (Lower Lobby Level)· [observability, databases]
links:none on file
slides:none on file

Cassandra metrics generate hundreds of thousands of MBeans and scraping them causes big CPU spikes, so AxonOps builds a Java agent (Byte Buddy) that pre-creates MBean objects and even bypasses the JMX permission check to avoid per-scrape object creation and expensive JDK permission calls. The agent scrapes every 5s, handles 1,000 tables with brief ~33% CPU spikes whereas jmx_exporter fails earlier, completes 1M read/writes about twice as fast, and sends ~700 MB/day vs ~186 GB/day for jmx_exporter (mcac ~5 GB/day).

AI-written summary · about

  1. 0:00Introduction
  2. 3:54Why Cassandra metrics
  3. 7:29Standard metrics problems
  4. 11:46Optimizing with Java agent
  5. 15:04Benchmarking solution
  6. 21:24Architectural benefits
  7. 23:51Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.