protos/pogo0.431.0

Mensagemholoholo.rpc › Distribution

BucketOptions

holoholo.rpc.Distribution.BucketOptionsFicheiro: holo_protos.protoTipo C#: Holoholo.Rpc.Telemetry.Distribution.Types.BucketOptions3 camposDesde a 0.431.0

NºCampoTipoTag
oneof bucket_type · 3 opções, só uma de cada vez
1linear_bucketsDistribution.BucketOptions.LinearBuckets0a
2exponential_bucketsDistribution.BucketOptions.ExponentialBuckets12
3explicit_bucketsDistribution.BucketOptions.ExplicitBuckets1a

Tipos aninhados

Usado em (1)

Código .proto
// holo_protos.proto · package holoholo.rpc
message BucketOptions {
  oneof bucket_type {
    LinearBuckets linear_buckets = 1;
    ExponentialBuckets exponential_buckets = 2;
    ExplicitBuckets explicit_buckets = 3;
  }

  message ExplicitBuckets {
    repeated int64 bounds = 1;
  }

  message ExponentialBuckets {
    int64 num_finite_buckets = 1;
    float growth_factor = 2;
    float scale = 3;
  }

  message LinearBuckets {
    int64 num_finite_buckets = 1;
    int64 width = 2;
    int64 offset = 3;
  }
}