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\V1Code
public function setTraceId($var) {
GPBUtil::checkString($var, False);
$this->trace_id = $var;
return $this;
}