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

Use RpcRequest.method() as Zipkin span name #221

Merged
merged 1 commit into from
Aug 9, 2016

Conversation

trustin
Copy link
Member

@trustin trustin commented Aug 9, 2016

Motivation:

Pre-0.21 used a Thrift method name as Zipkin span name, but 0.21 always
uses HTTP method name.

Modifications:

  • Use RpcRequest.method() as Zipkin span name if available via
    RequestLog

Result:

More conprehensive and Backward-compatible behavior

Motivation:

Pre-0.21 used a Thrift method name as Zipkin span name, but 0.21 always
uses HTTP method name.

Modifications:

- Use RpcRequest.method() as Zipkin span name if available via
  RequestLog

Result:

More conprehensive and Backward-compatible behavior
@trustin trustin added the defect label Aug 9, 2016
@trustin trustin added this to the 0.21.3.Final milestone Aug 9, 2016
@codecov-io
Copy link

codecov-io commented Aug 9, 2016

Current coverage is 64.02% (diff: 100%)

Merging #221 into master will decrease coverage by 0.12%

@@             master       #221   diff @@
==========================================
  Files           277        277          
  Lines         10588      10596     +8   
  Methods           0          0          
  Messages          0          0          
  Branches       1531       1533     +2   
==========================================
- Hits           6792       6784     -8   
- Misses         3057       3073    +16   
  Partials        739        739          

Powered by Codecov. Last update eb3f036...ab40a5a

@kojilin
Copy link
Member

kojilin commented Aug 9, 2016

LGTM

@kojilin kojilin merged commit 5c4431b into line:master Aug 9, 2016
@trustin trustin deleted the use_rpc_method_as_span_name branch August 9, 2016 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants