Skip to content

feat: inject Dynatrace OneAgent for bound dynatrace service - #230

Open
silvestre wants to merge 1 commit into
cloudfoundry:masterfrom
silvestre:feat/dynatrace-oneagent-injection
Open

feat: inject Dynatrace OneAgent for bound dynatrace service#230
silvestre wants to merge 1 commit into
cloudfoundry:masterfrom
silvestre:feat/dynatrace-oneagent-injection

Conversation

@silvestre

Copy link
Copy Markdown
Member
  • A short explanation of the proposed change:

Register the libbuildpack-dynatrace hook so a bound Dynatrace service triggers the OneAgent download at stage time and LD_PRELOAD it at launch.

  • An explanation of the use cases your change solves:

When deploying a binary, it can very useful to have Dynatrace support for obsevability. I believe all other buildpacks in the cloudfoundry org have Dynatrace support built-in. Fixes: #229

  • I have viewed signed and have submitted the Contributor License Agreement

  • I have made this pull request to the master branch

  • I have added an integration test

# Issue:
The binary-buildpack cannot instrument arbitrary binaries with Dynatrace OneAgent the way the go-buildpack does.

# Fix:
Register the `libbuildpack-dynatrace` hook (default `process` module) so a bound Dynatrace service triggers OneAgent download at stage time and `LD_PRELOAD` at launch. Wired into both CLIs, added an integration suite plus mock tenant fixture, and documented the binding and dynamic-linking caveat.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Dynatrace

1 participant