Skip to content

cloudbees/metrics-datadog-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metrics DataDog Plugin

This plugin streams Metrics to a DataDog.

Currently, this plugin only supports push of metrics through DogStatsD (UDP). A DataDog agent with DogStatsD enabled and corresponding UDP port opened needs to be reachable from your Jenkins instance.

See also this plugin's wiki page.

Environment

The following build environment is required to build this plugin

  • java-1.8 and maven-3.5.x

Build

To build the plugin locally:

mvn clean verify

Release

To release the plugin:

mvn release:prepare release:perform -B

Test with local instance

Start a local DataDog agent

docker run -d --name dd-agent -v /var/run/docker.sock:/var/run/docker.sock:ro -v /proc/:/host/proc/:ro -v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro -e DD_API_KEY=XXXXXXXXXXXXXXXXXXX -p 8125:8125/udp -e DD_TAGS="env:local-dev owner:mpailloncy" datadog/agent:latest

Start a local Jenkins instance

mvn hpi:run

You can then configure Jenkins to target your DataDog agent DogStatsD UDP port.

About

Metrics Plugin reporter for DataDog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.1%
  • HTML 2.9%