function SpanInterface::setAttributes
An attribute with a null key will be dropped, and an attribute with a null value will be dropped but also remove any existing attribute with the same key.
Parameters
iterable<non-empty-string, bool|int|float|string|array|null> $attributes:
See also
https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6…
1 method overrides SpanInterface::setAttributes()
- NonRecordingSpan::setAttributes in vendor/
open-telemetry/ api/ Trace/ NonRecordingSpan.php - @inheritDoc
File
-
vendor/
open-telemetry/ api/ Trace/ SpanInterface.php, line 66
Class
Namespace
OpenTelemetry\API\TraceCode
public function setAttributes(iterable $attributes) : SpanInterface;