-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(injector): add custom Dash0 LD_PRELOAD injector #155
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TODOs as of f292f12: ✅ |
basti1302
force-pushed
the
injector
branch
8 times, most recently
from
October 21, 2024 10:51
0f45a9b
to
5dd3b60
Compare
basti1302
changed the title
Introduce the Dash0 Injector
feat(injector): add custom Dash0 LD_PRELOAD injector
Oct 21, 2024
basti1302
force-pushed
the
injector
branch
12 times, most recently
from
October 23, 2024 09:53
7386085
to
14d9986
Compare
basti1302
force-pushed
the
injector
branch
6 times, most recently
from
October 23, 2024 15:14
f751104
to
ab00394
Compare
basti1302
force-pushed
the
injector
branch
3 times, most recently
from
October 23, 2024 16:08
c6a9102
to
aafa553
Compare
Add LD_PRELOAD injector binary to the Dash0 instrumentation image. This image works irrespective of the libc flavour used by the dynamically-linked host process (e.g., Node v8, CPython, JVM). Environment variables that the host process looks up through getenv are modified on the fly, to inject Dash0 OpenTelemetry distributions. For now, this is only implemented for Node.js via NODE_OPTIONS. The injector replicates a subset of internal libc APIs related to string comparison and manipulation. This code is adapted from musl libc, and the respective copyright notice is included.
Also: - refactor test scripts - lint scripts with shellcheck
basti1302
force-pushed
the
injector
branch
10 times, most recently
from
October 26, 2024 09:48
fc4d0f3
to
566255d
Compare
basti1302
force-pushed
the
injector
branch
2 times, most recently
from
October 26, 2024 09:55
73a23b9
to
07ecffe
Compare
Also: Enable both tests to use an existing (local or remote) instrumentation image instead of building the instrumentation image from local sources.
Quality Gate passedIssues Measures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add to the Dash0 instrumentation image an
LD_PRELOAD
injector that:getenv
LibC API (currently implemented:NODE_OPTIONS
)The injector replicates internally a subset of the libc APIs related with string comparison and manipulation. That code is adapted from muse libc, and the respective copyright notice is included.