Data Source: oci_monitoring_metric_data

This data source provides the list of Metric Data in Oracle Cloud Infrastructure Monitoring service.

Returns aggregated data that match the criteria specified in the request. Compartment OCID required. For more information, see Querying Metric Data and Creating a Query. For important limits information, see Limits on Monitoring.

Transactions Per Second (TPS) per-tenancy limit for this operation: 10.

Example Usage

data "oci_monitoring_metric_data" "test_metric_data" {
	#Required
	compartment_id = var.compartment_id
	namespace = var.metric_data_namespace
	query = var.metric_data_query

	#Optional
	compartment_id_in_subtree = var.metric_data_compartment_id_in_subtree
	end_time = var.metric_data_end_time
	resolution = var.metric_data_resolution
	resource_group = var.metric_data_resource_group
	start_time = var.metric_data_start_time
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

MetricData Reference

The following attributes are exported: