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

Breadcrumb

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

SpanKind::$valueToName

Type: valueToName

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/SpanKind.php, line 62

Class

SpanKind
SpanKind is the type of span. Can be used to specify additional relationships between spans in addition to a parent/child relationship.

Namespace

Opentelemetry\Proto\Trace\V1\Span

Code

private static $valueToName = [
    self::SPAN_KIND_UNSPECIFIED => 'SPAN_KIND_UNSPECIFIED',
    self::SPAN_KIND_INTERNAL => 'SPAN_KIND_INTERNAL',
    self::SPAN_KIND_SERVER => 'SPAN_KIND_SERVER',
    self::SPAN_KIND_CLIENT => 'SPAN_KIND_CLIENT',
    self::SPAN_KIND_PRODUCER => 'SPAN_KIND_PRODUCER',
    self::SPAN_KIND_CONSUMER => 'SPAN_KIND_CONSUMER',
];

API Navigation

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