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

Breadcrumb

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

function MeterInterface::createUpDownCounter

Creates an `UpDownCounter`.

Parameters

string $name name of the instrument:

string|null $unit unit of measure:

string|null $description description of the instrument:

array $advisory an optional set of recommendations:

Return value

UpDownCounterInterface created instrument

See also

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

3 methods override MeterInterface::createUpDownCounter()
LateBindingMeter::createUpDownCounter in vendor/open-telemetry/api/Metrics/LateBindingMeter.php
Creates an `UpDownCounter`.
Meter::createUpDownCounter in vendor/open-telemetry/sdk/Metrics/Meter.php
Creates an `UpDownCounter`.
NoopMeter::createUpDownCounter in vendor/open-telemetry/api/Metrics/Noop/NoopMeter.php
Creates an `UpDownCounter`.

File

vendor/open-telemetry/api/Metrics/MeterInterface.php, line 154

Class

MeterInterface

Namespace

OpenTelemetry\API\Metrics

Code

public function createUpDownCounter(string $name, ?string $unit = null, ?string $description = null, array $advisory = []) : UpDownCounterInterface;

API Navigation

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