---
title: Azure HorizonDB
description: Monitor Azure HorizonDB cluster connections, CPU, memory, and storage use.
breadcrumbs: Docs > Integrations > Azure HorizonDB
---

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

# Azure HorizonDB
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 HorizonDB](https://learn.microsoft.com/azure/horizondb/overview) is a managed PostgreSQL-compatible database service. This integration collects connection counts, CPU, memory, and storage utilization metrics for HorizonDB clusters.

## 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.horizondb_clusters.count**(gauge)                                        | Number of Azure HorizonDB resources.                                                                                                                |
| **azure.horizondb_clusters.postgre_sql_instance_is_alive**(gauge)            | Whether the PostgreSQL process is running.                                                                                                          |
| **azure.horizondb_clusters.failed_connections**(count)                          | Number of failed connections.                                                                                                                       |
| **azure.horizondb_clusters.cpu_utilization**(gauge)                             | Percentage of host CPU in use.*Shown as percent*                                                                                                    |
| **azure.horizondb_clusters.memory_utilization**(gauge)                          | Percentage of host memory in use.*Shown as percent*                                                                                                 |
| **azure.horizondb_clusters.active_connections**(gauge)                          | Number of active database connections.                                                                                                              |
| **azure.horizondb_clusters.successful_connections**(count)                      | Number of successful connections.                                                                                                                   |
| **azure.horizondb_clusters.maximum_connections**(gauge)                         | Maximum number of database connections configured through server parameters.                                                                        |
| **azure.horizondb_clusters.network_egress**(count)                              | Amount of network data sent across active connections.*Shown as byte*                                                                               |
| **azure.horizondb_clusters.network_ingress**(count)                             | Amount of network data received across active connections.*Shown as byte*                                                                           |
| **azure.horizondb_clusters.total_transactions**(count)                          | Number of transactions executed in this database.                                                                                                   |
| **azure.horizondb_clusters.transactions_committed**(count)                      | Number of transactions in this database that have been committed.                                                                                   |
| **azure.horizondb_clusters.transactions**(gauge)                                 | Number of transactions executed per second.*Shown as transaction*                                                                                   |
| **azure.horizondb_clusters.transactions_rolled_back**(count)                   | Number of transactions in this database that have been rolled back.                                                                                 |
| **azure.horizondb_clusters.tuples_deleted**(count)                              | Number of rows deleted by queries in this database.                                                                                                 |
| **azure.horizondb_clusters.tuples_fetched**(count)                              | Number of rows fetched by queries in this database.                                                                                                 |
| **azure.horizondb_clusters.tuples_inserted**(count)                             | Number of rows inserted by queries in this database.                                                                                                |
| **azure.horizondb_clusters.tuples_returned**(count)                             | Number of rows returned by queries in this database.                                                                                                |
| **azure.horizondb_clusters.tuples_updated**(count)                              | Number of rows updated by queries in this database.                                                                                                 |
| **azure.horizondb_clusters.deadlocks**(count)                                    | Number of deadlocks detected in this database.                                                                                                      |
| **azure.horizondb_clusters.oldest_backend**(gauge)                              | Age of the oldest backend, regardless of its state.*Shown as second*                                                                                |
| **azure.horizondb_clusters.oldest_query**(gauge)                                | Age of the longest-running active query.*Shown as second*                                                                                           |
| **azure.horizondb_clusters.oldest_transaction**(gauge)                          | Age of the longest-running active transaction.*Shown as second*                                                                                     |
| **azure.horizondb_clusters.oldest_xmin**(gauge)                                 | Actual value of the oldest xmin. An xmin that isn't increasing indicates long-running transactions that can prevent dead tuples from being removed. |
| **azure.horizondb_clusters.oldest_xmin_age**(gauge)                            | Number of transactions that have passed since the oldest xmin.                                                                                      |
| **azure.horizondb_clusters.sessions_by_state**(gauge)                          | Sessions by state, as shown in the pg_stat_activity view. This metric categorizes client backends into states such as active or idle.               |
| **azure.horizondb_clusters.sessions_by_wait_event_type**(gauge)              | Sessions by the type of event the client backend is waiting for.                                                                                    |
| **azure.horizondb_clusters.buffer_pool_cache_hit_ratio**(gauge)              | Percentage of reads served from shared buffers.*Shown as percent*                                                                                   |
| **azure.horizondb_clusters.maximum_used_transaction_i_ds**(gauge)            | Largest number of transaction IDs consumed, which shows how close the cluster is to transaction ID wraparound.                                      |
| **azure.horizondb_clusters.temporary_files**(count)                             | Number of temporary files created by queries in this database.                                                                                      |
| **azure.horizondb_clusters.temporary_files_size**(count)                       | Amount of data written to temporary files by queries in this database.*Shown as byte*                                                               |
| **azure.horizondb_clusters.commit_latency**(gauge)                              | Maximum time the database engine takes to complete a commit operation.*Shown as microsecond*                                                        |
| **azure.horizondb_clusters.storage_used**(gauge)                                | Amount of storage space used, which can include the database files and the transaction log tail.*Shown as byte*                                     |
| **azure.horizondb_clusters.wal_write_throughput**(gauge)                       | Amount of write-ahead log (WAL) data written to storage per second.*Shown as byte*                                                                  |
| **azure.horizondb_clusters.wal_write_iops**(gauge)                             | Number of write-ahead log (WAL) write I/O operations to storage per second.*Shown as operation*                                                     |
| **azure.horizondb_clusters.write_latency**(gauge)                               | Maximum time taken to flush a write-ahead log (WAL) record.*Shown as microsecond*                                                                   |
| **azure.horizondb_clusters.queries**(gauge)                                      | Number of top-level queries executed per second, excluding queries nested within functions.*Shown as query*                                         |
| **azure.horizondb_clusters.database_size**(gauge)                               | Size of the database.*Shown as byte*                                                                                                                |
| **azure.horizondb_clusters.max_logical_replication_delay**(gauge)             | Maximum lag across all logical replication slots.*Shown as byte*                                                                                    |
| **azure.horizondb_clusters.page_read_iops**(gauge)                             | Number of page read I/O operations from storage per second.*Shown as operation*                                                                     |
| **azure.horizondb_clusters.page_read_throughput**(gauge)                       | Amount of page data read from storage per second.*Shown as byte*                                                                                    |
| **azure.horizondb_clusters.ssd_cache_hit_ratio**(gauge)                       | Percentage of reads served by the local SSD cache.*Shown as percent*                                                                                |
| **azure.horizondb_clusters.ssd_cache_hits**(gauge)                             | Number of reads served by the local SSD cache.                                                                                                      |
| **azure.horizondb_clusters.ssd_cache_misses**(gauge)                           | Number of reads that missed the SSD cache and were served from storage.                                                                             |
| **azure.horizondb_clusters.ssd_cache_writes**(gauge)                           | Number of writes to the SSD cache.                                                                                                                  |
| **azure.horizondb_clusters.analyze_user_tables**(gauge)                        | Number of times user tables have been manually analyzed in this database.                                                                           |
| **azure.horizondb_clusters.autoanalyze_user_tables**(gauge)                    | Number of times user tables have been analyzed by the autovacuum daemon in this database.                                                           |
| **azure.horizondb_clusters.autovacuum_user_tables**(gauge)                     | Number of times user tables have been vacuumed by the autovacuum daemon in this database.                                                           |
| **azure.horizondb_clusters.bloat_percent**(gauge)                               | Estimated bloat percentage for user tables in this database.*Shown as percent*                                                                      |
| **azure.horizondb_clusters.estimated_dead_rows_user_tables**(gauge)          | Estimated number of dead rows in user tables in this database.                                                                                      |
| **azure.horizondb_clusters.estimated_live_rows_user_tables**(gauge)          | Estimated number of live rows in user tables in this database.                                                                                      |
| **azure.horizondb_clusters.modified_rows_since_analyze_user_tables**(gauge) | Estimated number of rows modified since user tables were last analyzed in this database.                                                            |
| **azure.horizondb_clusters.user_tables**(gauge)                                 | Number of user tables in this database.                                                                                                             |
| **azure.horizondb_clusters.user_tables_analyzed**(gauge)                       | Number of user tables analyzed in this database.                                                                                                    |
| **azure.horizondb_clusters.user_tables_autoanalyzed**(gauge)                   | Number of user tables analyzed by the autovacuum daemon in this database.                                                                           |
| **azure.horizondb_clusters.user_tables_autovacuumed**(gauge)                   | Number of user tables vacuumed by the autovacuum daemon in this database.                                                                           |
| **azure.horizondb_clusters.user_tables_vacuumed**(gauge)                       | Number of user tables vacuumed in this database.                                                                                                    |

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

Azure HorizonDB does not include any service checks.

### Events{% #events %}

Azure HorizonDB does not include any events.

## Troubleshooting{% #troubleshooting %}

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