Container Instance Metrics

You can monitor the health, capacity, and performance of your Oracle Cloud Infrastructure container instances by using metrics.

This topic describes the metrics emitted by the metric namespace oci_computecontainerinstance.

Available Metrics: oci_computecontainerinstance

The metrics listed in the following table are automatically available for each container instance that you create. You do not need to enable monitoring on the container instances to get these metrics.

You also can use the Monitoring service to create custom queries.

The following dimensions  are available:

availabilityDomain
The availability domain where the container instance resides.
resourceDisplayName
The friendly name of the container instance.
resourceId
The OCID  of the container instance.
Metric Metric Display Name Unit Description Dimensions
CpuUtilization CPU Utilization percent The percent of the container instance's CPU resources which are in use.

availabilityDomain

resourceDisplayName

resourceId

MemoryUtilization Memory Utilization percent The percent of the container instance's memory resources which are in use.

availabilityDomain

resourceDisplayName

resourceId

CpuUsed CPU Used vCPUs The cumulative use of the container instance's CPU resources since it was created.

availabilityDomain

resourceDisplayName

resourceId

MemoryUsed Memory Used bytes The amount of the container instance's memory resources which are in use.

availabilityDomain

resourceDisplayName

resourceId

EphemeralStorageUsed Ephemeral Storage Used bytes The amount of the container instance's ephemeral storage which is in use.

availabilityDomain

resourceDisplayName

resourceId

Viewing Default Metric Charts

To view default metric charts for a single container instance:

  1. In the Console, open the navigation menu and click Developer Services. Under Containers & Artifacts, click Container Instances.
  2. Click the container instance that you're interested in.
  3. Under Resources, click Metrics.

    The Metrics page displays a default set of charts for the current container instance.

To view default metric charts for all container instances in a compartment:

  1. Open the navigation menu and click Observability & Management. Under Monitoring, click Service Metrics.
  2. Select a compartment.
  3. For Metric namespace, select oci_computecontainerinstance.

    The Service Metrics page dynamically updates the page to show charts for each metric that is emitted by the selected metric namespace.

For more information about monitoring metrics and using alarms, see Monitoring. For information about notifications for alarms, see Notifications.