paketo-buildpacks / opentelemetry

Apache License 2.0
19 stars 0 forks source link

Paketo Buildpack for OpenTelemetry

gcr.io/paketo-buildpacks/opentelemetry

The Paketo Buildpack for OpenTelemetry is a Cloud Native Buildpack that contributes and configures the OpenTelemetry Agent.

Behavior

This buildpack will participate if all the following conditions are met

At build time, the buildpack will do the following for Java applications:

At run time, the buildpack will do the following for Java applications:

Usage

Once you enable the OpenTelemetry buildpack at build-time, you can configure it at run-time via environment variables, as described in the project documentation or by passing configuration properties to the container via a binding.

By default, the following configuration is applied to the OpenTelemetry Java Agent at run time.

When using a binding, key/values map directly to OpenTelemetry Java agent configuration properties. Keys can follow the environment variable format or the system property format, as described in the project documentation.

Bindings

The buildpack optionally accepts the following bindings:

Type: opentelemetry

Key Value Description
<otel-property-key> <otel-property-value> Binding key/values map directly to OpenTelemetry Java agent configuration properties. Keys can follow the environment variable format or the system property format, as described in the project documentation.

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.