Monitor OCI Resources

We will look at the steps to access the metrics of different services shown in the reference architecture.

Monitor Compute Instances

Compute instance metrics provide data about the activity level and throughput of the instance. These metrics are required to use features such as auto-scaling, metrics, alarms, and notifications with compute instances.
To emit metrics, the Compute Instance Monitoring plugin must be enabled on the instance, and plugins must be running. The instance must also have either a service gateway or a public IP address to send metrics to the Monitoring service.
  1. Go to the Oracle Cloud Agent tab.
  2. Enable the Compute Instance Monitoring plugin.
  3. View metrics charts for:
    • Individual compute instance: Navigate to the compute instance and under Resources, select Metrics; in the list of namespaces, select oci_computeagent.
    • Multiple compute instances: Navigate to Observability & Management; under Monitoring, click Service Metrics; select the Compartment that has the concerned compute instances; in the list of namespaces, select oci_computeagent.

Monitor Networking Services

Monitor the performance metrics of the Oracle Cloud Infrastructure Networking service.

Each compute instance has one or more Oracle Cloud Infrastructure Networking service VNICs. A VNIC connects the instance to a subnet in a virtual cloud network (VCN). Performance of the Networking service is captured within the metrics under namespace oci_vcn.

  1. Open the navigation menu and click Compute.
  2. Under Compute, click Instances to view its details.
  3. View metrics charts for:
    • Single VNIC: Navigate to the compute instance; under Resources, click Attached VNICs; click Metrics.
    • Multiple VNICs: Navigate to Observability & Management; under Monitoring, click Service Metrics; select the Compartment that has the compute instances; in the list of namespaces, select oci_vcn.

Monitor Load Balancer Services

The Oracle Cloud Infrastructure Load Balancing service emits metrics related to load balancers, listeners, and backend sets. These metrics help in measuring the number and type of connections, and quantity of data managed by the load balancer.

Metrics data can be used to diagnose and troubleshoot the load balancer and client issues, and analyze the HTTP responses returned by the servers in backend sets.

  1. Open the navigation menu and click Networking.
  2. Under Load Balancers, select the load balancer name.
  3. Under Resources, select Metrics.
  4. View:
    • Default set of metrics charts in the Console: Navigate to the load balancer or backend set; click Metrics.
    • Metrics chart for multiple load balancers: Navigate to Observability & Management; under Monitoring, click Service Metrics; select the Compartment with the concerned load balancers; select oci_lbaas as the Metric namespace.

Monitor Object Storage Services

Monitor the metrics of the Oracle Cloud Infrastructure Object Storage service.

Each of the buckets and the object contained within these buckets can be monitored using metrics available under oci_objectstorage namespace.

  1. Open the navigation menu and click Storage.
  2. Select Object Storage and Archive Storage.
  3. View metrics charts for:
    • Single bucket: Navigate to the bucket; under Resources, select Metrics.
    • Multiple Buckets: Navigate to Observability & Management; under Monitoring, click Service Metrics; selec the Compartment with the concerned bucket; select oci_objectstorage as the Metric namespace.