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

Custom Span Name #4

Merged
merged 15 commits into from Jul 5, 2018
Merged

Custom Span Name #4

merged 15 commits into from Jul 5, 2018

Conversation

avnandu
Copy link
Contributor

@avnandu avnandu commented Jul 3, 2018

Changes allow the user to customize the span name by providing a function to the TracingMongoClient that alters the span name based on the user's needs. A function to add a prefix to the span name has already been provided in the MongoSpanNameProvider class. The function default will just provide the operation name.

@coveralls
Copy link

coveralls commented Jul 3, 2018

Pull Request Test Coverage Report for Build 28

  • 12 of 19 (63.16%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.9%) to 47.945%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/main/java/io/opentracing/contrib/mongo/TracingMongoClient.java 0 7 0.0%
Totals Coverage Status
Change from base Build 23: 1.9%
Covered Lines: 70
Relevant Lines: 146

💛 - Coveralls

pom.xml Outdated
@@ -55,7 +55,7 @@
</issueManagement>

<properties>
<java.version>1.7</java.version>
<java.version>1.8</java.version>
Copy link

@malafeev malafeev Jul 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MongoDriver support java 1.6+
So I think we cannot upgrade java version until MongoDriver will require it.

Copy link

@malafeev malafeev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@avnandu please downgrade java back to 1.7

@malafeev malafeev merged commit 005eed7 into opentracing-contrib:master Jul 5, 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.

None yet

4 participants