TraceConfig

Stay organized with collections Save and categorize content based on your preferences.

TraceConfig defines the configurations in an environment of distributed trace.

JSON representation
{
  "exporter": enum (Exporter),
  "endpoint": string,
  "samplingConfig": {
    object (TraceSamplingConfig)
  }
}
Fields
exporter

enum (Exporter)

Required. Exporter that is used to view the distributed trace captured using OpenCensus. An exporter sends traces to any backend that is capable of consuming them. Recorded spans can be exported by registered exporters.

endpoint

string

Required. Endpoint of the exporter.

samplingConfig

object (TraceSamplingConfig)

Distributed trace configuration for all API proxies in an environment. You can also override the configuration for a specific API proxy using the distributed trace configuration overrides API.

Exporter

Supported values for the exporter. Once configured, it cannot be modified.

Enums
EXPORTER_UNSPECIFIED Exporter unspecified
JAEGER Jaeger exporter
CLOUD_TRACE Cloudtrace exporter