Cosmos DB Diagnostic Logs Not showing up RUs for Create operations

TUDOR33SUD14 5 Reputation points
2025-02-21T14:33:29.31+00:00

I am using CosmosDB for a while now, and I would like to take advantage of diagnostic logs to keep an eye on RU usage. Query logs work fine, HOWEVER my create requests are being logged with requestcharge equal to 0.

Does anyone have any idea why that happens? I attached a screenshot. Usually my writes are done using the batch API, so a write might resolve to a couple of items at a time in a transaction. The only RU usage that I'm seeing is for stored procedure.

Is this acceptable? Or is it a bug?
Here's a screenshot: Untitled.png

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.