Resource: TraceConfigOverride
A representation of a configuration override.
JSON representation |
---|
{
"name": string,
"apiProxy": string,
"samplingConfig": {
object ( |
Fields | |
---|---|
name |
ID of the trace configuration override specified as a system-generated UUID. |
apiProxy |
ID of the API proxy that will have its trace configuration overridden. |
samplingConfig |
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 ( |
Fields | |
---|---|
sampler |
Sampler of distributed tracing. OFF is the default value. |
samplingRate |
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 |
|
---|---|
|
Creates a trace configuration override. |
|
Deletes a distributed trace configuration override. |
|
Gets a trace configuration override. |
|
Lists all of the distributed trace configuration overrides in an environment. |
|
Updates a distributed trace configuration override. |