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

Breadcrumb

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

function ContextKeys::baggage

2 calls to ContextKeys::baggage()
Baggage::fromContext in vendor/open-telemetry/api/Baggage/Baggage.php
@inheritDoc
Baggage::storeInContext in vendor/open-telemetry/api/Baggage/Baggage.php
@inheritDoc

File

vendor/open-telemetry/context/ContextKeys.php, line 19

Class

ContextKeys
@psalm-internal OpenTelemetry

Namespace

OpenTelemetry\Context

Code

public static function baggage() : ContextKeyInterface {
    static $instance;
    return $instance ??= Context::createKey('opentelemetry-trace-baggage-key');
}

API Navigation

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