function Resource::setDroppedAttributesCount
dropped_attributes_count is the number of dropped attributes. If the value is 0, then no attributes were dropped.
Generated from protobuf field <code>uint32 dropped_attributes_count = 2;</code>
Parameters
int $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Resource/ V1/ Resource.php, line 104
Class
- Resource
- Resource information.
Namespace
Opentelemetry\Proto\Resource\V1Code
public function setDroppedAttributesCount($var) {
GPBUtil::checkUint32($var);
$this->dropped_attributes_count = $var;
return $this;
}