Skip to content

RPC log with metadata support #5389

@litecy

Description

@litecy

In my project, some common parameter is passed though RPC metadata,such as userid

but the middleware UnaryStatInterceptor only log the request body

So we want the rpc metadata log into rpc call log use logx.Field

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureMarks an issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions