function Buckets::setOffset
Offset is the bucket index of the first entry in the bucket_counts array.
Note: This uses a varint encoding as a simple form of compression.
Generated from protobuf field <code>sint32 offset = 1;</code>
Parameters
int $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ ExponentialHistogramDataPoint/ Buckets.php, line 89
Class
- Buckets
- Buckets are a set of bucket counts, encoded in a contiguous array of counts.
Namespace
Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPointCode
public function setOffset($var) {
GPBUtil::checkInt32($var);
$this->offset = $var;
return $this;
}