Skip to content

Outlier detection behavior for client cancellations and hedged streams #12834

@shivamgupta1

Description

@shivamgupta1

The stream tracer for outlier detection seems to record each stream closure with status.isOk() != true as an error. The rate of success is then used for success rate and failure percentage outlier detectors.

I'd like to understand more as to what happens in the following cases:

  • A hedged stream is cancelled because another winning stream was committed.
  • The client cancels the call due to context expiration or any other reason unrelated to the call itself.

Would it still be recorded as an error and accounted for outlier detection?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions