> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vantage.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# vantage_business_metrics (Data Source)

> Terraform data source reference for vantage_business_metrics (Data Source). Auto-generated from the vantage-sh/terraform-provider-vantage repository.

<Note>
  This page is auto-generated based on the official [Terraform documentation](https://registry.terraform.io/providers/vantage-sh/vantage/latest/docs).
</Note>

## Overview

Use this data source with the [Vantage Terraform provider](/terraform). For installation and authentication, see the [Terraform provider quickstart](/terraform#quickstart). The schema below is generated directly from the provider source.

## Schema

### Read-Only

* `business_metrics` (Attributes List) (see [below for nested schema](#nestedatt--business_metrics))

<a id="nestedatt--business_metrics" />

### Nested Schema for `business_metrics`

Read-Only:

* `clickhouse_metric_fields` (Attributes) (see [below for nested schema](#nestedatt--business_metrics--clickhouse_metric_fields))
* `cloudwatch_fields` (Attributes) (see [below for nested schema](#nestedatt--business_metrics--cloudwatch_fields))
* `cost_report_tokens_with_metadata` (Attributes List) The tokens for any CostReports that use the BusinessMetric, the unit scale, and label filter. (see [below for nested schema](#nestedatt--business_metrics--cost_report_tokens_with_metadata))
* `created_by_token` (String) The token of the Creator of the BusinessMetric.
* `datadog_metric_fields` (Attributes) (see [below for nested schema](#nestedatt--business_metrics--datadog_metric_fields))
* `gcp_bigquery_metric_fields` (Attributes) (see [below for nested schema](#nestedatt--business_metrics--gcp_bigquery_metric_fields))
* `id` (String) The id of the BusinessMetric.
* `import_type` (String) The type of import for the BusinessMetric.
* `integration_token` (String) The Integration token used to import the BusinessMetric.
* `snowflake_metric_fields` (Attributes) (see [below for nested schema](#nestedatt--business_metrics--snowflake_metric_fields))
* `title` (String) The title of the BusinessMetric.
* `token` (String) The token of the BusinessMetric.

<a id="nestedatt--business_metrics--clickhouse_metric_fields" />

### Nested Schema for `business_metrics.clickhouse_metric_fields`

Read-Only:

* `query_endpoint_id` (String) The UUID of the ClickHouse query endpoint used to import metrics.

<a id="nestedatt--business_metrics--cloudwatch_fields" />

### Nested Schema for `business_metrics.cloudwatch_fields`

Read-Only:

* `dimensions` (Attributes List) The dimensions used to pull specific statistical data for Cloudwatch metrics. (see [below for nested schema](#nestedatt--business_metrics--cloudwatch_fields--dimensions))
* `label_dimension` (String) The dimension used to aggregate the Cloudwatch metrics.
* `metric_name` (String) The metric name used to import Cloudwatch metrics.
* `namespace` (String) The namespace used to import Cloudwatch metrics.
* `region` (String) The region used to import Cloudwatch metrics.
* `stat` (String) The time aggregation function used to import Cloudwatch metrics.

<a id="nestedatt--business_metrics--cloudwatch_fields--dimensions" />

### Nested Schema for `business_metrics.cloudwatch_fields.dimensions`

Read-Only:

* `name` (String)
* `value` (String)

<a id="nestedatt--business_metrics--cost_report_tokens_with_metadata" />

### Nested Schema for `business_metrics.cost_report_tokens_with_metadata`

Read-Only:

* `calculation_type` (String) The calculation type applied when this BusinessMetric is used in the CostReport.
* `cost_report_token` (String) The token of the CostReport the BusinessMetric is attached to.
* `label` (String) Optional custom display name for this BusinessMetric on the CostReport. When omitted, a default is derived from the calculation type.
* `label_filter` (List of String) The labels that the BusinessMetric is filtered by within a particular CostReport.
* `label_filters` (Map of List of String) The ClickHouse BusinessMetric label filters applied within a CostReport. Each key is required and values within a key are alternatives.
* `unit_scale` (String) Determines the scale of the BusinessMetric's values within a particular CostReport.

<a id="nestedatt--business_metrics--datadog_metric_fields" />

### Nested Schema for `business_metrics.datadog_metric_fields`

Read-Only:

* `query` (String) The query used to import Datadog metrics.

<a id="nestedatt--business_metrics--gcp_bigquery_metric_fields" />

### Nested Schema for `business_metrics.gcp_bigquery_metric_fields`

Read-Only:

* `query_project_id` (String) The GCP project in which the BigQuery job runs.
* `sql_query` (String) The SQL query used to import GCP BigQuery metrics.

<a id="nestedatt--business_metrics--snowflake_metric_fields" />

### Nested Schema for `business_metrics.snowflake_metric_fields`

Read-Only:

* `sql_query` (String) The SQL query used to import Snowflake metrics.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.