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

Add common tags to server and client spans. #24

Merged
merged 1 commit into from
Nov 28, 2018
Merged

Add common tags to server and client spans. #24

merged 1 commit into from
Nov 28, 2018

Conversation

pkwarren
Copy link
Contributor

Add component=grpc-java, grpc.status=<code>, and error=true (for
non-OK status codes) to server and client spans. Add span.kind=server
to server spans and span.kind=client to client spans. Update tests to
reflect new tags and migrate some existing tests to use AssertJ.

Fixes #22.

Add `component=grpc-java`, `grpc.status=<code>`, and `error=true` (for
non-OK status codes) to server and client spans. Add `span.kind=server`
to server spans and `span.kind=client` to client spans. Update tests to
reflect new tags and migrate some existing tests to use AssertJ.

Fixes #22.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 83

  • 22 of 25 (88.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.9%) to 86.411%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/main/java/io/opentracing/contrib/grpc/ClientTracingInterceptor.java 5 6 83.33%
src/main/java/io/opentracing/contrib/grpc/ServerTracingInterceptor.java 11 13 84.62%
Totals Coverage Status
Change from base Build 82: 0.9%
Covered Lines: 248
Relevant Lines: 287

💛 - Coveralls

@malafeev malafeev merged commit 4032e71 into opentracing-contrib:master Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants