In Istio, a retried call is an attempt to retry a failed request to a service. To distinguish between a regular call and a retried call, you can use Istio's distributed tracing capabilities to track the request through the service mesh. Specifically, you can use the following steps:
Enable distributed tracing in Istio by deploying a tracing backend such as Jaeger or Zipkin.
Modify the code of the service to include a unique identifier in the request headers. This identifier can be used to track the request through the service mesh.
When a request is made to the service, the unique identifier is included in the request headers.
If the request fails and is retried, a new unique identifier is generated and included in the request headers.
The unique identifier can be used to distinguish between a regular call and a retried call in the tracing data. For example, the tracing data may show multiple requests with the same source and destination, but with different unique identifiers, indicating that a retried call occurred.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-01-26 11:00:00 +0000
Seen: 1 times
Last updated: Feb 11 '22
How can I deal with Expression.Error related to a column in Power Query?
How can you implement pagination in Oracle for the LISTAGG() function?
What is the process for implementing a FutureBuilder on an OnTap function in Flutter?
How can we require users to be logged in before they can access the root folders in WordPress?
In SCSS, what is the method for grouping and reusing a set of classes and styles?
How can popen() be used to direct streaming data to TAR?
How does iOS retrieve information from a BLE device?
How can Django Admin accommodate a variety of formats and locales for its input fields?