Skip to content

Conversation

ryan-lang
Copy link
Contributor

New support for json-rpc opencensus tracing.

To accomplish this without breaking changes, I created a new ServerBeforeCodec JSONRPC server option. Middleware should be able to inspect the details of the rpc request before the codec is invoked, but the existing ServerBefore hook is fired too early -- prior to JSON decode. The new ServerBeforeCodec func is invoked after JSON decode, but prior to codec decode.

@peterbourgon peterbourgon merged commit 1e9fdf6 into go-kit:master Nov 3, 2020
@sagikazarmark sagikazarmark added this to the v0.11.0 milestone Jun 19, 2021
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.

3 participants