Oracle Cloud Infrastructure Documentation

Viewing Default Metric Charts

This topic describes how to view metric  charts for selected resources  or a single resource and create alarms  based on queries used for charts. Charts are available using the Console.

Warning

Avoid entering confidential information when assigning descriptions, tags, or friendly names to your cloud resources through the Oracle Cloud Infrastructure Console, API, or CLI.

Prerequisites

  • IAM policies: Viewing metric charts is part of monitoring. To monitor resources, you must be given the required type of access in a policy  written by an administrator, whether you're using the Console or the REST API with an SDK, CLI, or other tool. The policy must give you access to the monitoring services as well as the resources being monitored. If you try to perform an action and get a message that you don’t have permission or are unauthorized, confirm with your administrator the type of access you've been granted and which compartment  you should work in. For more information on user authorizations for monitoring, see the Authentication and Authorization section for the related service: Monitoring or Notifications. For common policies that give groups access to metrics, see Let users view metric definitions in a compartment and Restrict user access to a specific metric namespace.
  • Metrics exist in Monitoring: The resources that you want to monitor must emit metrics to the Monitoring service.
  • Compute instances: To emit metrics, Compute instances must be monitoring-enabled. Oracle Cloud Agent software installation may also be required. For more information, see Enabling Monitoring for Compute Instances.

Working with Default Metric Charts

For background information on metrics in Oracle Cloud Infrastructure, see Metrics Feature Overview. For default metrics by service, see Supported Services.

Default metric charts use predefined service queries . You can select resources  of interest and update the interval , statistic , and time range.

Note

Very small or large values are indicated by International System of Units (SI units), such as M for mega (10 to the sixth power). Units correspond to the selected metric and do not change by statistic.

Using the Console

To view default metric charts for all resources
To investigate missing resources or metrics
To filter results
To select different resources
To aggregate data from all metric streams
To change the time range
To change a chart interval or statistic
To go back to the default charts
To view chart details
To share a chart
To view a query in Metrics Explorer
To copy a query (MQL expression)
To view default metric charts for a single resource
To create an alarm from a chart query