Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/datadog/datadog-trace-paketo-buildpack
- Owner: DataDog
- License: apache-2.0
- Created: 2021-02-16T16:52:05.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-08T14:17:51.000Z (about 3 years ago)
- Last Synced: 2024-04-14T03:37:09.204Z (8 months ago)
- Topics: apm, buildpack, datadog, dd-trace-java, docker, paketo-buildpack
- Language: Go
- Homepage:
- Size: 19.5 MB
- Stars: 3
- Watchers: 9
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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