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

Breadcrumb

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

function IntExemplar::setTraceId

(Optional) Trace ID of the exemplar trace. trace_id may be missing if the measurement is not recorded inside a trace or if the trace is not sampled.

Generated from protobuf field <code>bytes trace_id = 5;</code>

Parameters

string $var:

Return value

$this

File

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

Class

IntExemplar
IntExemplar is deprecated. Use Exemplar with as_int for value

Namespace

Opentelemetry\Proto\Metrics\V1

Code

public function setTraceId($var) {
    GPBUtil::checkString($var, False);
    $this->trace_id = $var;
    return $this;
}

API Navigation

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