Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

etcdserver: add grpc interceptor to log info on incoming request to etcdserver #9990

Merged
merged 3 commits into from
Aug 11, 2018

Commits on Aug 10, 2018

  1. etcdserver: add grpc interceptor to log info on incoming requests to

    etcd server
    
    To improve debuggability of etcd v3. Added a grpc interceptor to log
    info on incoming requests to etcd server. The log output includes
    remote client info, request content (with value field redacted), request
    handling latency, response size, etc. Uses zap logger if available,
    otherwise uses capnslog.
    
    Also did some clean up on the chaining of grpc interceptors on server
    side.
    Jingyi Hu committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    dc01734 View commit details
    Browse the repository at this point in the history
  2. vendor: add go-grpc-middleware

    Rebased to master PR etcd-io#9994.  Fixed a Go format issue in
    v3rpc/interceptor.go.  Updated vendor to include go-grpc-middleware.
    Jingyi Hu committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    3066294 View commit details
    Browse the repository at this point in the history
  3. etcdserver: code clean up

    Code clean up in interceptor.go
    Jingyi Hu committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    368010d View commit details
    Browse the repository at this point in the history