traceProtocol property

String? traceProtocol
getter/setter pair

The trace protocol to use.

Configuration Requirements (if trace_protocol is OTLP): - Allowed Exporters: CLOUD_TRACE or OPEN_TELEMETRY_COLLECTOR. - If Exporter is OPEN_TELEMETRY_COLLECTOR: - endpoint refers to a valid OTLP collector URL.

  • If Exporter is CLOUD_TRACE: - endpoint refers to a valid project ID.

Optional. Possible string values are:

  • "TRACE_PROTOCOL_UNSPECIFIED" : Protocol unspecified. Defaults to OPEN_CENSUS.
  • "OPEN_CENSUS" : Uses OpenCensus protocol.
  • "OTLP" : Uses OpenTelemetry Protocol (OTLP).

Implementation

core.String? traceProtocol;