OCI QuickStart is in Preview. Use
this form to submit your request today.
Datadog’s OCI QuickStart is a fully managed, single-flow setup experience that helps you monitor your OCI infrastructure and applications in just a few clicks. OCI QuickStart creates the necessary infrastructure for forwarding metrics, logs, and resource data to Datadog, and automatically discovers new resources or OCI compartments for data collection.
Note: Only metrics are sent by default. Enable log collection and resource data collection from the Datadog OCI integration tile after completing this setup.
To set up the infrastructure for metric and log forwarding to Datadog:
The integration requires using Oracle Service Connector Hubs to forward data to Datadog. It is recommended that you request a service limit increase before completing the setup. The approximate number of Service Connector Hubs you need is:
$$\text"Service Connector Hubs" = \text"Number of compartments in tenancy" / \text"5"$$
- Your OCI user account needs the Cloud Administrator role to complete these steps
- You must be logged into OCI in the tenancy you want to integrate with
- You must be logged into OCI with the Home Region selected in the top right of the screen
- Your OCI user account needs to be in the Default Identity Domain
- Your OCI user account must be able to create a user, user group, and dynamic group in the Default Identity Domain
- Your OCI user account must be able to create policies in the root compartment
- ap-singapore-1
- ap-tokyo-1
- ca-toronto-1
- eu-frankfurt-1
- eu-madrid-1
- eu-stockholm-1
- me-jeddah-1
- sa-santiago-1
- sa-saopaulo-1
- sa-vinhedo-1
- uk-london-1
- us-ashburn-1
- us-chicago-1
- us-phoenix-1
- us-sanjose-1
Reach out through this form to request additional regions.
Datadog OCI integration tile
- Go to the Datadog OCI integration tile and click Add New Tenancy.
- Select or create a Datadog API key to use for the integration.
- Create a Datadog application key.
- Click Create OCI Stack. This takes you to an Oracle Resource Manager (ORM) stack to finish deployment.
Note: Deploy this stack only once per tenancy.
ORM stack
- Accept the Oracle Terms of Use.
- Leave the option to use custom Terraform providers unchecked.
- Use the default working directory to deploy the stack in, or optionally choose a different one.
- Click Next, and Next again.
- Click Create, and wait up to 15 minutes for the deployment to complete.
Complete the setup in Datadog
Return to the Datadog OCI integration tile and click Ready!
Validation
View oci.*
metrics in the OCI integration overview dashboard or Metrics Explorer page in Datadog.
OCI function metrics (oci.faas
namespace) and container instance metrics (oci_computecontainerinstance
namespace) are in Preview.
Configuration

After completing the setup, a configuration tab for the tenancy becomes available on the left side of the Datadog OCI integration tile. Apply tenancy-wide data collection configurations as outlined in the sections below.
Add regions
On the General tab, select the regions for data collection from the Regions checkbox list. Region selections apply to the entire tenancy, for both metrics and logs.
Note: If you used the QuickStart setup method, and afterward subscribed to a new OCI region, reapply the initial setup stack in ORM. The new region then becomes available in the Datadog OCI tile.
Metric and log collection
Use the Metric collection and Log collection tabs to configure which metrics and logs are sent to Datadog:
- Enable or disable collection of metrics or logs for the entire tenancy
- Include or exclude specific compartments based on
key:value
format compartment tags. For example:datadog:monitored,env:prod*
includes compartments if either of these tags is present!env:staging,!testing
excludes compartments only if both tags are presentdatadog:monitored,!region:us-phoenix-1
includes compartments that both have the tag datadog:monitored
and do not have the tag region:us-phoenix-1
- Enable or disable collection for specific OCI services
Notes:
- After modifying tags in OCI, it may take up to 15 minutes for the changes to appear in Datadog
- In OCI, tags are not inherited by child compartments; each compartment must be tagged individually
Resource Collection
On the Resource Collection tab of the Datadog OCI integration tile, click the Enable Resource Collection toggle. Resources are visible in the Datadog Resource Catalog.
To forward your OCI metrics to Datadog:
For a visual representation of this architecture, see the Architecture section.
Enter tenancy info
- Your OCI user account needs the Cloud Administrator role to complete these steps
- Tenancy OCID
- Home Region
Enter the OCID and home region of the tenancy you want to monitor in the Datadog OCI integration tile.
Create OCI policy stack
Ensure that the home region of the tenancy is selected in the top right of the screen.
This Oracle Resource Manager (ORM) policy stack should only be deployed once per tenancy.
- Click the Create Policy Stack button on the Datadog OCI integration tile.
- Accept the Oracle Terms of Use.
- Leave the option to use custom Terraform providers unchecked.
- Use the default name and compartment for the stack, or optionally provide your own descriptive name or compartment.
- Click Next.
- Leave the tenancy field and current user field as-is.
- Click Next.
- Click Create.
Enter DatadogROAuthUser info
- OCID of the
DatadogROAuthUser
- OCI API key and fingerprint value
- In the OCI console search bar, search for
DatadogROAuthUser
and click on the User resource that appears. - Copy the user’s OCID value.
- Paste the value into the User OCID field in the Datadog OCI integration tile.
- Returning to the OCI console, generate an API key with these steps:
a. In the bottom left corner of the screen, under Resources, click API keys.
b. Click Add API key.
c. Click Download private key.
d. Click Add.
e. A Configuration file preview popup appears, but no action is needed; close the popup.

- Copy the fingerprint value, and paste it into the Fingerprint field on the Datadog OCI integration tile.
- Copy the private key value with these steps:
a. Open the downloaded private key
.pem
file in a text editor, or use a terminal command such as cat
to display the file’s contents.
b. Copy the entire contents, including -----BEGIN PRIVATE KEY-----
and -----END PRIVATE KEY-----
. - Paste the private key value into the Private Key field on the Datadog OCI integration tile.
Create OCI metric forwarding stack
- Your OCI user account must be able to create resources in the compartment
- Datadog API Key value
- Username and auth token for a user with the
REPOSITORY_READ
and REPOSITORY_UPDATE
permissions to pull and push images to a Docker repo
Note: To verify the Docker registry login is correct, see Logging in to Oracle Cloud Infrastructure Registry.
The metric forwarding stack must be deployed for each combination of tenancy and region to be monitored. For the simplest setup, Datadog recommends creating all the necessary OCI resources with the Oracle Resource Manager (ORM) stack provided below. Alternatively, you can use your existing OCI networking infrastructure.
All resources created by Datadog’s ORM stack are deployed to the compartment specified, and for the region currently selected in the top right of the screen.
- Click the Create Metric Stack button on the Datadog OCI integration tile.
- Accept the Oracle Terms of Use.
- Leave the Custom providers option unchecked.
- Name the stack and select the compartment to deploy it to.
- Click Next.
- In the Datadog API Key field, enter your Datadog API key value.
- In the Network options section, leave
Create VCN
checked.
If using an existing Virtual Cloud Network (VCN), the subnet’s OCID must be provided to the stack. Make sure that the VCN:
- Is allowed to make HTTP egress calls through NAT gateway
- Is able to pull images from OCI container registry using service gateway
- Has the route table rules to allow NAT gateway and service gateway
- Has the security rules to send HTTP requests
- In the Network options section, uncheck the
Create VCN
option and enter your VCN information:
a. In the vcnCompartment field, select your compartment.
b. In the existingVcn section, select your existing VCN.
c. In the Function Subnet OCID section, enter the OCID of the subnet to be used.
- In the Metrics settings section, optionally remove any metric namespaces from collection.
- In the Metrics compartments section, enter a comma-separated list of compartment OCIDs to monitor. Any metric namespace filters selected in the previous step are applied to each compartment.
- In the Function settings section, select
GENERIC_ARM
. Select GENERIC_X86
if deploying in a Japan region. - Click Next.
- Click Create.
- Return to the Datadog OCI integration tile and click Create Configuration.
Notes:
- By default, only the root compartment is selected, and all of the metric namespaces from Step 8 which are present in the compartment are enabled (up to 50 namespaces are supported per connector hub). If you choose to monitor additional compartments, the namespaces added to them are an intersection of namespaces selected and the namespaces present in the compartment.
- You should manage who has access to the Terraform state files of the resource manager stacks. See the Terraform State Files section of the Securing Resource Manager page for more information.