Skip to content

A kamon module for tracing Cassandra requests

License

Notifications You must be signed in to change notification settings

leetoo/kamon-cassandra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kamon Cassandra

Build Status Download


The kamon-cassandra module provides bytecode instrumentation that brings automatic traces and metrics to the official Cassandra driver.

Adding the Module

Supported releases and dependencies are shown below.

kamon-cassandra status jdk scala driver
1.0.1 experimental 1.8+ 2.11, 2.12 3.4.0

To get started with SBT, simply add the following to your build.sbt file:

// The library is publish on JCenter, so add the following line if not already present
resolvers += Resolver.jcenterRepo
// Or if you like living on the edge:
// resolvers += Resolver.bintrayRepo("fmonniot", "snapshots")

libraryDependencies += "eu.monniot.kamon" %% "kamon-cassandra" % "1.0.1"

Run

The kamon-cassandra module requires you to start your application using the AspectJ Weaver Agent. You can achieve that quickly with the sbt-aspectj-runner plugin or take a look at the documentation for other options.

An example is available in the playground submodule. It also contains a quick guide on how to start.

Enjoy!

That's it, you are now collecting metrics and tracing information from a Cassandra driver.

About

A kamon module for tracing Cassandra requests

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 95.3%
  • Shell 4.7%