Skip to content

[wip] feat(observability/metrics): add Emitter, options, buckets, and shared utils#157

Draft
xytan0056 wants to merge 2 commits into
pr0-docsfrom
pr1-emitter-core
Draft

[wip] feat(observability/metrics): add Emitter, options, buckets, and shared utils#157
xytan0056 wants to merge 2 commits into
pr0-docsfrom
pr1-emitter-core

Conversation

@xytan0056

Copy link
Copy Markdown
Contributor

Introduces the observability/metrics package 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

@xytan0056 xytan0056 changed the title feat(observability/metrics): add Emitter, options, buckets, and share… [wip] feat(observability/metrics): add Emitter, options, buckets, and share… Jul 7, 2026
@xytan0056 xytan0056 force-pushed the pr1-emitter-core branch 7 times, most recently from def6e80 to 5179b24 Compare July 7, 2026 23:37
@xytan0056 xytan0056 changed the title [wip] feat(observability/metrics): add Emitter, options, buckets, and share… [wip] feat(observability/metrics): add Emitter, options, buckets, and shared utils Jul 7, 2026
@xytan0056 xytan0056 force-pushed the pr1-emitter-core branch 3 times, most recently from e41f798 to 0dacdc7 Compare July 7, 2026 23:52
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.
…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 xytan0056 changed the base branch from main to pr0-docs July 8, 2026 00:02
@xytan0056 xytan0056 force-pushed the pr0-docs branch 7 times, most recently from 763f930 to 59d8c93 Compare July 9, 2026 03:59
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.

1 participant