Skip to content

jdamick/dropwizard-metrics-cloudwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Tested against dropwizard: 0.7.1 & 0.8.1 & 0.9.1

dropwizard-metrics-cloudwatch

Dropwizard Metrics plugin for reporting to AWS CloudWatch.

Add Dependency

Find the latest release at maven central http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22dropwizard-metrics-cloudwatch%22

Builds upon the the great work from blacklocus/metrics-cloudwatch

Using

Add to your configuration yaml file:

metrics:
  reporters:
    - type: cloudwatch
      namespace: some_namespace
      globalDimensions:
        - env=dev  # for example
      awsSecretKey: <optional>
      awsAccessKeyId: <optional>
      awsRegion: <optional: region name to use for cloudwatch reporting>
  • Namespace must follow the format:
 "0-9A-Za-z" plus "."(period), "-" (hyphen), "_" (underscore), "/" (slash), "#" (hash), and ":" (colon)

See: CloudWatch Concepts

LICENSE

Apache License, Version 2.0