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

Breadcrumb

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

function HistogramInterface::record

Parameters

float|int $amount non-negative amount to record:

iterable<non-empty-string, string|bool|float|int|array|null> $attributes: attributes of the data point

ContextInterface|false|null $context execution context:

See also

https://github.com/open-telemetry/opentelemetry-specification/blob/main…

1 method overrides HistogramInterface::record()
NoopHistogram::record in vendor/open-telemetry/api/Metrics/Noop/NoopHistogram.php

File

vendor/open-telemetry/api/Metrics/HistogramInterface.php, line 20

Class

HistogramInterface

Namespace

OpenTelemetry\API\Metrics

Code

public function record(float|int $amount, iterable $attributes = [], ContextInterface|false|null $context = null) : void;

API Navigation

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