function Span::setDroppedAttributesCount
dropped_attributes_count is the number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0, then no attributes were dropped.
Generated from protobuf field <code>uint32 dropped_attributes_count = 10;</code>
Parameters
int $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Trace/ V1/ Span.php, line 663
Class
- Span
- A Span represents a single operation performed by a single component of the system. The next available field id is 17.
Namespace
Opentelemetry\Proto\Trace\V1Code
public function setDroppedAttributesCount($var) {
GPBUtil::checkUint32($var);
$this->dropped_attributes_count = $var;
return $this;
}