Skip to content

paketo-buildpacks/datadog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

824 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Paketo Buildpack for Datadog

Buildpack ID: paketo-buildpacks/datadog

Registry URLs: docker.io/paketobuildpacks/datadog

The Paketo Buildpack for Datadog is a Cloud Native Buildpack that contributes and configures the Datadog Agent.

Behavior

This buildpack will participate if all the following conditions are met

  • The $BP_DATADOG_ENABLED is set to a truthy value (i.e. true, t, 1 ignoring case)

The buildpack will do the following for Java applications:

  • Contributes the Datadog Java agent to a layer: dd-java-agent-<version>.jar and dd-java-agent.jar (as symlink) and configures $JAVA_TOOL_OPTIONS or $BP_NATIVE_IMAGE_BUILD_ARGUMENTS to use it.

Configuration

Environment Variable Description
$BP_DATADOG_ENABLED whether to contribute the Datadog trace agent
$BPL_DATADOG_DISABLED whether to disable the Datadog trace agent (non native-image Java applications only!)

Usage

Instructions for using the buildpack can be found at the links below:

Bindings

The buildpack optionally accepts the following bindings:

Type: dependency-mapping

Key Value Description
<dependency-digest> <uri> If needed, the buildpack will fetch the dependency with digest <dependency-digest> from <uri>

License

This buildpack is released under version 2.0 of the Apache License.

About

A Cloud Native Buildpack that contributes the Datadog Agent and configures it to connect to the service

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages