Overview
To set up Cloud Cost Management for Oracle Cloud Infrastructure (OCI) in Datadog, you should:
- Have an OCI tenancy
- Have the OCI integration installed in Datadog
Setup
Navigate to Setup & Configuration and follow the steps to configure the OCI integration for your parent tenancy.
Note: If the OCI integration was created without the QuickStart method, then you need to follow the documentation for QuickStart migration.
Enable Cloud Cost Management
Once the integration is created, enable the toggle for Cloud Cost Management.
Cost types
You can visualize your ingested data using the following cost types:
Cost Type | Description |
---|
oci.cost.amortized | Total cost of resources allocated at the time of usage over an interval. Costs include all applicable discounts |
oci.cost.ondemand | Total public, on-demand cost of resources before public and private discounts are applied over an interval. |
Datadog adds out-of-the-box tags to ingested cost data and help you further break down and allocate your costs. These tags are derived from your FOCUS cost export and make it easier to discover and understand cost data.
The following out-of-the-box tags are available for filtering and grouping data:
Tag Name | Tag Description |
---|
availabilityzone | A provider-assigned identifier for a physically separated and isolated area within a Region that provides high availability and fault tolerance. |
billingaccountid | The identifier assigned to a billing account by the provider. |
billingaccountname | The display name assigned to a billing account. |
billingcurrency | An identifier representing the currency that a charge for resources or services was billed in. |
chargecategory | The top-level type of charge in a billing row. |
chargedescription | A self-contained summary that explains the purpose and price of a charge. |
chargefrequency | An indication of how often a charge occurs, helping to identify if it’s recurring, and to forecast future charges. |
chargesubcategory | Represents the sub-level classification of a charge based on the nature of how it is billed. |
commitmentdiscountcategory | Whether the usage was reserved but not used. |
commitmentdiscountid | The identifier assigned to a commitment discount by the provider. |
commitmentdiscountname | The display name assigned to a commitment discount. |
commitmentdiscounttype | A provider-assigned name to identify the type of commitment discount applied. |
invoiceissuer | The entity responsible for invoicing for the resources or services consumed. |
pricingcategory | Describes the pricing model used for a charge at the time of use or purchase. |
pricingunit | Provider-specified measurement unit for determining unit prices, indicating how the provider rates measured usage and purchase quantities after applying pricing rules like block pricing. |
providername | The name of the entity that made the resources or services available for purchase. |
publishername | The name of the entity that produces the resources or services that were purchased. |
region | A provider-assigned display name for an isolated geographic area where a resource is provisioned or a service is provided. |
resourceid | An identifier assigned to a resource by the provider. |
resourcename | A display name assigned to a resource. |
resourcetype | Describes the kind of resource the charge applies to. |
servicecategory | The highest-level classification of a service based on the core function of the service. |
servicename | An offering that can be purchased from a provider (e.g., cloud virtual machine, SaaS database, professional services from a systems integrator). |
skuid | A provider-specified unique identifier that represents a specific SKU. |
skupriceid | A provider-specified unique identifier that represents a specific SKU Price associated with a resource or service used or purchased. |
subaccountid | An ID assigned to a grouping of resources or services, often used to manage access and/or cost. |
subaccountname | A name assigned to a grouping of resources or services, often used to manage access and/or cost. |
usageunit | A provider-specified measurement unit, indicating how the provider rates measured usage and purchase quantities. |
Cost and observability correlation
Viewing costs in the context of observability data is important for understanding how infrastructure changes impact costs, identifying why costs change, and optimizing infrastructure for both costs and performance.
Datadog updates resource identifying tags on cost data for top OCI products to simplify correlating observability and cost metrics. For example, to view cost and utilization for each Compute instance, you can make a table with oci.cost.amortized
, oci.computeagent.cpu_utilization
, and oci.computeagent.memory_utilization
(or any other Compute metric) and group by host
. To see Object Storage usage and costs side by side, you can graph oci.objectstorage.stored_bytes
and oci.cost.amortized
grouped by name
.
The following out-of-the-box tags are available:
OCI Product | Tag(s) |
---|
Compute | host |
Object Storage | name |
Container cost allocation
Container cost allocation is not available for OCI. See Container Cost Allocation for more details.
Further reading
Más enlaces, artículos y documentación útiles: