azureazure-cosmosdb

What is HEAD operation in CosmosDB reported in Azure Monitoring


This is AZ Monitoring showing the types of operations happening on CosmosDB. What is the Head operation reported 17.4K times in the above screenshot? I understand the operations Query, Create etc. I don't know what I am doing that results in Head operation and how can I reduce it. I couldn't find any public documentation about it.


Solution

  • Collection Head requests are internal metadata requests which are used to provide the Strong consistency guarantees. These requests are not charged. A transient increase in the number of collection head requests can happen when there is transient replication delay from the write region to the read region. These are usually resolved automatically.