Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/datadog/datadog-trace-paketo-buildpack

A cloud-native buildpack that contributes the latest release of datadog trace agents
https://github.com/datadog/datadog-trace-paketo-buildpack

apm buildpack datadog dd-trace-java docker paketo-buildpack

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://paketo.io/docs/buildpacks/configuration/#bindings) 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](./CONTRIBUTING.md)

## License
This buildpack is released under version 2.0 of the [Apache License][a].

[a]: http://www.apache.org/licenses/LICENSE-2.0