Data Source: oci_monitoring_metrics

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

Returns metric definitions that match the criteria specified in the request. Compartment OCID required. For more information, see Listing Metric Definitions. For information about metrics, see Metrics Overview. For important limits information, see Limits on Monitoring.

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

Example Usage

data "oci_monitoring_metrics" "test_metrics" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	compartment_id_in_subtree = var.metric_compartment_id_in_subtree
	dimension_filters = var.metric_dimension_filters
	group_by = var.metric_group_by
	name = var.metric_name
	namespace = var.metric_namespace
	resource_group = var.metric_resource_group
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Metric Reference

The following attributes are exported: