-
Notifications
You must be signed in to change notification settings - Fork 232
Conversation
Codecov Report
@@ Coverage Diff @@
## master #623 +/- ##
============================================
- Coverage 89.62% 89.37% -0.25%
+ Complexity 564 562 -2
============================================
Files 69 69
Lines 2063 2071 +8
Branches 262 263 +1
============================================
+ Hits 1849 1851 +2
- Misses 134 138 +4
- Partials 80 82 +2
Continue to review full report at Codecov.
|
wait tracerresolver has to be updated too |
I've recently found the error where the library is instrumented using It failed at runtime, when Stack trace
This class has been modified, but the method haven't. Could the error have been caused by version conflicts of the interface on the classpath, or is this something should be tackled by the bump as well? (I didn't have time yet to test it with this PR code tho, sorry about that) |
@bltavares Just tried calling |
@objectiser It seems that it is loading another version of It fails with Opentracing dep tree
|
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
@Override | ||
public void close() { | ||
wrapped.close(); | ||
if (finishSpanOnClose) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: could short-circuit this at the top of the method:
if (!finishSpanOnClose) {
return scopeManager.activate(start());
}
build.gradle
Outdated
ext.guavaVersion = getProperty('guavaVersion','18.0') | ||
ext.apacheThriftVersion = getProperty('apacheThriftVersion','0.12.0') | ||
ext.jerseyVersion = getProperty('jerseyVersion','2.22.2') | ||
ext.slf4jVersion = getProperty('slf4jVersion','1.7.25') | ||
ext.gsonVersion = getProperty('gsonVersion','2.8.2') | ||
ext.tracerResolverVersion = getProperty('tracerResolverVersion','0.1.6') | ||
ext.tracerResolverVersion = getProperty('tracerResolverVersion','0.1.7') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version 0.1.8 has been released with a couple of changes (adding module name and supporting classloader parameter).
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
@Deprecated | ||
public JaegerSpan startManual() { | ||
// @Override keep compatibility with 0.32.0 | ||
public Span startManual() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this remain JaegerSpan startManual()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, It has to be Span
now as it does not override the API anymore.
} | ||
|
||
// @Override keep compatibility with 0.32.0 | ||
public Span span() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this return JaegerSpan
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the previous message, we cannot return covariant type as the method is not overridden.
@@ -89,25 +94,30 @@ public void testActiveSpanAutoReference() { | |||
} | |||
|
|||
@Test | |||
@SuppressWarnings("deprecation") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this test be here now? Isn't it covered in the 0.32 tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine keeping it here too. Here it uses the direct type whereas in the 0.32 test it uses old interface.
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay [email protected]