View Source GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1TraceSamplingConfig (google_api_apigee v0.46.0)

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.

Attributes

  • sampler (type: String.t, default: nil) - Sampler of distributed tracing. OFF is the default value.
  • samplingRate (type: number(), default: nil) - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1TraceSamplingConfig{
  sampler: String.t() | nil,
  samplingRate: number() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.