Hi @pedro.silva
Welcome to the Auth0 Community and thank you for your post!
From my findings after checking on the Auth0 Java SDK, unfortunately this does not currently provide a built-in method to log or count the retry counts, so at the moment the only way of keeping track on the server-side of the number of these retries would be creating a custom logic depending on the number of 429 responses received. Details about this rate limits can be found under this Knowledge Article.
Of course monitoring this type of “429” responses in the logs is still a way visualizing when the rate limits were reached, but tracking them in a single span makes this a lot harder. Constructing all this logic behind the scenes could be quite a hassle, so your idea of creating a Feedback on our community page sounds great and might help other as well !
Thanks,
Remus