Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdeveloper-portal%2Finfrastructure-as-code%2Fterraform-provider%2Fintegrations%2Fgcp-traces-collector.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdeveloper-portal%2Finfrastructure-as-code%2Fterraform-provider%2Fintegrations%2Fgcp-traces-collector.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

# GCP traces

## Overview[​](#overview "Direct link to Overview")

Google Cloud Platform provides built-in monitoring and observability tools that allow users to collect and analyze metrics and traces from their GCP resources. Send Google Cloud [metrics](https://cloud.google.com/monitoring/api/metrics_gcp) and [traces](https://cloud.google.com/trace/docs/overview) seamlessly to Coralogix. Search, analyze, and visualize your data, gaining insights into application behavior, identifying errors, and troubleshooting problems.

For more information about this integration, [click here](https://docs-docusaurus.kinsta.page/integrations/gcp/gcp-traces/.md).

## How to use with Terraform[​](#how-to-use-with-terraform "Direct link to How to use with Terraform")

To deploy this integration using Terraform, you can use the [`coralogix_integration`](https://registry.terraform.io/providers/coralogix/coralogix/latest/docs/resources/integration) resource provided by the Coralogix Terraform provider. Below is an example configuration:

```
resource "coralogix_integration" "gcp-traces-collector" {

  integration_key = "gcp-traces-collector"

  version         = "0.0.1"



  parameters = {

    IntegrationName = "<IntegrationName>"

    DatasetId = "<DatasetId>"

    TableId = "cloud_trace"

    ServiceAccountKey = "<ServiceAccountKey>"

  }

}
```

Replace the placeholder values with your actual configuration parameters. Refer to the parameter table below for required fields and their descriptions.

## Revisions[​](#revisions "Direct link to Revisions")

0.0.1

| Name              | Type   | Required | Description                                                                                                                                       |
| ----------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| DatasetId         | String | Yes      | Corresponds to the BigQuery dataset.                                                                                                              |
| IntegrationName   | String | Yes      |                                                                                                                                                   |
| ServiceAccountKey | String | Yes      |                                                                                                                                                   |
| TableId           | String | Yes      | Corresponds to the BigQuery table created by GCP. By default, the table name is cloud\_trace.                                                     |
| ApplicationLabels | List   | No       | Select labels whose values will be used as the Application Name. If more than one label can be matched, the first match in the list will be used. |
| ApplicationName   | String | No       | The default name of the application that the integration will be used with. This is used as a fallback when no labels match.                      |
| SubsystemLabels   | List   | No       | Select labels whose values will be used as the Subsystem Name. If more than one label can be matched, the first match in the list will be used.   |
| SubsystemName     | String | No       | The default name of the subsystem that the integration will be used with. This is used as a fallback when no labels match.                        |
