SkyAPM / go2sky

Distributed tracing and monitor SDK in Go for Apache SkyWalking APM
https://skywalking.apache.org/
Apache License 2.0
448 stars 122 forks source link

add 'Authentication' for grpc request #60

Closed limfriend closed 4 years ago

limfriend commented 4 years ago

Requirement or improvement Please describe about your requirements or improvement suggestions. In some service provider user case, they asked for authentication of agent about data uplink. Add an optional config item in agent side, named auth.token. This token will go with every request.

Related issues apache/skywalking#934

codecov-commenter commented 4 years ago

Codecov Report

Merging #60 into master will increase coverage by 0.13%. The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   69.91%   70.04%   +0.13%     
==========================================
  Files          14       14              
  Lines         668      671       +3     
==========================================
+ Hits          467      470       +3     
  Misses        160      160              
  Partials       41       41              
Impacted Files Coverage Δ
reporter/grpc.go 61.74% <66.66%> (+0.63%) :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 fdb185d...4b9179b. Read the comment docs.