Create a Query-based Widget Using Metrics
You can create a query-based widget using the Oracle Cloud Infrastructure Monitoring service metrics.
To create a query-based widget that displays Monitoring service metrics, you must have the required Monitoring service permissions. For information, see Get Started with Management Dashboard.
To create a query-based widget that displays Monitoring service metrics:
Display Metric Data from Multiple Regions
You can retrieve and display metric data from more than one region when creating a query-based widget using the Oracle Cloud Infrastructure Monitoring service metrics.
By default, a widget with the Region input responds to the top-level region selected in the Oracle Cloud Infrastructure console.
Here's a scenario in which a query-based widget is created to display metric data for resources such as Autonomous AI Databases, in different regions:
Once the query-based metric widget is added to the dashboard, you can add the Region filter and link the Region input to the filter to have the widget respond to filter selections. To do so:
- On the Filters tab in the dashboard, click Add filters.
- Search for the Region filter and add it to the dashboard.
- On the Filters tab, click Edit filters.
- Edit the Selection mode input.
The Configure Selection mode input for Region (optional) dialog box is displayed.
- Select Multiple in the Specify the Selection mode input drop-down list and click Save changes.
- Select the regions in the Region filter.
- On the Widgets tab, click Edit widgets.
- Edit the Region input for the query-based
metric widget.
The Configure Region input for <name of widget> dialog box is displayed.
- Select Link the Region input with an existing filter and then select Region from the Select an existing filter drop-down list.
The Region input for the query-based metric widget is linked to the Region filter and any changes made to the regions selected in the filter will change the data displayed in the widget.