Data Source: oci_stack_monitoring_baselineable_metrics
This data source provides the list of Baselineable Metrics in Oracle Cloud Infrastructure Stack Monitoring service.
List of summary of baseline-able metrics for a given resource group if specified.
Example Usage
data "oci_stack_monitoring_baselineable_metrics" "test_baselineable_metrics" {
#Optional
baselineable_metric_id = oci_stack_monitoring_baselineable_metric.test_baselineable_metric.id
compartment_id = var.compartment_id
is_out_of_box = var.baselineable_metric_is_out_of_box
metric_namespace = var.baselineable_metric_metric_namespace
name = var.baselineable_metric_name
resource_group = var.baselineable_metric_resource_group
resource_type = var.baselineable_metric_resource_type
}
Argument Reference
The following arguments are supported:
baselineable_metric_id
- (Optional) Identifier for the metriccompartment_id
- (Optional) The ID of the compartment in which data is listed.is_out_of_box
- (Optional) Is the baseline enabled metric defined out of box by Oracle or by end-usermetric_namespace
- (Optional) A filter to return monitored resource types that has the matching namespace.name
- (Optional) Metric Nameresource_group
- (Optional) Resource Groupresource_type
- (Optional) Resource Type
Attributes Reference
The following attributes are exported:
baselineable_metric_summary_collection
- The list of baselineable_metric_summary_collection.
BaselineableMetric Reference
The following attributes are exported:
column
- metric column namecompartment_id
- OCID of the compartmentcreated_by
- Created user iddefined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
freeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
id
- OCID of the metricis_out_of_box
- Is the metric created out of box, default falselast_updated_by
- last Updated user idname
- name of the metricnamespace
- namespace of the metricresource_group
- Resource group of the metricresource_type
- Resource type of the metricstate
- The current lifecycle state of the metric extensionsystem_tags
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}
tenancy_id
- OCID of the tenancytime_created
- creation datetime_last_updated
- last updated time