function IntExemplar::setSpanId
(Optional) Span ID of the exemplar trace. span_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 span_id = 4;</code>
Parameters
string $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ V1/ IntExemplar.php, line 196
Class
- IntExemplar
- IntExemplar is deprecated. Use Exemplar with as_int for value
Namespace
Opentelemetry\Proto\Metrics\V1Code
public function setSpanId($var) {
GPBUtil::checkString($var, False);
$this->span_id = $var;
return $this;
}