Skip to content

OpenSource-THG/kamon-cloudwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

Build Status

SBT dependency

Add the following to build.sbt:

libraryDependencies ++= Seq(
  "com.typesafe.akka" %% "akka-actor" % akkaVersion,
  "com.amazonaws" % "aws-java-sdk" % "1.11.312",

  "io.kamon" %% "kamon-core" % kamonVersion,
  "io.kamon" %% "kamon-akka-2.5" % "1.0.1",
  "com.thg.opensource.kamon.cloudwatch" %% "kamon-cloudwatch" % "0.0.2"
)

resolvers += Resolver.bintrayRepo("opensource-thg", "opensource-THG")

SBT Plugin configuration

Add the following to plugins.sbt:

resolvers += Resolver.bintrayRepo("kamon-io", "sbt-plugins")
addSbtPlugin("io.kamon" % "sbt-aspectj-runner" % "1.1.0")

Cloudwatch configuration

Add to application.conf:

  kamon {
    reporters = ["com.thg.opensource.kamon.cloudwatch.CloudwatchReporter"]
  
    cloudwatch {
        namespace = "<your>/<cloudwatch namespace>"
    }
    
    modules {
      kamon-system-metrics.auto-start = yes
      kamon-scala {
        requires-aspectj = yes
        auto-start = yes
      }
      kamon-akka {
        auto-start = yes
        requires-aspectj = yes
        extension-id = "kamon.akka.Akka"
      }
    }

    kamon.util.filters {
      "akka.tracked-actor" {
        includes = [ "**" ]
      }

      "akka.tracked-dispatcher" {
        includes = [ "**" ]
      }

      "akka.traced-actor" {
        includes = [ "**" ]
      }

      "test" {
        includes = [ "**" ]
      }
    }
  }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages