Number of requests count

Hi Team,

Is there a way to check how many times are request has been made to a subscription or query call to fetch the data, including with retry logic request calls.

My requirement was to log data for a user, how many times a subscription is called along with retry request calls.

Thanks and Regards,