---
title: Azure Cosmos DB Garnet Cache
description: >-
  Monitor Azure Cosmos DB Garnet Cache clients, store size, and processing
  latency.
breadcrumbs: Docs > Integrations > Azure Cosmos DB Garnet Cache
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Azure Cosmos DB Garnet Cache
Integration version1.0.0
{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

[Azure Cosmos DB Garnet Cache](https://microsoft.github.io/garnet/docs/azure/overview) is a managed, Redis-compatible cache service built on the Garnet cache-store from Microsoft Research. This integration collects connected client counts, store sizes, command rates, and mean and 99th percentile processing latency for Garnet clusters. The integration also collects CPU, memory, and network metrics.

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Microsoft Azure integration](https://docs.datadoghq.com/integrations/azure.md) first. There are no other installation steps.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **azure.documentdb_garnetclusters.count**(gauge)                                           | Number of Azure Cosmos DB Garnet Cache resources.                                                                                  |
| **azure.documentdb_garnetclusters.garnet_connected_clients**(gauge)                      | Number of connected clients.                                                                                                       |
| **azure.documentdb_garnetclusters.garnet_index_size**(gauge)                             | Size of the index in the main store.*Shown as byte*                                                                                |
| **azure.documentdb_garnetclusters.garnet_log_size**(gauge)                               | Size of the log in the main store.*Shown as byte*                                                                                  |
| **azure.documentdb_garnetclusters.garnet_main_store_size**(gauge)                       | Size of the main Garnet store, including its index, log, and overflow.*Shown as byte*                                              |
| **azure.documentdb_garnetclusters.garnet_read_cache_size**(gauge)                       | Size of the read cache in the main store.*Shown as byte*                                                                           |
| **azure.documentdb_garnetclusters.garnet_latency_mean**(gauge)                           | Mean server-side processing latency per network receive call for non-admin requests.*Shown as microsecond*                         |
| **azure.documentdb_garnetclusters.garnet_latency_p99**(gauge)                            | Server-side processing latency at the 99th percentile (P99) per network receive call for non-admin requests.*Shown as microsecond* |
| **azure.documentdb_garnetclusters.garnet_total_commands_processed_rate**(gauge)        | Number of commands processed per second.*Shown as command*                                                                         |
| **azure.documentdb_garnetclusters.garnet_total_read_commands_processed_rate**(gauge)  | Number of read commands processed per second.*Shown as command*                                                                    |
| **azure.documentdb_garnetclusters.garnet_total_write_commands_processed_rate**(gauge) | Number of write commands processed per second.*Shown as command*                                                                   |
| **azure.documentdb_garnetclusters.cpu**(gauge)                                             | Percentage of each CPU's capacity in active use.*Shown as percent*                                                                 |
| **azure.documentdb_garnetclusters.ethtool_rx_bytes**(gauge)                              | Cumulative number of bytes received over the network.*Shown as byte*                                                               |
| **azure.documentdb_garnetclusters.ethtool_rx_packets**(gauge)                            | Cumulative number of packets received over the network.                                                                            |
| **azure.documentdb_garnetclusters.ethtool_tx_bytes**(gauge)                              | Cumulative number of bytes transmitted over the network.*Shown as byte*                                                            |
| **azure.documentdb_garnetclusters.ethtool_tx_packets**(gauge)                            | Cumulative number of packets transmitted over the network.                                                                         |
| **azure.documentdb_garnetclusters.percent_mem**(gauge)                                    | Percentage of memory in use.*Shown as percent*                                                                                     |
| **azure.documentdb_garnetclusters.total_cpu**(gauge)                                      | Average percentage of CPU capacity in active use across all CPUs.*Shown as percent*                                                |

### Service Checks{% #service-checks %}

The Azure Cosmos DB Garnet Cache integration does not include any service checks.

### Events{% #events %}

The Azure Cosmos DB Garnet Cache integration does not include any events.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
