feat: exporter toolkit bootstrap#394
Open
nicolastakashi wants to merge 2 commits into
Open
Conversation
eec061a to
89732e0
Compare
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
89732e0 to
6263465
Compare
Member
|
I think this is a continuation of #147 |
6263465 to
45e6db8
Compare
Author
ArthurSens
reviewed
May 21, 2026
Member
ArthurSens
left a comment
There was a problem hiding this comment.
Really cool! This can be so easily applied to a lot of exporters :)
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
45e6db8 to
9138d4c
Compare
ArthurSens
approved these changes
May 21, 2026
Member
ArthurSens
left a comment
There was a problem hiding this comment.
LGTM, but let's see what exporter-toolkit maintainers have to say :)
This file contains hidden or 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
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.
Summary
This adds a new optional bootstrap package to exporter-toolkit for exporters that want a shared startup path for common process wiring. Today, many exporters duplicate the same startup concerns around:
This PR introduces an additive package that can own those shared pieces without changing the existing web package API or forcing any current exporter to migrate.
Why
The goal is to reduce repeated startup code across exporters while keeping boundaries clear:
This is intentionally additive:
A key design choice in this PR is keeping web.telemetry-path ownership in bootstrap, not in web.FlagConfig, so transport concerns and exporter routing concerns do not get mixed together. It also keeps the existing web startup path intact.
Startup Example
Without bootstrap:
With bootstrap:
Notes