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

Breadcrumb

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

function SpanBuilderInterface::setStartTimestamp

Sets an explicit start timestamp for the newly created {The provided *$timestamp* is assumed to be in nanoseconds.

Defaults to the timestamp when {

See also

SpanInterface}.

SpanBuilderInterface::startSpan} was called if not explicitly set.

1 method overrides SpanBuilderInterface::setStartTimestamp()
NoopSpanBuilder::setStartTimestamp in vendor/open-telemetry/api/Trace/NoopSpanBuilder.php
Sets an explicit start timestamp for the newly created {The provided *$timestamp* is assumed to be in nanoseconds.

File

vendor/open-telemetry/api/Trace/SpanBuilderInterface.php, line 35

Class

SpanBuilderInterface
Obtained from a {

Namespace

OpenTelemetry\API\Trace

Code

public function setStartTimestamp(int $timestampNanos) : SpanBuilderInterface;

API Navigation

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