[wip] feat(observability/metrics): add Emitter, options, buckets, and shared utils - #157
Closed
xytan0056 wants to merge 2 commits into
Closed
[wip] feat(observability/metrics): add Emitter, options, buckets, and shared utils#157xytan0056 wants to merge 2 commits into
xytan0056 wants to merge 2 commits into
Conversation
xytan0056
force-pushed
the
pr1-emitter-core
branch
from
July 7, 2026 23:08
5a5d063 to
c1f00c2
Compare
xytan0056
force-pushed
the
pr1-emitter-core
branch
7 times, most recently
from
July 7, 2026 23:37
def6e80 to
5179b24
Compare
xytan0056
force-pushed
the
pr1-emitter-core
branch
3 times, most recently
from
July 7, 2026 23:52
e41f798 to
0dacdc7
Compare
Ports the Tango Metrics Inventory RFC into the repo. Covers the Emitter contract, buckets, TrackInFlight, RecordFailure, context propagation, shared constants, and OSS / internal / CLI usage.
xytan0056
force-pushed
the
pr1-emitter-core
branch
from
July 7, 2026 23:58
0dacdc7 to
6c901b8
Compare
…d names Emitter is an interface; the default implementation wraps tally.Scope with op-as-subscope semantics, base tags via Tagged, default histogram buckets, and TrackInFlight. New(nil) is safe (NoopScope).
xytan0056
force-pushed
the
pr1-emitter-core
branch
from
July 8, 2026 00:01
6c901b8 to
d63fdd9
Compare
xytan0056
force-pushed
the
pr1-emitter-core
branch
from
July 8, 2026 18:08
d63fdd9 to
4b61b68
Compare
xytan0056
force-pushed
the
pr1-emitter-core
branch
from
July 8, 2026 18:25
4b61b68 to
d63fdd9
Compare
xytan0056
force-pushed
the
pr0-docs
branch
7 times, most recently
from
July 9, 2026 03:59
763f930 to
59d8c93
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.
Introduces the
observability/metricspackage skeleton — a thin flavoured wrapper over tally.Scope with op-as-subscope semantics, per-emitter base tags via Tagged, and default histogram buckets.nil-scope is safe.No consumers migrate in this PR; adoption comes later.
Why?
What?
Test Plan
Issue