Cloud

gcp_cloudtrace

Send tracing events to a Google Cloud Trace.

  • Common

  • Advanced

tracer:
  gcp_cloudtrace:
    project: "" # No default (required)
    sampling_ratio: 1
    flush_interval: "" # No default (optional)
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

# Examples:
sampling_ratio: 1

tags

A map of tags to add to tracing spans.

Type: object<string>

Default: {}