Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Buckets.php

function Buckets::getOffset

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>

Return value

int

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php, line 75

Class

Buckets
Buckets are a set of bucket counts, encoded in a contiguous array of counts.

Namespace

Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint

Code

public function getOffset() {
    return $this->offset;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal