feat(embed): add TelemetrySettings provider bundle + NopTelemetry (PIPE-1066) - #284
Open
Dylan-M wants to merge 1 commit into
Open
feat(embed): add TelemetrySettings provider bundle + NopTelemetry (PIPE-1066)#284Dylan-M wants to merge 1 commit into
Dylan-M wants to merge 1 commit into
Conversation
Contributor
Author
This was referenced Aug 6, 2026
feat(o11y): per-instance metrics via injectable MeterProvider, drop package globals (PIPE-1066)
#285
Open
Open
…PE-1066) Assisted-by: Claude Opus 4.8
Dylan-M
force-pushed
the
dylanmyers/pipe-1066-spine-foundation
branch
from
August 14, 2026 19:22
d27466e to
36f0408
Compare
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.

Proposed Change
Adds
embed.TelemetrySettings, the single bundle blitz threads from a host (or thestandalone CLI) down through module construction. Every generator, output, and the
runtime records to the providers and logger it carries. Every field is optional with a
nil-safe fallback to the process globals, so a zero-value bundle behaves as blitz did
before providers were injectable.
NopTelemetry()returns a bundle wired to no-opproviders for tests and record-nothing paths.
Nothing consumes the bundle yet. Later PRs thread metrics, traces, and logs through it.
How to validate
This PR adds a type and changes no runtime behavior, so there is nothing to run yet. To
confirm it stands on its own:
go build ./...succeeds, and a built binary behaves identically to main.go test ./embed/exercises the nil-provider fallbacks andNopTelemetry.Checklist