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

Breadcrumb

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

function AggregationTemporality::name

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/AggregationTemporality.php, line 94

Class

AggregationTemporality
AggregationTemporality defines how a metric aggregator reports aggregated values. It describes how those values relate to the time interval over which they are aggregated.

Namespace

Opentelemetry\Proto\Metrics\V1

Code

public static function name($value) {
    if (!isset(self::$valueToName[$value])) {
        throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value));
    }
    return self::$valueToName[$value];
}

API Navigation

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