• /
  • EnglishEspañolFrançais日本語한국어Português
  • EntrarComeçar agora

Install and configure OCI metrics and logs monitoring

|View as Markdown (English)

Use this guide to send both OCI metrics and logs to New Relic. Choosing both sends metrics and logs together, so you can correlate them for the same OCI resources. To send only one data type, see Monitor OCI metrics or Forward OCI logs.

Compatibility and requirements

Before you begin, make sure you have:

  • A New Relic account with infrastructure monitoring permissions in a supported region (US, EU, or JP)
  • A valid New Relic ingest license key and user key
  • An OCI tenancy with an Identity and Access Management (IAM) domain, and temporary administrative access to that domain and the root compartment, enough to complete Workload Identity Federation (WIF) setup, the mechanism New Relic uses to authenticate without storing long-lived credentials. You can revoke this access once setup is complete.
  • Your OCI tenancy OCID and home region (for example, us-ashburn-1)
  • An OCI API signing key (only if you're deploying with Terraform)

Guided installation

Guided installation is available at one.newrelic.com > Integrations & Agents > Oracle Cloud Infrastructure. The UI walks you through connecting your OCI account, then instrumenting the metric namespaces and log groups you want to monitor.

Choose both data types

Follow these steps:

  1. Select both Metrics (for performance and usage statistics) and Logs (for detailed event and audit records).
  2. Click Continue.

Choose your integration method and configure the integration

Select your preferred integration method to ingest OCI data into New Relic based on your organizational needs:

Instrument your metric namespaces and log groups

Once you create the connection, the OCI page in New Relic shows separate views for metrics and logs, each with its own Add instrumentation control:

  1. Click Add instrumentation, filtered to Not instrumented tab by default.
  2. Expand a compartment to see its individual metric namespaces (or log groups), and select the ones you want to monitor. For logs, you can also turn on Enable audit logs to include OCI audit logs.
  3. Confirm your selection. New Relic shows a summary of how many compartments and namespaces (or log groups) you're about to instrument. Then click Deploy to OCI.
  4. After the deployment finishes in OCI, the compartment moves to the Instrumented tab, and its data appears at one.newrelic.com > Infrastructure > OCI.
  5. Switch to the Logs view and repeat steps 1–4 there.

Data can take up to 30 minutes to appear. If you don't see it after that, check the deployment status in the OCI console.

To instrument additional namespaces or log groups later, return to the OCI page in New Relic and repeat these steps.

Find and use your data

Once your data starts appearing at one.newrelic.com > Infrastructure > OCI, confirm the integration is working and put it to use:

  1. Verify that your OCI account appears in the integrations list.

  2. Confirm that you're receiving data (metrics and logs). To confirm logs, check either of these places:

    • The logs UI: go to one.newrelic.com > Logs and confirm that your OCI logs appear.

    • The NRQL query tools: run a NRQL query like this:

      SELECT * FROM Log
  3. Create alert conditions for key OCI metrics to get proactive notifications about performance issues.

  4. Build custom dashboards to visualize your OCI infrastructure data and monitor performance trends.

If you don't see data after 30 minutes, see Troubleshooting.

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.