Skip to content

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

License

Notifications You must be signed in to change notification settings

paketo-buildpacks/datadog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gcr.io/paketo-buildpacks/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.

The buildpack will do the following for Node.js applications:

  • Contributes the Datadog Node.js trace agent to a layer
  • Require the trace agent, if it's not present

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

Security policy

Stars

Watchers

Forks

Packages

No packages published