---
title: Configuration reference for PostgreSQL monitoring with NRDOT
source: https://docs.newrelic.com/docs/opentelemetry/db360/postgresql/config-reference
---

This reference provides comprehensive YAML configurations for PostgreSQL monitoring with the New Relic Distribution of OpenTelemetry (NRDOT) Collector. These full-feature configurations include the complete PostgreSQL metric catalog for production environments across self-hosted and Amazon RDS deployments.

> #### ⚠️ IMPORTANT
>
> **Looking to get started quickly?** These are advanced configurations for production use. If you're setting up PostgreSQL monitoring for the first time, we recommend starting with the standard configuration in our setup guides and returning to these comprehensive configurations once you've verified basic functionality.

## Self-hosted [#hosted]

**For self-hosted PostgreSQL**

This configuration enables the complete PostgreSQL metric catalog the `nrpostgresql` receiver can produce, without adding host-level metrics.

> #### ⚠️ IMPORTANT
>
> PostgreSQL integration via NRDOT Collector follows standard [data ingest pricing](https://docs.newrelic.com/docs/accounts/accounts-billing/new-relic-one-pricing-billing/data-ingest-billing/#data). Note that full feature configuration ingests more data than a standard setup, which may increase your overall bill.

## RDS [#rds]

**For Amazon RDS**

This configuration enables the complete PostgreSQL metric catalog the `nrpostgresql` receiver can produce, without adding host-level metrics.

> #### ⚠️ IMPORTANT
>
> PostgreSQL integration via NRDOT Collector follows standard [data ingest pricing](https://docs.newrelic.com/docs/accounts/accounts-billing/new-relic-one-pricing-billing/data-ingest-billing/#data). Note that full feature configuration ingests more data than a standard setup, which may increase your overall bill.

## Related documentation [#related-docs]

[Self-hosted instrumentation](https://docs.newrelic.com/docs/opentelemetry/db360/postgresql/hosted)

Learn how to set up PostgreSQL monitoring in self-hosted environments with New Relic.

[RDS instrumentation](https://docs.newrelic.com/docs/opentelemetry/db360/postgresql/rds)

Learn how to set up PostgreSQL monitoring in RDS environments with New Relic.

[Metrics reference](https://docs.newrelic.com/docs/opentelemetry/db360/postgresql/metrics-reference)

Learn about the available metrics collected by the NRDOT Collector.
