Monitor an Application VM
You can monitor the health, capacity, and performance of an Application VM by using metrics, alarms, and notifications. The Application VM publishes metrics to the Monitoring service, where you can view them by using the Console, the Monitoring API, or other supported tools.
Before you begin, review the following:
- Viewing metrics requires the appropriate IAM permissions. For more information, see Getting Started with Policies.
- By default, the Console displays metrics for the previous hour.
- Up to one hour of metric data might be unavailable after network connectivity is restored before metric collection resumes.
View metrics
Perform the following steps in the Console.
-
On the Data Infrastructures list page, select the Data Infrastructure that you want to work with. If you need help finding the list page or the Data Infrastructure, see List Data Infrastructures.
-
On the Data Infrastructure details page, select the Application VMs tab to view the list of all Application VMs.
-
On the Application VMs tab, select the Application VM that you want to work with.
-
On the Application VM details page, select the Monitoring tab.
A chart for each metric is displayed. By default, the metrics for the last hour are displayed.
Metric filters
Use filters to select the resource and time range for which you want to view the metrics.
Filter by date
Optionally, use the Date filter to constrain results to a specific start and end time (in UTC) or to select a predefined range.
- Next to Applied filters, select Date.
-
Specify a custom time range by providing the following values:
- Start date (Required): Select the start date for the time range.
- Start time (Required): Enter the start time (UTC).
- End date (Required): Select the end date for the time range.
- End time (Required): Enter the end time (UTC).
-
Or, select a preset range:
- Last hour
- Last 6 hours
- Last 12 hours
- Last 24 hours
- Last 7 days
- Last 30 days
- Last 90 days
- Select Apply filter to refresh the results.
Metric charts
A separate chart is displayed for each metric. By default, charts show data for the last hour.
Change the interval and statistic
For each metric, you can set the Interval and Statistic independently, and then apply your changes.
- For a metric chart, select the Interval and Statistic values.
- Select Apply filter.
Interval
The time period used to calculate the metric data points. The default is Auto. Available intervals are: Auto, 1 minute, 5 minutes, 1 hour, 1 day.
Statistic
The aggregation method used to calculate the metric. The default is Mean. Available statistics are: Rate, Sum, Mean, Min, Max, Count, P50, P90, P95, P99, P99.9. Metric Actions menu options
For each metric chart, you can select the following options from the Actions menu:
- Hide Legend
- View query in Metrics Explorer
- Copy chart URL
- Copy query (MQL)
- Create an alarm on this query
- Table view
Metrics emitted by the Application VM
This section describes the metrics emitted by the Application VM in the oci_dbinfracc_service namespace.
The metrics in this section use the following dimensions.
- resourceId: The OCID of the Data Infrastructure.
- resourceName: The name of the Application VM.
- vmId: The id of the VM.
- clusterId: The id of the cluster.
- diskId: The id of the disk.
- networkInterface: The name of the network interface.
The following metrics are automatically available for the Application VM. In addition to the metrics documented here, Oracle may analyze other operational metrics to support service operations and help maintain high availability.
| Metric Display Name | Metric Name | Unit | Description | Dimensions |
|---|---|---|---|---|
| Instance status | InstanceStatus |
count (Number) | Indicates the current status of the Application VM. A value of 0 indicates that the VM is running, 1 indicates that the VM is stopped, and 2 or no value indicates that the VM status is unavailable. | resourceId, resourceName, vmId, clusterId |
| Memory utilization | MemoryUtilization |
Percentage (%) | Percentage of memory currently in use. | resourceId, resourceName, vmId, clusterId |
| Disk read I/O | DiskIopsRead |
iops (Reads Per Second) | Number of disk read operations per second. | resourceId, resourceName, vmId, clusterId, diskId |
| Disk write I/O | DiskIopsWritten |
iops (Writes Per Second) | Number of disk write operations per second. | resourceId, resourceName, vmId, clusterId, diskId |
| Disk read bytes | DiskBytesRead |
bytes (Bytes per Second) | Disk read throughput, measured in bytes per second. | resourceId, resourceName, vmId, clusterId, diskId |
| Disk write bytes | DiskBytesWritten |
bytes (Bytes per Second) | Disk write throughput, measured in bytes per second. | resourceId, resourceName, vmId, clusterId, diskId |
| Network receive bytes | NetworkBytesIn |
bytes (Bytes per Second) | Network receive throughput, measured in bytes per second. | resourceId, resourceName, vmId, clusterId, networkInterface |
| Network transmit bytes | NetworkBytesOut |
bytes (Bytes per Second) | Network transmit throughput, measured in bytes per second. | resourceId, resourceName, vmId, clusterId, networkInterface |