function KeyValue::__construct
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
@type string $key @type \Opentelemetry\Proto\Common\V1\AnyValue $value }
Overrides Message::__construct
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Common/ V1/ KeyValue.php, line 38
Class
- KeyValue
- KeyValue is a key-value pair that is used to store Span attributes, Link attributes, etc.
Namespace
Opentelemetry\Proto\Common\V1Code
public function __construct($data = NULL) {
\GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
parent::__construct($data);
}