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

Breadcrumb

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

function SpanAttribute::__construct

Parameters

string|null $name Optional name to use for the attribute. Default: argument name.:

File

vendor/open-telemetry/api/Instrumentation/SpanAttribute.php, line 20

Class

SpanAttribute
For function and methods that have the {@link WithSpan} attribute, adding this attribute to an argument will add the argument as a span attribute.

Namespace

OpenTelemetry\API\Instrumentation

Code

public function __construct(?string $name = null) {
}
RSS feed
Powered by Drupal