Viewing Default Metric Charts
View metric charts that use predefined service queries. Default metric charts are available on the Service Metrics page and under Metrics on resource details pages in the Console.
For background information on metrics in Oracle Cloud Infrastructure, see Metrics Feature Overview. For default metrics by service, see Supported Services and Listing Metric Definitions.
The following pages describe tasks you can perform with default metric charts:
- Viewing Default Metric Charts for a Metric Namespace (Multiple Resources)
- Viewing Default Metric Charts for a Single Resource
- Switching Table and Chart Views for a Default Metric Chart
- Viewing the Query for a Default Metric Chart
- Copying the Query from a Default Metric Chart
- Listing Resources in a Default Metric Chart
- Sharing a Default Metric Chart
- Viewing and Updating the Query for a Default Metric Chart
- Changing the Time Range for Default Metric Charts
- Changing the Interval for a Default Metric Chart
- Changing the Statistic for a Default Metric Chart
- Aggregating Metric Streams in a Default Metric Chart
- Selecting Dimensions to Filter Metrics
- Creating an Alarm from a Default Metric Chart
- Resetting Default Metric Charts
Before You Begin
Following are prerequisites for viewing metric charts:
- IAM policies: Viewing metric charts is part of monitoring. To monitor resources, you must be granted 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, contact the administrator to find out what type of access you were granted and which compartment you need to work in. For more information about user authorizations for monitoring, see IAM Policies. Administrators: For common policies that give groups access to metrics, see Metric Access for Groups.
- Metrics exist in Monitoring: The resources that you want to monitor must emit metrics to the Monitoring service.
- 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. For more information, see Enabling Monitoring for Compute Instances.
Example Metric Chart
The following image shows several metric streams in the graph view of a metric chart. Each metric stream corresponds to a compute instance.
The 85% value at 1:30 indicates that a compute instance used 85% of its CPU (averaged over the specified interval). Absent values are indicated for a metric stream toward the bottom of the graph, indicating that a compute instance didn't emit metric data until 1:30.
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 don't change by statistic .
For more information about this example, see Example Query and Metric Chart.