- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Oracle Cloud Infrastructure (OCI) is an infrastructure-as-a-service (IaaS) and platform-as-a-service (PaaS) used by enterprise-scale companies. It includes a full suite of over 30 managed services for hosting, storage, networking, databases, and more.
Use Datadog’s OCI integration to get full visibility into your OCI environment through metrics, logs, and resource data. This data enables you to power dashboards, helps with troubleshooting, and can be monitored for security and compliance posture.
Datadog recommends using the QuickStart setup method described below. If needed, you can also manually set up the integration.
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.
Notes:
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 must be able to create a user, user group, and dynamic group in the Identity Domain that you are logged into
Your OCI user account must be able to create policies in the root compartment
(Optional) Choose specific subnet(s)
section blank to create a new Virtual Cloud Network (VCN) and subnet in each region in this tenancy.ocid1.subnet.oc[0-9].*
. For example, ocid1.subnet.oc1.iad.abcedfgh
.(Optional) Advanced configuration
section blank to create a new Compartment, Group, and User. The Group and User are created in the OCI Identity Domain that you are currently logged into (which doesn’t need to be the Default domain).Return to the Datadog OCI integration tile and click Ready!
View oci.*
metrics in the OCI integration overview dashboard or Metrics Explorer page in Datadog.
oci.faas
namespace) and container instance metrics (oci_computecontainerinstance
namespace) are in Preview.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.
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.
Use the Metric collection and Log collection tabs to configure which metrics and logs are sent to Datadog:
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
Notes:
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.
The Datadog OCI integration is restricted to one integration per tenancy. If you had set up the integration prior to June 2025, you followed the manual setup, and any previous Datadog OCI integration deployment stacks must be deleted before using the OCI QuickStart setup method. If you manually configured log forwarding, and choose to enable log collection in the OCI QuickStart tile, you must also delete your log forwarding resources to avoid sending logs twice.
Note: There will be a gap in metrics and log collection from the time the manual integration is deleted to when the QuickStart deployment is complete.
Delete previous integration resources in both Datadog and OCI:
In the Datadog OCI integration tile, click Delete Configuration. At this point, metrics and logs are no longer collected.
Complete the following steps for each region in which the manual integration was previously deployed:
Destroy
job on the Datadog OCI metric forwarding stack, to remove all the resources created by the stack. By default, the stack is labeled as datadog-oci-orm-metrics-setup.zip-<NUMBER>
, but could have been configured with a custom value during deployment.Destroy
job on the Datadog OCI policy stack. By default, the stack is labeled as datadog-oci-orm-policy-setup.zip-<NUMBER>
, but could have been configured with a custom value during deployment.You are now ready to deploy OCI QuickStart with the QuickStart setup instructions and resume data collection. OCI QuickStart deployment can take up to 30 minutes to complete.
For each region monitored, this setup option creates the following infrastructure within that region to forward metrics and logs to Datadog:
dd-function-app
)dd-metrics-forwarder
)dd-logs-forwarder
)dd-vcn
) with secure networking infrastructure:dd-vcn-private-subnet
)dd-vcn-natgateway
) for external access to the internetdd-vcn-servicegateway
) for internal access to OCI servicesdatadog-vault
) to store the Datadog API keyDatadog
)All resources are tagged with ownedby = "datadog"
.
This setup option creates the following IAM resources to enable data forwarding to Datadog:
dd-svc
)dd-svc-admin
) that the service user belongs todd-dynamic-group-connectorhubs
) that includes all service connectors in the Datadog compartmentdd-dynamic-group-function
) that includes all functions in the Datadog compartmentdd-svc-policy
) to give the service user read access to the tenancy resources, as well as access to manage OCI Service Connector Hubs and OCI Functions in the compartment created and managed by Datadog- Allow dd-svc-admin to read all-resources in tenancy
- Allow dd-svc-admin to manage serviceconnectors in Datadog compartment
- Allow dd-svc-admin to manage functions-family in Datadog compartment with specific permissions:
* FN_FUNCTION_UPDATE
* FN_FUNCTION_LIST
* FN_APP_LIST
- Endorse dd-svc-admin to read objects in tenancy usage-report
dd-dynamic-group-policy
to enable the service connectors to read data (logs and metrics) and interact with functions. This policy also allows the functions to read secrets in the Datadog compartment (the Datadog API and application keys stored in the KMS vault) - Allow dd-dynamic-group-connectorhubs to read log-content in tenancy
- Allow dd-dynamic-group-connectorhubs to read metrics in tenancy
- Allow dd-dynamic-group-connectorhubs to use fn-function in Datadog compartment
- Allow dd-dynamic-group-connectorhubs to use fn-invocation in Datadog compartment
- Allow dd-dynamic-group-functions to read secret-bundles in Datadog compartment
To manually forward your OCI metrics to Datadog:
For a visual representation of this architecture, see the Architecture section.
Requirements for this section:
Enter the OCID and home region of the tenancy you want to monitor in the Datadog OCI integration tile.
Requirements for this section:
This Oracle Resource Manager (ORM) policy stack should only be deployed once per tenancy.
Requirements for this section:
DatadogROAuthUser
DatadogROAuthUser
and click on the User resource that appears..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-----
.Requirements for this section:
REPOSITORY_READ
and REPOSITORY_UPDATE
permissions to pull and push images to a Docker repoNote: 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.
Create VCN
checked.Optionally, you can use an existing VCN instead. If you follow this approach, the subnet’s OCID must be provided to the stack. Make sure that the VCN:
Create VCN
option and enter your VCN information:GENERIC_ARM
. Select GENERIC_X86
if deploying in a Japan region.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.
For a detailed list of metrics, select the appropriate OCI service in the metric namespace section.
The OCI integration does not include any service checks.
The OCI integration does not include any events.
Need help? Contact Datadog support.
Additional helpful documentation, links, and articles: