Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 1.87 KB

README.md

File metadata and controls

71 lines (52 loc) · 1.87 KB

CircleCI Download

springboot-dropwizard-metrics

Spring Boot auto configuration libraries for adding Dropwizard metrics collection and reporting to Spring Boot projects.

Reporters

Datadog

Configures Coursera Dropwizard Datadog reporter using Spring Boot configuration.

Configuration

metrics:
	datadog:
  	interval: 1 # interval in which metrics are reported
  	host:
  	ec2-host: false
  	prefix: my-app # Datadog metric prefix
  	expansions: # Datadog expansion enum list (use ALL for all expansions)
  	tags: # Datadog tag list
  	includes: # regex list of metrics to include.
  	excludes: # regex list of metric names to exclude.
  	transport:
  		type: # on of 'http' or 'statsd'
  		# HTTP
  		api-key: # Datadog API key
  		connection-timeout: # connection timeout in milliseconds
  		socket-timeout: # socket timeout in milliseconds
  		# Statsd
  		statsd-port: 
  		statsd-host:
  		statsd-prefix:
  		prefix:
  

Collection

InstrumentedFilter

Configures the Dropwizard InstrumentedFilter and adds it to Spring Boot as a FilterRegistrationBean.

Configuration

metrics:
	servlet:
		name-prefix: 'instrumented' # metric prefix

Building from source

$ ./gradlew check

Artifacts

Library Releases

Releases are uploaded to Bintray

Library Snapshots

Snapshot are uploaded to SmartThings Artifactory