Get comprehensive insights into your Oracle Database performance with database monitoring, query analysis, and system health metrics using the New Relic Distribution of OpenTelemetry (NRDOT) Collector, running as a sibling container to an Oracle Database instance that's already running in Docker.
Guided installation
To install through the New Relic UI instead, go to one.newrelic.com > Integrations & Agents > Oracle (OpenTelemetry) . This page covers the Docker install path only.
팁
Looking to automate this at scale instead? Refer to Ansible install, Chef install, or Helm chart install for Kubernetes.
Prerequisites
Before you begin, ensure you have the following:
- Docker installed on the host.
- An Oracle Database container already running (Oracle Database
19cor later), withsqlplusavailable inside it. - The
syspassword for that container. - A valid New Relic license key.
- Network connectivity from the collector container to New Relic OTLP endpoint.
Configure database user and grant privileges
Create a monitoring user and grant it the views needed for metrics, query, and event collection by running SQL against your Oracle container with docker exec. Choose the tab that matches your deployment, either a multitenant Container Database (CDB) or a single Pluggable Database (PDB):
Ensure Docker network connectivity
Create a shared user-defined network (if you don't already have one) and connect your Oracle container to it, so the collector container can resolve it by name:
$docker network create <YOUR_DOCKER_NETWORK> 2>/dev/null || true$docker network connect <YOUR_DOCKER_NETWORK> <YOUR_ORACLE_CONTAINER_NAME> 2>/dev/null || true팁
Both commands are safe to re-run: || true swallows the "already exists" or "already connected" errors from a prior run.
Create the NRDOT Collector configuration
Choose the tab matching the user you created in Configure database user and grant privileges:
Configuration parameters
| Parameter | Description |
|---|---|
<YOUR_ORACLE_CONTAINER_NAME> | The name (or Docker DNS-resolvable hostname) of your running Oracle Database container. |
<YOUR_DB_USERNAME> | The monitoring user you created in Configure database user and grant privileges (the C## prefix is added automatically for CDB). |
<YOUR_DB_PASSWORD> | The password of the monitoring user you created in Configure database user and grant privileges. |
<YOUR_CDB_SERVICE_NAME> / <YOUR_PDB_SERVICE_NAME> | The Oracle service name for your CDB or PDB. |
<YOUR_NEWRELIC_OTLP_ENDPOINT> | Your New Relic OTLP endpoint. For more information, see New Relic OTLP endpoints. |
<YOUR_NEWRELIC_LICENSE_KEY> | Your New Relic license key. |
Start the NRDOT Collector container
Run the collector on the same Docker network as your Oracle container:
$docker run -d \> --name nrdot-collector \> --network <YOUR_DOCKER_NETWORK> \> --platform linux/amd64 \> -v "$PWD/oracle-config.yaml:/etc/nrdot-collector/oracle-config.yaml" \> newrelic/nrdot-collector:latest \> --config /etc/nrdot-collector/oracle-config.yaml팁
--platform linux/amd64 avoids architecture mismatches on Apple Silicon and other ARM64 hosts where the Oracle image itself typically only ships for AMD64. Drop it if your host and images are already AMD64-native.
Confirm the collector container is running:
$docker ps --filter name=nrdot-collectorIf it's not running, check its logs for errors. The most common causes are YAML indentation issues in oracle-config.yaml or an unreachable Oracle container:
$docker logs nrdot-collector팁
After changing oracle-config.yaml, restart the container to apply your changes:
$docker restart nrdot-collectorFind and use your data
Once your data is being collected, you can access comprehensive Oracle Database monitoring through the New Relic UI.
To find your Oracle Database entity in New Relic:
- Go to https://one.newrelic.com > All Capabilities > Databases.
- Set the search criteria as
instrumentation.provider = opentelemetry. - Select your Oracle Database from the list of entities.
Related articles
On-host CDB monitoring
Learn how to install and configure NRDOT Collector for on-host Oracle Container Database monitoring.
On-host PDB monitoring
Learn how to install and configure NRDOT Collector for on-host Oracle Pluggable Database monitoring.
Ansible install
Learn how to install and configure Oracle Database monitoring at scale with the newrelic.newrelic_install Ansible role.
Chef install
Learn how to install and configure Oracle Database monitoring at scale with the newrelic-install Chef cookbook.
Helm chart install
Learn how to install and configure Oracle Database monitoring on Kubernetes with the Helm chart.
Troubleshooting
Learn how to troubleshoot your Oracle Database monitoring setup in New Relic.
Metrics reference
Learn about the available metrics collected by the NRDOT Collector.