-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Readme, release and CI build updates
- Loading branch information
Showing
5 changed files
with
101 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
[![CircleCI](https://circleci.com/gh/SmartThingsOSS/springboot-dropwizard-metrics.svg?style=svg)](https://circleci.com/gh/SmartThingsOSS/springboot-dropwizard-metrics) | ||
[![Download](https://api.bintray.com/packages/smartthingsoss/maven/smartthings.springboot-dropwizard-metrics/images/download.svg) ](https://bintray.com/smartthingsoss/maven/smartthings.springboot-dropwizard-metrics/_latestVersion) | ||
|
||
|
||
# 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 | ||
```yaml | ||
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 | ||
```yaml | ||
metrics: | ||
servlet: | ||
name-prefix: 'instrumented' # metric prefix | ||
``` | ||
|
||
## Building from source | ||
|
||
```bash | ||
$ ./gradlew check | ||
``` | ||
|
||
## Artifacts | ||
|
||
### Library Releases | ||
|
||
Releases are uploaded to [Bintray](https://dl.bintray.com/smartthingsoss/maven/smartthings) | ||
|
||
### Library Snapshots | ||
|
||
Snapshot are uploaded to [SmartThings Artifactory](https://smartthings.artifactoryonline.com/smartthings/libs-snapshot-local) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Release Process | ||
|
||
This repo uses semantic versions and derives the version from git tags. | ||
|
||
To build a new release create a github tag with `vN.M.L`. This will trigger | ||
CircleCI to start a new release build and publish artifacts to Bintray. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters