function ExportTracePartialSuccess::setRejectedSpans
The number of rejected spans. A `rejected_<signal>` field holding a `0` value indicates that the request was fully accepted.
Generated from protobuf field <code>int64 rejected_spans = 1;</code>
Parameters
int|string $var:
Return value
$this
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Collector/ Trace/ V1/ ExportTracePartialSuccess.php, line 82
Class
- ExportTracePartialSuccess
- Generated from protobuf message <code>opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess</code>
Namespace
Opentelemetry\Proto\Collector\Trace\V1Code
public function setRejectedSpans($var) {
GPBUtil::checkInt64($var);
$this->rejected_spans = $var;
return $this;
}