---
title: gcp_cloudtrace
page-cloud: true
latest-operator-version: v26.2.6
latest-console-tag: v3.14.0
latest-connect-version: 4.118.0
latest-redpanda-tag: v26.2.7
docname: connect/components/tracers/gcp_cloudtrace
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: connect/components/tracers/gcp_cloudtrace.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/develop/pages/connect/components/tracers/gcp_cloudtrace.adoc
description: Send tracing events to a Google Cloud Trace.
page-self-managed-available: "true"
page-self-managed-available-url: https://docs.redpanda.com/connect/components/tracers/gcp_cloudtrace/
page-git-created-date: "2024-09-09"
page-git-modified-date: "2026-10-19"
page-generated-sources:
  - include: connect:components:partial$descriptions/tracers/gcp_cloudtrace.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
page-generated-content: partial
---

# gcp_cloudtrace

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [cloud-data-platform-full.txt](https://docs.redpanda.com/cloud-data-platform-full.txt)

<!-- Source: https://docs.redpanda.com/cloud-data-platform/develop/connect/components/tracers/gcp_cloudtrace.md -->

Send tracing events to a [Google Cloud Trace](https://cloud.google.com/trace).

#### Common

```yml
tracer:
  gcp_cloudtrace:
    project: "" # No default (required)
    sampling_ratio: 1
    flush_interval: "" # No default (optional)
```

#### Advanced

```yml
tracer:
  gcp_cloudtrace:
    project: "" # No default (required)
    sampling_ratio: 1
    tags: {}
    flush_interval: "" # No default (optional)
```

## Fields

### `flush_interval`

The maximum time to wait before exporting a batch of tracing spans. When unset, the `OTEL_BSP_SCHEDULE_DELAY` environment variable is used if set, otherwise the OpenTelemetry SDK default of `5s`.

**Type**: `string`

### `project`

The google project with Cloud Trace API enabled. If this is omitted then the Google Cloud SDK will attempt auto-detect it from the environment.

**Type**: `string`

### `sampling_ratio`

Sets the ratio of traces to sample. Tuning the sampling ratio is recommended for high-volume production workloads.

**Type**: `float`

**Default**: `1`

```yaml
# Examples:
sampling_ratio: 1
```

### `tags`

A map of tags to add to tracing spans.

**Type**: `object<string>`

**Default**: `{}`