REST Resource: organizations.environments.traceConfig.overrides

Resource: TraceConfigOverride

A representation of a configuration override.

JSON representation
{
  "name": string,
  "apiProxy": string,
  "samplingConfig": {
    object (TraceSamplingConfig)
  }
}
Fields
name

string

ID of the trace configuration override specified as a system-generated UUID.

apiProxy

string

ID of the API proxy that will have its trace configuration overridden.

samplingConfig

object (TraceSamplingConfig)

Trace configuration to override.

TraceSamplingConfig

TraceSamplingConfig represents the detail settings of distributed tracing. Only the fields that are defined in the distributed trace configuration can be overridden using the distribute trace configuration override APIs.

JSON representation
{
  "sampler": enum (Sampler),
  "samplingRate": number
}
Fields
sampler

enum (Sampler)

Sampler of distributed tracing. OFF is the default value.

samplingRate

number

Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.

Sampler

Supported options for the sampler.

Enums
SAMPLER_UNSPECIFIED Sampler unspecified.
OFF OFF means distributed trace is disabled, or the sampling probability is 0.
PROBABILITY PROBABILITY means traces are captured on a probability that defined by samplingRate. The sampling rate is limited to 0 to 0.5 when this is set.

Methods

create

Creates a trace configuration override.

delete

Deletes a distributed trace configuration override.

get

Gets a trace configuration override.

list

Lists all of the distributed trace configuration overrides in an environment.

patch

Updates a distributed trace configuration override.