-
Notifications
You must be signed in to change notification settings - Fork 79
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
Origin metrics for request cancellations count all requests #199
Comments
mikkokar
added a commit
to mikkokar/styx
that referenced
this issue
Jul 10, 2018
mikkokar
added a commit
that referenced
this issue
Jul 10, 2018
mikkokar
added a commit
to mikkokar/styx
that referenced
this issue
Jul 10, 2018
…pediaGroup#209) (cherry picked from commit 4123874)
mikkokar
added a commit
to mikkokar/styx
that referenced
this issue
Jul 10, 2018
…pediaGroup#209) (cherry picked from commit 4123874)
Merged to both |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
The metric
<prefix>.origins.<origin-id>.requests.cancelled.count
counts all requests, not just cancelled requests.Detailed description
StyxHttpClient
assumes that any unsubscription is a cancellation and updates the origin cancellation metrics accordingly.In reality, RxJava calls
unsubscribe
whenever an observable terminates.We need a way to allow
StyxHttpClient
to distinguish cancellations from other situations.Acceptance criteria
The text was updated successfully, but these errors were encountered: