I have a service(Service-B) which talks to another service(service-A) via GRPC. The GRPC server(service-A) is coded to return an error on every request. In the client, I have implemented a retry mechanism to retry calls to the server on every error max of 10 times. I am trying to print the logs of how many times the call was retried. I am doing this in my client(service-B).
Some logs of how many times the calls were retried.
What did you see instead?
No logs. However, when I print the context(ctx) or the trace(currentTrace), I do see the trace in the log. I also saw an Events() method in both the Trace and EventLog files. But it is not in the interface, so I cannot make use of the method. I need some help as to how I can print the trace of the retries.
The text was updated successfully, but these errors were encountered: