As I know,If you want get RUs
of executeStoredProcedure
method in Cosmos DB SDK, please use getRequestCharge()
method. It won't show in the portal.
Such as code:
StoredProcedureResponse resourceResponse = documentClient.executeStoredProcedure("dbs/db/colls/item/sprocs/b",requestOptions ,null);
System.out.println(resourceResponse.getRequestCharge());
If you want to get request charge of internal SQL in stored procedure.It can't be done so far.You could see this previous thread.
This is not available today with Azure Cosmos DB. The
['x-ms-request-charge'] value will be in the range of the RUs consumed
by the individual operations performed outside the stored procedure.
If you do concern this feature, you could submit feedback here to trace the progress.
Hope it helps you.