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.
This buildpack will participate if all the following conditions are met:
- A binding exists with
type
ofDatadogTrace
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
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.
To contribute or use the buildpack locally, see contributing
This buildpack is released under version 2.0 of the Apache License.