Skip to content

feat(observability/metrics): add context propagation#184

Closed
xytan0056 wants to merge 1 commit into
pr3-recordrequestfrom
pr4-context
Closed

feat(observability/metrics): add context propagation#184
xytan0056 wants to merge 1 commit into
pr3-recordrequestfrom
pr4-context

Conversation

@xytan0056

Copy link
Copy Markdown
Contributor

Adds emitter context propagation: WithEmitter(ctx, e) and FromContext(ctx), so handlers pull a request-scoped emitter instead of threading it through call signatures. FromContext returns a no-op emitter when none is set.

Stacked on #183.

@xytan0056
xytan0056 requested review from a team as code owners July 11, 2026 02:43
@xytan0056
xytan0056 force-pushed the pr3-recordrequest branch from fc409c7 to 92ec6d7 Compare July 11, 2026 02:47
@xytan0056
xytan0056 force-pushed the pr3-recordrequest branch from 92ec6d7 to 0c4fa79 Compare July 11, 2026 02:54
@xytan0056
xytan0056 force-pushed the pr3-recordrequest branch from 0c4fa79 to 4e0dd99 Compare July 11, 2026 03:09
@xytan0056 xytan0056 changed the title [WIP] feat(observability/metrics): add context propagation feat(observability/metrics): add context propagation Jul 11, 2026
@xytan0056
xytan0056 force-pushed the pr3-recordrequest branch from 4e0dd99 to 2d79c40 Compare July 11, 2026 03:22
@xytan0056
xytan0056 force-pushed the pr4-context branch 2 times, most recently from 7d9d3bf to 3b8d5d0 Compare July 11, 2026 03:30
@xytan0056
xytan0056 force-pushed the pr3-recordrequest branch from 2d79c40 to f8d2cad Compare July 12, 2026 22:12
@xytan0056
xytan0056 force-pushed the pr3-recordrequest branch from f8d2cad to 2d79c40 Compare July 12, 2026 22:16
@xytan0056
xytan0056 force-pushed the pr3-recordrequest branch from 2d79c40 to e2135eb Compare July 12, 2026 22:41
@xytan0056
xytan0056 force-pushed the pr3-recordrequest branch from e2135eb to cd577d8 Compare July 14, 2026 00:37
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