---
title: Azure CosmosDB for PostgreSQL
description: Track key Azure Cosmos DB for PostgreSQL metrics.
breadcrumbs: Docs > Integrations > Azure CosmosDB for PostgreSQL
---

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

# Azure CosmosDB for PostgreSQL

{% 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 for PostgreSQL](https://learn.microsoft.com/azure/cosmos-db/postgresql/introduction) is a managed PostgreSQL service that uses the Citus open source extension to distribute tables across multiple nodes. A cluster can start as a single node and add nodes as its scale and performance requirements grow.

Use the Datadog Azure integration to collect metrics and logs for Azure Cosmos DB for PostgreSQL. You can also use the out-of-the-box dashboard for immediate insights.

## 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 that need to be performed.

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

### Metrics{% #metrics %}

|  |
|  |
| **azure.dbforpostgresql_servergroupsv2.active_connections**(gauge)              | Active Connections.                                                                                                   |
| **azure.dbforpostgresql_servergroupsv2.apps_reserved_memory_percent**(gauge)  | Percentage of Commit Memory Limit Reserved by Applications.*Shown as percent*                                         |
| **azure.dbforpostgresql_servergroupsv2.cpu_percent**(gauge)                     | CPU percent.*Shown as percent*                                                                                        |
| **azure.dbforpostgresql_servergroupsv2.iops**(gauge)                             | IO operations per second.                                                                                             |
| **azure.dbforpostgresql_servergroupsv2.memory_percent**(gauge)                  | Memory percent.*Shown as percent*                                                                                     |
| **azure.dbforpostgresql_servergroupsv2.network_bytes_egress**(count)           | Network Out across active connections.*Shown as byte*                                                                 |
| **azure.dbforpostgresql_servergroupsv2.network_bytes_ingress**(count)          | Network In across active connections.*Shown as byte*                                                                  |
| **azure.dbforpostgresql_servergroupsv2.storage_percent**(gauge)                 | Storage percent.*Shown as percent*                                                                                    |
| **azure.dbforpostgresql_servergroupsv2.storage_used**(gauge)                    | Storage used.*Shown as byte*                                                                                          |
| **azure.dbforpostgresql_servergroupsv2.vm_cached_bandwidth_percent**(gauge)   | Percentage of cached disk bandwidth consumed by the VM.*Shown as percent*                                             |
| **azure.dbforpostgresql_servergroupsv2.vm_cached_iops_percent**(gauge)        | Percentage of cached disk IOPS consumed by the VM.*Shown as percent*                                                  |
| **azure.dbforpostgresql_servergroupsv2.vm_uncached_bandwidth_percent**(gauge) | Percentage of uncached disk bandwidth consumed by the VM.*Shown as percent*                                           |
| **azure.dbforpostgresql_servergroupsv2.vm_uncached_iops_percent**(gauge)      | Percentage of uncached disk IOPS consumed by the VM.*Shown as percent*                                                |
| **azure.dbforpostgresql_servergroupsv2.count**(gauge)                            | Count of DBForPostgreSQL serverGroupsv2.                                                                              |
| **azure.dbforpostgresql_servergroupsv2.replication_lag**(gauge)                 | Allows to see how much read replica nodes are behind their counterparts in the primary cluster.*Shown as millisecond* |
| **azure.dbforpostgresql_servergroupsv2.cpu_credits_consumed**(gauge)           | Total number of credits consumed by the node. Only available when burstable compute is provisioned on the node.       |
| **azure.dbforpostgresql_servergroupsv2.cpu_credits_remaining**(gauge)          | Total number of credits available to burst. Only available when burstable compute is provisioned on the node.         |

### Events{% #events %}

The Azure Cosmos DB for PostgreSQL integration does not include any events.

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

The Azure Cosmos DB for PostgreSQL integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

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