= gcp_cloudtrace
:type: tracer
:status: experimental



////
     THIS FILE IS AUTOGENERATED!

     To make changes, edit the corresponding source file under:

     https://github.com/redpanda-data/connect/tree/main/internal/impl/<provider>.

     And:

     https://github.com/redpanda-data/connect/tree/main/cmd/tools/docs_gen/templates/plugin.adoc.tmpl
////

// © 2024 Redpanda Data Inc.


component_type_dropdown::[]


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

Introduced in version 4.2.0.


[tabs]
======
Common::
+
--

```yml
# Common config fields, showing default values
tracer:
  gcp_cloudtrace:
    project: "" # No default (required)
    sampling_ratio: 1
    flush_interval: "" # No default (optional)
```

--
Advanced::
+
--

```yml
# All config fields, showing default values
tracer:
  gcp_cloudtrace:
    project: "" # No default (required)
    sampling_ratio: 1
    tags: {}
    flush_interval: "" # No default (optional)
```

--
======

== Fields

=== `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`

```yml
# Examples

sampling_ratio: 1
```

=== `tags`

A map of tags to add to tracing spans.


*Type*: `object`

*Default*: `{}`

=== `flush_interval`

The period of time between each flush of tracing spans.


*Type*: `string`



