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

Breadcrumb

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

function Meter::instrumentId

3 calls to Meter::instrumentId()
Meter::createAsynchronousObserver in vendor/open-telemetry/sdk/Metrics/Meter.php
Meter::createSynchronousWriter in vendor/open-telemetry/sdk/Metrics/Meter.php
Meter::getAsynchronousInstrument in vendor/open-telemetry/sdk/Metrics/Meter.php

File

vendor/open-telemetry/sdk/Metrics/Meter.php, line 438

Class

Meter
@internal

Namespace

OpenTelemetry\SDK\Metrics

Code

private function instrumentId(Instrument $instrument) : string {
    return serialize([
        $instrument->type,
        $instrument->name,
        $instrument->unit,
        $instrument->description,
    ]);
}

API Navigation

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