Skip to content

A cloud-native buildpack that contributes the latest release of datadog trace agents

License

Notifications You must be signed in to change notification settings

DataDog/datadog-trace-paketo-buildpack

Repository files navigation

Datadog Trace Agent Paketo Buildpack

The Paketo Datadog Trace Buildpack is a Cloud Native Buildpack that contributes the Datadog Trace Agent and configures it to connect to the service running on an OCI image. Currently, this buildpack only supports Java applications.

Behaviour

This buildpack will participate if all the following conditions are met:

  • A binding exists with type of DatadogTrace

The buildpack will do the following for Java applications:

  • Contributes the latest Datadog Java agent to a layer and configures JAVA_TOOL_OPTIONS to use it

Configuring the Agent

The agent can be configured by adding the following files in the binding's directory:

File Type Behaviour
.yaml Contributes the file into the image and assigns DD_JMXFETCH_CONFIG to the file's path in the image.
.properties Contributes the file into the image and assigns DD_TRACE_CONFIG to the file's path in the image.

Currently only one of each configuration file can be provided in the binding.

Contributing

To contribute or use the buildpack locally, see contributing

License

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