yarpc / yarpc-go

A message passing platform for Go
MIT License
401 stars 101 forks source link

[9/n] tlsmux: gRPC inbound integration #2141

Closed jronak closed 1 year ago

jronak commented 2 years ago

gRPC transport exposes a new inbound option, InboundMuxTLS - this enables tlsmux listener with the provided tls configuration. To receive tlsmux metrics, users can provide metric instance with the Meter transport option.

codecov[bot] commented 2 years ago

Codecov Report

Merging #2141 (6d5ab6f) into dev (afe7455) will decrease coverage by 0.02%. The diff coverage is 86.48%.

@@            Coverage Diff             @@
##              dev    #2141      +/-   ##
==========================================
- Coverage   87.76%   87.74%   -0.03%     
==========================================
  Files         254      254              
  Lines       14209    14242      +33     
==========================================
+ Hits        12471    12496      +25     
- Misses       1344     1350       +6     
- Partials      394      396       +2     
Impacted Files Coverage Δ
transport/grpc/options.go 91.00% <75.00%> (-2.19%) :arrow_down:
transport/grpc/inbound.go 97.43% <85.71%> (-2.57%) :arrow_down:
transport/grpc/config.go 95.48% <100.00%> (+0.06%) :arrow_up:
yarpcconfig/builder.go 98.76% <100.00%> (+0.04%) :arrow_up:
transport/internal/tlsmux/listener.go 87.50% <0.00%> (-2.28%) :arrow_down:
transport/tchannel/peer.go 96.05% <0.00%> (-1.32%) :arrow_down:
peer/hashring32/internal/hashring32/hashring32.go 97.29% <0.00%> (-1.09%) :arrow_down:
transport/internal/tlsmux/conn_sniffer.go 100.00% <0.00%> (+12.50%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update afe7455...6d5ab6f. Read the comment docs.