-
Notifications
You must be signed in to change notification settings - Fork 70
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
OpenTracing support #595
OpenTracing support #595
Conversation
Merge is blocked by zalando/opentracing-toolbox#204 which in turn requires opentracing/opentracing-java#314 ⌛ |
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.
We will also have to update the README
of the starter
riptide-opentracing/src/main/java/org/zalando/riptide/opentracing/span/ErrorSpanDecorator.java
Outdated
Show resolved
Hide resolved
...t-autoconfigure/src/main/java/org/zalando/riptide/autoconfigure/DefaultRiptideRegistrar.java
Outdated
Show resolved
Hide resolved
riptide-opentracing/README.md
Outdated
If you still want to enable it, you can do so by just registering the missing span decorator: | ||
|
||
```java | ||
new OpenTracingPlguin(tracer) |
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.
typo: s/OpenTracingPlguin/OpenTracingPlugin
return extract(template, arguments.getUriVariables()); | ||
} | ||
|
||
@Hack("Pretty dirty, but I couldn't find any other way...") |
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.
🤣
...t-autoconfigure/src/main/java/org/zalando/riptide/autoconfigure/DefaultRiptideRegistrar.java
Outdated
Show resolved
Hide resolved
I should add a test that verifies that an error response that is retried and eventually succeeds is not counted as an error. The first attempt should though. |
Retries should still use the |
Alright, that works then. Thanks for the info! |
2123c7f
to
28486f6
Compare
938f275
to
4a77084
Compare
4a77084
to
6b7442f
Compare
b536e82
to
6d2929d
Compare
[![Build Status](https://img.shields.io/travis/zalando/riptide/master.svg)](https://travis-ci.org/zalando/riptide) | ||
[![Coverage Status](https://img.shields.io/coveralls/zalando/riptide/master.svg)](https://coveralls.io/r/zalando/riptide) | ||
[![Code Quality](https://img.shields.io/codacy/grade/1fbe3d16ca544c0c8589692632d114de/master.svg)](https://www.codacy.com/app/whiskeysierra/riptide) | ||
[![Javadoc](https://www.javadoc.io/badge/org.zalando/riptide-metrics.svg)](http://www.javadoc.io/doc/org.zalando/riptide-metrics) |
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.
copy-pasta
6d2929d
to
fced0a5
Compare
👍 |
Description
Added the ability to manage client span(s), decorate spans and inject the span context into requests.
Motivation and Context
#509
Types of changes
Checklist: