Monitor a Data Infrastructure
You can monitor the health, capacity, and performance of a Data Infrastructure by using metrics, alarms, and notifications. Oracle Data Infrastructure Cloud@Customer 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 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 resource
Use the Resource filter to display metrics for either the infrastructure or servers.
- Next to Applied filters, select Resource.
-
Select one of the following options:
- Infrastructure: Displays metrics associated with the infrastructure.
- Servers: Displays metrics associated with the servers.
- Select Apply filter to refresh the results.
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 Data Infrastructure
This section describes the metrics emitted by the Data Infrastructure in the oci_dbinfracc_system namespace.
The Data Infrastructure metrics use the following dimensions.
- resourceId: The OCID of the Data Infrastructure.
- resourceName: The name of the Data Infrastructure.
- storageType: The type of storage (DATA,RECO, VM file storage). (Included only for storage-related metrics.)
The following metrics are automatically available for the Data Infrastructure. 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 |
|---|---|---|---|---|
| Infrastructure status | InfrastructureHealth |
Count (number) | Indicates the health status of Oracle Grid Infrastructure (GI) and Oracle Automatic Storage Management (ASM). A value of 0 indicates that the Data Infrastructure is healthy. A value of 1 indicates that it is unhealthy. | resourceId, resourceName |
| Connectivity status | ConnectivityStatus |
Count (number) | Indicates the connectivity status of the Data Infrastructure. A value of 0 indicates that connectivity is healthy. A value of 1 indicates that connectivity to one VM is unavailable. A value of 2 indicates that connectivity to both VMs is unavailable. | resourceId, resourceName |
| Agent services connectivity | DcsConnectivityStatus |
Count (number) | Indicates the connectivity status of the DCS agent services. A value of 0 indicates that connectivity is healthy. A value of 1 indicates that connectivity is unavailable. | resourceId, resourceName |
| Storage provisioned | StorageProvisioned |
bytes | Total provisioned storage capacity allocated to the Data Infrastructure, measured in bytes. | resourceId, resourceName, storageType |
Metrics emitted by the Servers
This section describes the metrics emitted by the servers in the oci_dbinfracc_server namespace.
The Servers metrics use the following dimensions.
- resourceId: The OCID of the Data Infrastructure.
- resourceName: The name of the server.
- serverId: The id of the server.
- networkInterface: The network interface.
The following metrics are automatically available for the servers in a Data Infrastructure. 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 |
|---|---|---|---|---|
| Server status | ServerStatus |
Count (number) | Indicates the status of the server. A value of 0 indicates that the server is online and healthy. A value of 1 indicates that the server is unavailable. | resourceId, resourceName, serverId |
| Network interface status | NetworkStatus |
Count (number) | Indicates the status of the VM Network interface. A value of 0 indicates that the interface is active. A value of 1 indicates that the interface is inactive. | resourceId, resourceName, networkInterface |
| CPU Core utilization | CoresUsed |
Count (number) | Number of OCPU cores currently in use on the server. | resourceId, resourceName, serverId |
| Memory usage | MemoryUsed |
Bytes | Amount of physical memory currently in use on the server, measured in bytes. | resourceId, resourceName, serverId |