summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry')
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsPartialSuccess.php127
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceRequest.php81
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceResponse.php119
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/LogsServiceClient.php53
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php127
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php81
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php119
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/MetricsServiceClient.php53
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php127
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceRequest.php81
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceResponse.php119
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/TraceServiceClient.php53
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/AnyValue.php240
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/ArrayValue.php68
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationLibrary.php98
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php164
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php98
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValueList.php83
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php88
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/InstrumentationLibraryLogs.php156
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecord.php541
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecordFlags.php58
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogsData.php90
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ResourceLogs.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ScopeLogs.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/SeverityNumber.php167
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php113
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse.php201
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule.php149
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php113
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule_Pattern.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/AggregationTemporality.php114
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/DataPointFlags.php61
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Exemplar.php269
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogram.php99
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint.php718
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php141
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint_Buckets.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Gauge.php67
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Histogram.php99
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/HistogramDataPoint.php565
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/InstrumentationLibraryMetrics.php156
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntDataPoint.php227
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntExemplar.php235
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntGauge.php60
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogram.php99
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogramDataPoint.php393
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntSum.php132
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php358
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/MetricsData.php90
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php309
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ResourceMetrics.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ScopeMetrics.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php133
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Summary.php65
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint.php336
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint/ValueAtQuantile.php117
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint_ValueAtQuantile.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php113
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler.php60
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler/ConstantDecision.php61
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler_ConstantDecision.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/InstrumentationLibrarySpans.php156
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/RateLimitingSampler.php67
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ResourceSpans.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ScopeSpans.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span.php726
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php189
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Link.php225
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/SpanKind.php94
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Event.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Link.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_SpanKind.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php102
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/DeprecatedStatusCode.php126
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/StatusCode.php66
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_DeprecatedStatusCode.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_StatusCode.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceConfig.php297
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceIdRatioBased.php68
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TracesData.php90
82 files changed, 11928 insertions, 0 deletions
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsPartialSuccess.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsPartialSuccess.php
new file mode 100644
index 000000000..044cdffdd
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsPartialSuccess.php
@@ -0,0 +1,127 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/collector/logs/v1/logs_service.proto
+
+namespace Opentelemetry\Proto\Collector\Logs\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess</code>
+ */
+class ExportLogsPartialSuccess extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The number of rejected log records.
+ * A `rejected_<signal>` field holding a `0` value indicates that the
+ * request was fully accepted.
+ *
+ * Generated from protobuf field <code>int64 rejected_log_records = 1;</code>
+ */
+ protected $rejected_log_records = 0;
+ /**
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ *
+ * Generated from protobuf field <code>string error_message = 2;</code>
+ */
+ protected $error_message = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $rejected_log_records
+ * The number of rejected log records.
+ * A `rejected_<signal>` field holding a `0` value indicates that the
+ * request was fully accepted.
+ * @type string $error_message
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Collector\Logs\V1\LogsService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The number of rejected log records.
+ * A `rejected_<signal>` field holding a `0` value indicates that the
+ * request was fully accepted.
+ *
+ * Generated from protobuf field <code>int64 rejected_log_records = 1;</code>
+ * @return int|string
+ */
+ public function getRejectedLogRecords()
+ {
+ return $this->rejected_log_records;
+ }
+
+ /**
+ * The number of rejected log records.
+ * A `rejected_<signal>` field holding a `0` value indicates that the
+ * request was fully accepted.
+ *
+ * Generated from protobuf field <code>int64 rejected_log_records = 1;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setRejectedLogRecords($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->rejected_log_records = $var;
+
+ return $this;
+ }
+
+ /**
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ *
+ * Generated from protobuf field <code>string error_message = 2;</code>
+ * @return string
+ */
+ public function getErrorMessage()
+ {
+ return $this->error_message;
+ }
+
+ /**
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ *
+ * Generated from protobuf field <code>string error_message = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setErrorMessage($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->error_message = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceRequest.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceRequest.php
new file mode 100644
index 000000000..e6f4147c4
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceRequest.php
@@ -0,0 +1,81 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/collector/logs/v1/logs_service.proto
+
+namespace Opentelemetry\Proto\Collector\Logs\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest</code>
+ */
+class ExportLogsServiceRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * An array of ResourceLogs.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
+ */
+ private $resource_logs;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Logs\V1\ResourceLogs[]|\Google\Protobuf\Internal\RepeatedField $resource_logs
+ * An array of ResourceLogs.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Collector\Logs\V1\LogsService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An array of ResourceLogs.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourceLogs()
+ {
+ return $this->resource_logs;
+ }
+
+ /**
+ * An array of ResourceLogs.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
+ * @param \Opentelemetry\Proto\Logs\V1\ResourceLogs[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResourceLogs($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Logs\V1\ResourceLogs::class);
+ $this->resource_logs = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceResponse.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceResponse.php
new file mode 100644
index 000000000..34e76a836
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceResponse.php
@@ -0,0 +1,119 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/collector/logs/v1/logs_service.proto
+
+namespace Opentelemetry\Proto\Collector\Logs\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse</code>
+ */
+class ExportLogsServiceResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1;</code>
+ */
+ protected $partial_success = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Collector\Logs\V1\ExportLogsPartialSuccess $partial_success
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Collector\Logs\V1\LogsService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1;</code>
+ * @return \Opentelemetry\Proto\Collector\Logs\V1\ExportLogsPartialSuccess|null
+ */
+ public function getPartialSuccess()
+ {
+ return $this->partial_success;
+ }
+
+ public function hasPartialSuccess()
+ {
+ return isset($this->partial_success);
+ }
+
+ public function clearPartialSuccess()
+ {
+ unset($this->partial_success);
+ }
+
+ /**
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1;</code>
+ * @param \Opentelemetry\Proto\Collector\Logs\V1\ExportLogsPartialSuccess $var
+ * @return $this
+ */
+ public function setPartialSuccess($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Collector\Logs\V1\ExportLogsPartialSuccess::class);
+ $this->partial_success = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/LogsServiceClient.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/LogsServiceClient.php
new file mode 100644
index 000000000..e3249d73e
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/LogsServiceClient.php
@@ -0,0 +1,53 @@
+<?php
+// GENERATED CODE -- DO NOT EDIT!
+
+// Original file comments:
+// Copyright 2020, OpenTelemetry Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+namespace Opentelemetry\Proto\Collector\Logs\V1;
+
+/**
+ * Service that can be used to push logs between one Application instrumented with
+ * OpenTelemetry and an collector, or between an collector and a central collector (in this
+ * case logs are sent/received to/from multiple Applications).
+ */
+class LogsServiceClient extends \Grpc\BaseStub {
+
+ /**
+ * @param string $hostname hostname
+ * @param array $opts channel options
+ * @param \Grpc\Channel $channel (optional) re-use channel object
+ */
+ public function __construct($hostname, $opts, $channel = null) {
+ parent::__construct($hostname, $opts, $channel);
+ }
+
+ /**
+ * For performance reasons, it is recommended to keep this RPC
+ * alive for the entire life of the application.
+ * @param \Opentelemetry\Proto\Collector\Logs\V1\ExportLogsServiceRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function Export(\Opentelemetry\Proto\Collector\Logs\V1\ExportLogsServiceRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/opentelemetry.proto.collector.logs.v1.LogsService/Export',
+ $argument,
+ ['\Opentelemetry\Proto\Collector\Logs\V1\ExportLogsServiceResponse', 'decode'],
+ $metadata, $options);
+ }
+
+}
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php
new file mode 100644
index 000000000..872d3b5e0
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php
@@ -0,0 +1,127 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto
+
+namespace Opentelemetry\Proto\Collector\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Generated from protobuf message <code>opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess</code>
+ */
+class ExportMetricsPartialSuccess extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The number of rejected data points.
+ * A `rejected_<signal>` field holding a `0` value indicates that the
+ * request was fully accepted.
+ *
+ * Generated from protobuf field <code>int64 rejected_data_points = 1;</code>
+ */
+ protected $rejected_data_points = 0;
+ /**
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ *
+ * Generated from protobuf field <code>string error_message = 2;</code>
+ */
+ protected $error_message = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $rejected_data_points
+ * The number of rejected data points.
+ * A `rejected_<signal>` field holding a `0` value indicates that the
+ * request was fully accepted.
+ * @type string $error_message
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Collector\Metrics\V1\MetricsService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The number of rejected data points.
+ * A `rejected_<signal>` field holding a `0` value indicates that the
+ * request was fully accepted.
+ *
+ * Generated from protobuf field <code>int64 rejected_data_points = 1;</code>
+ * @return int|string
+ */
+ public function getRejectedDataPoints()
+ {
+ return $this->rejected_data_points;
+ }
+
+ /**
+ * The number of rejected data points.
+ * A `rejected_<signal>` field holding a `0` value indicates that the
+ * request was fully accepted.
+ *
+ * Generated from protobuf field <code>int64 rejected_data_points = 1;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setRejectedDataPoints($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->rejected_data_points = $var;
+
+ return $this;
+ }
+
+ /**
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ *
+ * Generated from protobuf field <code>string error_message = 2;</code>
+ * @return string
+ */
+ public function getErrorMessage()
+ {
+ return $this->error_message;
+ }
+
+ /**
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ *
+ * Generated from protobuf field <code>string error_message = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setErrorMessage($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->error_message = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php
new file mode 100644
index 000000000..1fa5ac3bf
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php
@@ -0,0 +1,81 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto
+
+namespace Opentelemetry\Proto\Collector\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Generated from protobuf message <code>opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest</code>
+ */
+class ExportMetricsServiceRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * An array of ResourceMetrics.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
+ */
+ private $resource_metrics;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Metrics\V1\ResourceMetrics[]|\Google\Protobuf\Internal\RepeatedField $resource_metrics
+ * An array of ResourceMetrics.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Collector\Metrics\V1\MetricsService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An array of ResourceMetrics.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourceMetrics()
+ {
+ return $this->resource_metrics;
+ }
+
+ /**
+ * An array of ResourceMetrics.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\ResourceMetrics[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResourceMetrics($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\ResourceMetrics::class);
+ $this->resource_metrics = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php
new file mode 100644
index 000000000..1f3bff5aa
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php
@@ -0,0 +1,119 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto
+
+namespace Opentelemetry\Proto\Collector\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Generated from protobuf message <code>opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse</code>
+ */
+class ExportMetricsServiceResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess partial_success = 1;</code>
+ */
+ protected $partial_success = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsPartialSuccess $partial_success
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Collector\Metrics\V1\MetricsService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess partial_success = 1;</code>
+ * @return \Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsPartialSuccess|null
+ */
+ public function getPartialSuccess()
+ {
+ return $this->partial_success;
+ }
+
+ public function hasPartialSuccess()
+ {
+ return isset($this->partial_success);
+ }
+
+ public function clearPartialSuccess()
+ {
+ unset($this->partial_success);
+ }
+
+ /**
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess partial_success = 1;</code>
+ * @param \Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsPartialSuccess $var
+ * @return $this
+ */
+ public function setPartialSuccess($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsPartialSuccess::class);
+ $this->partial_success = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/MetricsServiceClient.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/MetricsServiceClient.php
new file mode 100644
index 000000000..b5cddb55a
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/MetricsServiceClient.php
@@ -0,0 +1,53 @@
+<?php
+// GENERATED CODE -- DO NOT EDIT!
+
+// Original file comments:
+// Copyright 2019, OpenTelemetry Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+namespace Opentelemetry\Proto\Collector\Metrics\V1;
+
+/**
+ * Service that can be used to push metrics between one Application
+ * instrumented with OpenTelemetry and a collector, or between a collector and a
+ * central collector.
+ */
+class MetricsServiceClient extends \Grpc\BaseStub {
+
+ /**
+ * @param string $hostname hostname
+ * @param array $opts channel options
+ * @param \Grpc\Channel $channel (optional) re-use channel object
+ */
+ public function __construct($hostname, $opts, $channel = null) {
+ parent::__construct($hostname, $opts, $channel);
+ }
+
+ /**
+ * For performance reasons, it is recommended to keep this RPC
+ * alive for the entire life of the application.
+ * @param \Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsServiceRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function Export(\Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsServiceRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/opentelemetry.proto.collector.metrics.v1.MetricsService/Export',
+ $argument,
+ ['\Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsServiceResponse', 'decode'],
+ $metadata, $options);
+ }
+
+}
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php
new file mode 100644
index 000000000..56bf54dda
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php
@@ -0,0 +1,127 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/collector/trace/v1/trace_service.proto
+
+namespace Opentelemetry\Proto\Collector\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Generated from protobuf message <code>opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess</code>
+ */
+class ExportTracePartialSuccess extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * 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>
+ */
+ protected $rejected_spans = 0;
+ /**
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ *
+ * Generated from protobuf field <code>string error_message = 2;</code>
+ */
+ protected $error_message = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $rejected_spans
+ * The number of rejected spans.
+ * A `rejected_<signal>` field holding a `0` value indicates that the
+ * request was fully accepted.
+ * @type string $error_message
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Collector\Trace\V1\TraceService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * 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>
+ * @return int|string
+ */
+ public function getRejectedSpans()
+ {
+ return $this->rejected_spans;
+ }
+
+ /**
+ * 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>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setRejectedSpans($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->rejected_spans = $var;
+
+ return $this;
+ }
+
+ /**
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ *
+ * Generated from protobuf field <code>string error_message = 2;</code>
+ * @return string
+ */
+ public function getErrorMessage()
+ {
+ return $this->error_message;
+ }
+
+ /**
+ * A developer-facing human-readable message in English. It should be used
+ * either to explain why the server rejected parts of the data during a partial
+ * success or to convey warnings/suggestions during a full success. The message
+ * should offer guidance on how users can address such issues.
+ * error_message is an optional field. An error_message with an empty value
+ * is equivalent to it not being set.
+ *
+ * Generated from protobuf field <code>string error_message = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setErrorMessage($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->error_message = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceRequest.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceRequest.php
new file mode 100644
index 000000000..dc8bced18
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceRequest.php
@@ -0,0 +1,81 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/collector/trace/v1/trace_service.proto
+
+namespace Opentelemetry\Proto\Collector\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Generated from protobuf message <code>opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest</code>
+ */
+class ExportTraceServiceRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * An array of ResourceSpans.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
+ */
+ private $resource_spans;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Trace\V1\ResourceSpans[]|\Google\Protobuf\Internal\RepeatedField $resource_spans
+ * An array of ResourceSpans.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Collector\Trace\V1\TraceService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An array of ResourceSpans.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourceSpans()
+ {
+ return $this->resource_spans;
+ }
+
+ /**
+ * An array of ResourceSpans.
+ * For data coming from a single resource this array will typically contain one
+ * element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ * data from multiple origins typically batch the data before forwarding further and
+ * in that case this array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
+ * @param \Opentelemetry\Proto\Trace\V1\ResourceSpans[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResourceSpans($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\ResourceSpans::class);
+ $this->resource_spans = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceResponse.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceResponse.php
new file mode 100644
index 000000000..27b03030a
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceResponse.php
@@ -0,0 +1,119 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/collector/trace/v1/trace_service.proto
+
+namespace Opentelemetry\Proto\Collector\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Generated from protobuf message <code>opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse</code>
+ */
+class ExportTraceServiceResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;</code>
+ */
+ protected $partial_success = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Collector\Trace\V1\ExportTracePartialSuccess $partial_success
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Collector\Trace\V1\TraceService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;</code>
+ * @return \Opentelemetry\Proto\Collector\Trace\V1\ExportTracePartialSuccess|null
+ */
+ public function getPartialSuccess()
+ {
+ return $this->partial_success;
+ }
+
+ public function hasPartialSuccess()
+ {
+ return isset($this->partial_success);
+ }
+
+ public function clearPartialSuccess()
+ {
+ unset($this->partial_success);
+ }
+
+ /**
+ * The details of a partially successful export request.
+ * If the request is only partially accepted
+ * (i.e. when the server accepts only parts of the data and rejects the rest)
+ * the server MUST initialize the `partial_success` field and MUST
+ * set the `rejected_<signal>` with the number of items it rejected.
+ * Servers MAY also make use of the `partial_success` field to convey
+ * warnings/suggestions to senders even when the request was fully accepted.
+ * In such cases, the `rejected_<signal>` MUST have a value of `0` and
+ * the `error_message` MUST be non-empty.
+ * A `partial_success` message with an empty value (rejected_<signal> = 0 and
+ * `error_message` = "") is equivalent to it not being set/present. Senders
+ * SHOULD interpret it the same way as in the full success case.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;</code>
+ * @param \Opentelemetry\Proto\Collector\Trace\V1\ExportTracePartialSuccess $var
+ * @return $this
+ */
+ public function setPartialSuccess($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Collector\Trace\V1\ExportTracePartialSuccess::class);
+ $this->partial_success = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/TraceServiceClient.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/TraceServiceClient.php
new file mode 100644
index 000000000..7a676b3e1
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/TraceServiceClient.php
@@ -0,0 +1,53 @@
+<?php
+// GENERATED CODE -- DO NOT EDIT!
+
+// Original file comments:
+// Copyright 2019, OpenTelemetry Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+namespace Opentelemetry\Proto\Collector\Trace\V1;
+
+/**
+ * Service that can be used to push spans between one Application instrumented with
+ * OpenTelemetry and a collector, or between a collector and a central collector (in this
+ * case spans are sent/received to/from multiple Applications).
+ */
+class TraceServiceClient extends \Grpc\BaseStub {
+
+ /**
+ * @param string $hostname hostname
+ * @param array $opts channel options
+ * @param \Grpc\Channel $channel (optional) re-use channel object
+ */
+ public function __construct($hostname, $opts, $channel = null) {
+ parent::__construct($hostname, $opts, $channel);
+ }
+
+ /**
+ * For performance reasons, it is recommended to keep this RPC
+ * alive for the entire life of the application.
+ * @param \Opentelemetry\Proto\Collector\Trace\V1\ExportTraceServiceRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function Export(\Opentelemetry\Proto\Collector\Trace\V1\ExportTraceServiceRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/opentelemetry.proto.collector.trace.v1.TraceService/Export',
+ $argument,
+ ['\Opentelemetry\Proto\Collector\Trace\V1\ExportTraceServiceResponse', 'decode'],
+ $metadata, $options);
+ }
+
+}
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/AnyValue.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/AnyValue.php
new file mode 100644
index 000000000..89079de89
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/AnyValue.php
@@ -0,0 +1,240 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/common/v1/common.proto
+
+namespace Opentelemetry\Proto\Common\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * AnyValue is used to represent any type of attribute value. AnyValue may contain a
+ * primitive value such as a string or integer or it may contain an arbitrary nested
+ * object containing arrays, key-value lists and primitives.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.common.v1.AnyValue</code>
+ */
+class AnyValue extends \Google\Protobuf\Internal\Message
+{
+ protected $value;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $string_value
+ * @type bool $bool_value
+ * @type int|string $int_value
+ * @type float $double_value
+ * @type \Opentelemetry\Proto\Common\V1\ArrayValue $array_value
+ * @type \Opentelemetry\Proto\Common\V1\KeyValueList $kvlist_value
+ * @type string $bytes_value
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>string string_value = 1;</code>
+ * @return string
+ */
+ public function getStringValue()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasStringValue()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Generated from protobuf field <code>string string_value = 1;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setStringValue($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>bool bool_value = 2;</code>
+ * @return bool
+ */
+ public function getBoolValue()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasBoolValue()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Generated from protobuf field <code>bool bool_value = 2;</code>
+ * @param bool $var
+ * @return $this
+ */
+ public function setBoolValue($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>int64 int_value = 3;</code>
+ * @return int|string
+ */
+ public function getIntValue()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasIntValue()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Generated from protobuf field <code>int64 int_value = 3;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setIntValue($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>double double_value = 4;</code>
+ * @return float
+ */
+ public function getDoubleValue()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasDoubleValue()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Generated from protobuf field <code>double double_value = 4;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setDoubleValue($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.ArrayValue array_value = 5;</code>
+ * @return \Opentelemetry\Proto\Common\V1\ArrayValue|null
+ */
+ public function getArrayValue()
+ {
+ return $this->readOneof(5);
+ }
+
+ public function hasArrayValue()
+ {
+ return $this->hasOneof(5);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.ArrayValue array_value = 5;</code>
+ * @param \Opentelemetry\Proto\Common\V1\ArrayValue $var
+ * @return $this
+ */
+ public function setArrayValue($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\ArrayValue::class);
+ $this->writeOneof(5, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6;</code>
+ * @return \Opentelemetry\Proto\Common\V1\KeyValueList|null
+ */
+ public function getKvlistValue()
+ {
+ return $this->readOneof(6);
+ }
+
+ public function hasKvlistValue()
+ {
+ return $this->hasOneof(6);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValueList $var
+ * @return $this
+ */
+ public function setKvlistValue($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\KeyValueList::class);
+ $this->writeOneof(6, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>bytes bytes_value = 7;</code>
+ * @return string
+ */
+ public function getBytesValue()
+ {
+ return $this->readOneof(7);
+ }
+
+ public function hasBytesValue()
+ {
+ return $this->hasOneof(7);
+ }
+
+ /**
+ * Generated from protobuf field <code>bytes bytes_value = 7;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setBytesValue($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->writeOneof(7, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->whichOneof("value");
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/ArrayValue.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/ArrayValue.php
new file mode 100644
index 000000000..eccbba997
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/ArrayValue.php
@@ -0,0 +1,68 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/common/v1/common.proto
+
+namespace Opentelemetry\Proto\Common\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * ArrayValue is a list of AnyValue messages. We need ArrayValue as a message
+ * since oneof in AnyValue does not allow repeated fields.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.common.v1.ArrayValue</code>
+ */
+class ArrayValue extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Array of values. The array may be empty (contain 0 elements).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.AnyValue values = 1;</code>
+ */
+ private $values;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\AnyValue[]|\Google\Protobuf\Internal\RepeatedField $values
+ * Array of values. The array may be empty (contain 0 elements).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Array of values. The array may be empty (contain 0 elements).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.AnyValue values = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getValues()
+ {
+ return $this->values;
+ }
+
+ /**
+ * Array of values. The array may be empty (contain 0 elements).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.AnyValue values = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\AnyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setValues($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\AnyValue::class);
+ $this->values = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationLibrary.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationLibrary.php
new file mode 100644
index 000000000..7d012ad19
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationLibrary.php
@@ -0,0 +1,98 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/common/v1/common.proto
+
+namespace Opentelemetry\Proto\Common\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * InstrumentationLibrary is a message representing the instrumentation library information
+ * such as the fully qualified name and version.
+ * InstrumentationLibrary is wire-compatible with InstrumentationScope for binary
+ * Protobuf format.
+ * This message is deprecated and will be removed on June 15, 2022.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.common.v1.InstrumentationLibrary</code>
+ */
+class InstrumentationLibrary extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * An empty instrumentation library name means the name is unknown.
+ *
+ * Generated from protobuf field <code>string name = 1;</code>
+ */
+ protected $name = '';
+ /**
+ * Generated from protobuf field <code>string version = 2;</code>
+ */
+ protected $version = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * An empty instrumentation library name means the name is unknown.
+ * @type string $version
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An empty instrumentation library name means the name is unknown.
+ *
+ * Generated from protobuf field <code>string name = 1;</code>
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * An empty instrumentation library name means the name is unknown.
+ *
+ * Generated from protobuf field <code>string name = 1;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>string version = 2;</code>
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Generated from protobuf field <code>string version = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setVersion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->version = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php
new file mode 100644
index 000000000..d2b4b6f05
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php
@@ -0,0 +1,164 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/common/v1/common.proto
+
+namespace Opentelemetry\Proto\Common\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * InstrumentationScope is a message representing the instrumentation scope information
+ * such as the fully qualified name and version.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.common.v1.InstrumentationScope</code>
+ */
+class InstrumentationScope extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * An empty instrumentation scope name means the name is unknown.
+ *
+ * Generated from protobuf field <code>string name = 1;</code>
+ */
+ protected $name = '';
+ /**
+ * Generated from protobuf field <code>string version = 2;</code>
+ */
+ protected $version = '';
+ /**
+ * Additional attributes that describe the scope. [Optional].
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
+ */
+ private $attributes;
+ /**
+ * Generated from protobuf field <code>uint32 dropped_attributes_count = 4;</code>
+ */
+ protected $dropped_attributes_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * An empty instrumentation scope name means the name is unknown.
+ * @type string $version
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes
+ * Additional attributes that describe the scope. [Optional].
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ * @type int $dropped_attributes_count
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An empty instrumentation scope name means the name is unknown.
+ *
+ * Generated from protobuf field <code>string name = 1;</code>
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * An empty instrumentation scope name means the name is unknown.
+ *
+ * Generated from protobuf field <code>string name = 1;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>string version = 2;</code>
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Generated from protobuf field <code>string version = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setVersion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->version = $var;
+
+ return $this;
+ }
+
+ /**
+ * Additional attributes that describe the scope. [Optional].
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * Additional attributes that describe the scope. [Optional].
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAttributes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->attributes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>uint32 dropped_attributes_count = 4;</code>
+ * @return int
+ */
+ public function getDroppedAttributesCount()
+ {
+ return $this->dropped_attributes_count;
+ }
+
+ /**
+ * Generated from protobuf field <code>uint32 dropped_attributes_count = 4;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setDroppedAttributesCount($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->dropped_attributes_count = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php
new file mode 100644
index 000000000..6dfbdeb40
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php
@@ -0,0 +1,98 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/common/v1/common.proto
+
+namespace Opentelemetry\Proto\Common\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * KeyValue is a key-value pair that is used to store Span attributes, Link
+ * attributes, etc.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.common.v1.KeyValue</code>
+ */
+class KeyValue extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field <code>string key = 1;</code>
+ */
+ protected $key = '';
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.AnyValue value = 2;</code>
+ */
+ protected $value = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $key
+ * @type \Opentelemetry\Proto\Common\V1\AnyValue $value
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>string key = 1;</code>
+ * @return string
+ */
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ /**
+ * Generated from protobuf field <code>string key = 1;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.AnyValue value = 2;</code>
+ * @return \Opentelemetry\Proto\Common\V1\AnyValue|null
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ public function hasValue()
+ {
+ return isset($this->value);
+ }
+
+ public function clearValue()
+ {
+ unset($this->value);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.AnyValue value = 2;</code>
+ * @param \Opentelemetry\Proto\Common\V1\AnyValue $var
+ * @return $this
+ */
+ public function setValue($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\AnyValue::class);
+ $this->value = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValueList.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValueList.php
new file mode 100644
index 000000000..51fb628ae
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValueList.php
@@ -0,0 +1,83 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/common/v1/common.proto
+
+namespace Opentelemetry\Proto\Common\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * KeyValueList is a list of KeyValue messages. We need KeyValueList as a message
+ * since `oneof` in AnyValue does not allow repeated fields. Everywhere else where we need
+ * a list of KeyValue messages (e.g. in Span) we use `repeated KeyValue` directly to
+ * avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches
+ * are semantically equivalent.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.common.v1.KeyValueList</code>
+ */
+class KeyValueList extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A collection of key/value pairs of key-value pairs. The list may be empty (may
+ * contain 0 elements).
+ * The keys MUST be unique (it is not allowed to have more than one
+ * value with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue values = 1;</code>
+ */
+ private $values;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $values
+ * A collection of key/value pairs of key-value pairs. The list may be empty (may
+ * contain 0 elements).
+ * The keys MUST be unique (it is not allowed to have more than one
+ * value with the same key).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A collection of key/value pairs of key-value pairs. The list may be empty (may
+ * contain 0 elements).
+ * The keys MUST be unique (it is not allowed to have more than one
+ * value with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue values = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getValues()
+ {
+ return $this->values;
+ }
+
+ /**
+ * A collection of key/value pairs of key-value pairs. The list may be empty (may
+ * contain 0 elements).
+ * The keys MUST be unique (it is not allowed to have more than one
+ * value with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue values = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setValues($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->values = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php
new file mode 100644
index 000000000..c508dd1aa
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php
@@ -0,0 +1,88 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/common/v1/common.proto
+
+namespace Opentelemetry\Proto\Common\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * StringKeyValue is a pair of key/value strings. This is the simpler (and faster) version
+ * of KeyValue that only supports string values.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.common.v1.StringKeyValue</code>
+ */
+class StringKeyValue extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field <code>string key = 1;</code>
+ */
+ protected $key = '';
+ /**
+ * Generated from protobuf field <code>string value = 2;</code>
+ */
+ protected $value = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $key
+ * @type string $value
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>string key = 1;</code>
+ * @return string
+ */
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ /**
+ * Generated from protobuf field <code>string key = 1;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>string value = 2;</code>
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * Generated from protobuf field <code>string value = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setValue($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->value = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/InstrumentationLibraryLogs.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/InstrumentationLibraryLogs.php
new file mode 100644
index 000000000..e43654641
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/InstrumentationLibraryLogs.php
@@ -0,0 +1,156 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/logs/v1/logs.proto
+
+namespace Opentelemetry\Proto\Logs\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A collection of Logs produced by an InstrumentationLibrary.
+ * InstrumentationLibraryLogs is wire-compatible with ScopeLogs for binary
+ * Protobuf format.
+ * This message is deprecated and will be removed on June 15, 2022.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.logs.v1.InstrumentationLibraryLogs</code>
+ */
+class InstrumentationLibraryLogs extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The instrumentation library information for the logs in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
+ */
+ protected $instrumentation_library = null;
+ /**
+ * A list of logs that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
+ */
+ private $log_records;
+ /**
+ * This schema_url applies to all logs in the "logs" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ */
+ protected $schema_url = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $instrumentation_library
+ * The instrumentation library information for the logs in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ * @type \Opentelemetry\Proto\Logs\V1\LogRecord[]|\Google\Protobuf\Internal\RepeatedField $log_records
+ * A list of logs that originate from an instrumentation library.
+ * @type string $schema_url
+ * This schema_url applies to all logs in the "logs" field.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Logs\V1\Logs::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The instrumentation library information for the logs in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
+ * @return \Opentelemetry\Proto\Common\V1\InstrumentationLibrary|null
+ */
+ public function getInstrumentationLibrary()
+ {
+ return $this->instrumentation_library;
+ }
+
+ public function hasInstrumentationLibrary()
+ {
+ return isset($this->instrumentation_library);
+ }
+
+ public function clearInstrumentationLibrary()
+ {
+ unset($this->instrumentation_library);
+ }
+
+ /**
+ * The instrumentation library information for the logs in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $var
+ * @return $this
+ */
+ public function setInstrumentationLibrary($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationLibrary::class);
+ $this->instrumentation_library = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of logs that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getLogRecords()
+ {
+ return $this->log_records;
+ }
+
+ /**
+ * A list of logs that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
+ * @param \Opentelemetry\Proto\Logs\V1\LogRecord[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setLogRecords($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Logs\V1\LogRecord::class);
+ $this->log_records = $arr;
+
+ return $this;
+ }
+
+ /**
+ * This schema_url applies to all logs in the "logs" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @return string
+ */
+ public function getSchemaUrl()
+ {
+ return $this->schema_url;
+ }
+
+ /**
+ * This schema_url applies to all logs in the "logs" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSchemaUrl($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->schema_url = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecord.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecord.php
new file mode 100644
index 000000000..caca11f87
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecord.php
@@ -0,0 +1,541 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/logs/v1/logs.proto
+
+namespace Opentelemetry\Proto\Logs\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A log record according to OpenTelemetry Log Data Model:
+ * https://github.com/open-telemetry/oteps/blob/main/text/logs/0097-log-data-model.md
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.logs.v1.LogRecord</code>
+ */
+class LogRecord extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * time_unix_nano is the time when the event occurred.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * Value of 0 indicates unknown or missing timestamp.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 1;</code>
+ */
+ protected $time_unix_nano = 0;
+ /**
+ * Time when the event was observed by the collection system.
+ * For events that originate in OpenTelemetry (e.g. using OpenTelemetry Logging SDK)
+ * this timestamp is typically set at the generation time and is equal to Timestamp.
+ * For events originating externally and collected by OpenTelemetry (e.g. using
+ * Collector) this is the time when OpenTelemetry's code observed the event measured
+ * by the clock of the OpenTelemetry code. This field MUST be set once the event is
+ * observed by OpenTelemetry.
+ * For converting OpenTelemetry log data to formats that support only one timestamp or
+ * when receiving OpenTelemetry log data by recipients that support only one timestamp
+ * internally the following logic is recommended:
+ * - Use time_unix_nano if it is present, otherwise use observed_time_unix_nano.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * Value of 0 indicates unknown or missing timestamp.
+ *
+ * Generated from protobuf field <code>fixed64 observed_time_unix_nano = 11;</code>
+ */
+ protected $observed_time_unix_nano = 0;
+ /**
+ * Numerical value of the severity, normalized to values described in Log Data Model.
+ * [Optional].
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.logs.v1.SeverityNumber severity_number = 2;</code>
+ */
+ protected $severity_number = 0;
+ /**
+ * The severity text (also known as log level). The original string representation as
+ * it is known at the source. [Optional].
+ *
+ * Generated from protobuf field <code>string severity_text = 3;</code>
+ */
+ protected $severity_text = '';
+ /**
+ * A value containing the body of the log record. Can be for example a human-readable
+ * string message (including multi-line) describing the event in a free form or it can
+ * be a structured data composed of arrays and maps of other values. [Optional].
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.AnyValue body = 5;</code>
+ */
+ protected $body = null;
+ /**
+ * Additional attributes that describe the specific event occurrence. [Optional].
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 6;</code>
+ */
+ private $attributes;
+ /**
+ * Generated from protobuf field <code>uint32 dropped_attributes_count = 7;</code>
+ */
+ protected $dropped_attributes_count = 0;
+ /**
+ * Flags, a bit field. 8 least significant bits are the trace flags as
+ * defined in W3C Trace Context specification. 24 most significant bits are reserved
+ * and must be set to 0. Readers must not assume that 24 most significant bits
+ * will be zero and must correctly mask the bits when reading 8-bit trace flag (use
+ * flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). [Optional].
+ *
+ * Generated from protobuf field <code>fixed32 flags = 8;</code>
+ */
+ protected $flags = 0;
+ /**
+ * A unique identifier for a trace. All logs from the same trace share
+ * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
+ * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is optional.
+ * The receivers SHOULD assume that the log record is not associated with a
+ * trace if any of the following is true:
+ * - the field is not present,
+ * - the field contains an invalid value.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 9;</code>
+ */
+ protected $trace_id = '';
+ /**
+ * A unique identifier for a span within a trace, assigned when the span
+ * is created. The ID is an 8-byte array. An ID with all zeroes OR of length
+ * other than 8 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is optional. If the sender specifies a valid span_id then it SHOULD also
+ * specify a valid trace_id.
+ * The receivers SHOULD assume that the log record is not associated with a
+ * span if any of the following is true:
+ * - the field is not present,
+ * - the field contains an invalid value.
+ *
+ * Generated from protobuf field <code>bytes span_id = 10;</code>
+ */
+ protected $span_id = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $time_unix_nano
+ * time_unix_nano is the time when the event occurred.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * Value of 0 indicates unknown or missing timestamp.
+ * @type int|string $observed_time_unix_nano
+ * Time when the event was observed by the collection system.
+ * For events that originate in OpenTelemetry (e.g. using OpenTelemetry Logging SDK)
+ * this timestamp is typically set at the generation time and is equal to Timestamp.
+ * For events originating externally and collected by OpenTelemetry (e.g. using
+ * Collector) this is the time when OpenTelemetry's code observed the event measured
+ * by the clock of the OpenTelemetry code. This field MUST be set once the event is
+ * observed by OpenTelemetry.
+ * For converting OpenTelemetry log data to formats that support only one timestamp or
+ * when receiving OpenTelemetry log data by recipients that support only one timestamp
+ * internally the following logic is recommended:
+ * - Use time_unix_nano if it is present, otherwise use observed_time_unix_nano.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * Value of 0 indicates unknown or missing timestamp.
+ * @type int $severity_number
+ * Numerical value of the severity, normalized to values described in Log Data Model.
+ * [Optional].
+ * @type string $severity_text
+ * The severity text (also known as log level). The original string representation as
+ * it is known at the source. [Optional].
+ * @type \Opentelemetry\Proto\Common\V1\AnyValue $body
+ * A value containing the body of the log record. Can be for example a human-readable
+ * string message (including multi-line) describing the event in a free form or it can
+ * be a structured data composed of arrays and maps of other values. [Optional].
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes
+ * Additional attributes that describe the specific event occurrence. [Optional].
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ * @type int $dropped_attributes_count
+ * @type int $flags
+ * Flags, a bit field. 8 least significant bits are the trace flags as
+ * defined in W3C Trace Context specification. 24 most significant bits are reserved
+ * and must be set to 0. Readers must not assume that 24 most significant bits
+ * will be zero and must correctly mask the bits when reading 8-bit trace flag (use
+ * flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). [Optional].
+ * @type string $trace_id
+ * A unique identifier for a trace. All logs from the same trace share
+ * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
+ * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is optional.
+ * The receivers SHOULD assume that the log record is not associated with a
+ * trace if any of the following is true:
+ * - the field is not present,
+ * - the field contains an invalid value.
+ * @type string $span_id
+ * A unique identifier for a span within a trace, assigned when the span
+ * is created. The ID is an 8-byte array. An ID with all zeroes OR of length
+ * other than 8 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is optional. If the sender specifies a valid span_id then it SHOULD also
+ * specify a valid trace_id.
+ * The receivers SHOULD assume that the log record is not associated with a
+ * span if any of the following is true:
+ * - the field is not present,
+ * - the field contains an invalid value.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Logs\V1\Logs::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * time_unix_nano is the time when the event occurred.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * Value of 0 indicates unknown or missing timestamp.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 1;</code>
+ * @return int|string
+ */
+ public function getTimeUnixNano()
+ {
+ return $this->time_unix_nano;
+ }
+
+ /**
+ * time_unix_nano is the time when the event occurred.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * Value of 0 indicates unknown or missing timestamp.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 1;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * Time when the event was observed by the collection system.
+ * For events that originate in OpenTelemetry (e.g. using OpenTelemetry Logging SDK)
+ * this timestamp is typically set at the generation time and is equal to Timestamp.
+ * For events originating externally and collected by OpenTelemetry (e.g. using
+ * Collector) this is the time when OpenTelemetry's code observed the event measured
+ * by the clock of the OpenTelemetry code. This field MUST be set once the event is
+ * observed by OpenTelemetry.
+ * For converting OpenTelemetry log data to formats that support only one timestamp or
+ * when receiving OpenTelemetry log data by recipients that support only one timestamp
+ * internally the following logic is recommended:
+ * - Use time_unix_nano if it is present, otherwise use observed_time_unix_nano.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * Value of 0 indicates unknown or missing timestamp.
+ *
+ * Generated from protobuf field <code>fixed64 observed_time_unix_nano = 11;</code>
+ * @return int|string
+ */
+ public function getObservedTimeUnixNano()
+ {
+ return $this->observed_time_unix_nano;
+ }
+
+ /**
+ * Time when the event was observed by the collection system.
+ * For events that originate in OpenTelemetry (e.g. using OpenTelemetry Logging SDK)
+ * this timestamp is typically set at the generation time and is equal to Timestamp.
+ * For events originating externally and collected by OpenTelemetry (e.g. using
+ * Collector) this is the time when OpenTelemetry's code observed the event measured
+ * by the clock of the OpenTelemetry code. This field MUST be set once the event is
+ * observed by OpenTelemetry.
+ * For converting OpenTelemetry log data to formats that support only one timestamp or
+ * when receiving OpenTelemetry log data by recipients that support only one timestamp
+ * internally the following logic is recommended:
+ * - Use time_unix_nano if it is present, otherwise use observed_time_unix_nano.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * Value of 0 indicates unknown or missing timestamp.
+ *
+ * Generated from protobuf field <code>fixed64 observed_time_unix_nano = 11;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setObservedTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->observed_time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * Numerical value of the severity, normalized to values described in Log Data Model.
+ * [Optional].
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.logs.v1.SeverityNumber severity_number = 2;</code>
+ * @return int
+ */
+ public function getSeverityNumber()
+ {
+ return $this->severity_number;
+ }
+
+ /**
+ * Numerical value of the severity, normalized to values described in Log Data Model.
+ * [Optional].
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.logs.v1.SeverityNumber severity_number = 2;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setSeverityNumber($var)
+ {
+ GPBUtil::checkEnum($var, \Opentelemetry\Proto\Logs\V1\SeverityNumber::class);
+ $this->severity_number = $var;
+
+ return $this;
+ }
+
+ /**
+ * The severity text (also known as log level). The original string representation as
+ * it is known at the source. [Optional].
+ *
+ * Generated from protobuf field <code>string severity_text = 3;</code>
+ * @return string
+ */
+ public function getSeverityText()
+ {
+ return $this->severity_text;
+ }
+
+ /**
+ * The severity text (also known as log level). The original string representation as
+ * it is known at the source. [Optional].
+ *
+ * Generated from protobuf field <code>string severity_text = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSeverityText($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->severity_text = $var;
+
+ return $this;
+ }
+
+ /**
+ * A value containing the body of the log record. Can be for example a human-readable
+ * string message (including multi-line) describing the event in a free form or it can
+ * be a structured data composed of arrays and maps of other values. [Optional].
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.AnyValue body = 5;</code>
+ * @return \Opentelemetry\Proto\Common\V1\AnyValue|null
+ */
+ public function getBody()
+ {
+ return $this->body;
+ }
+
+ public function hasBody()
+ {
+ return isset($this->body);
+ }
+
+ public function clearBody()
+ {
+ unset($this->body);
+ }
+
+ /**
+ * A value containing the body of the log record. Can be for example a human-readable
+ * string message (including multi-line) describing the event in a free form or it can
+ * be a structured data composed of arrays and maps of other values. [Optional].
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.AnyValue body = 5;</code>
+ * @param \Opentelemetry\Proto\Common\V1\AnyValue $var
+ * @return $this
+ */
+ public function setBody($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\AnyValue::class);
+ $this->body = $var;
+
+ return $this;
+ }
+
+ /**
+ * Additional attributes that describe the specific event occurrence. [Optional].
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 6;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * Additional attributes that describe the specific event occurrence. [Optional].
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 6;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAttributes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->attributes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>uint32 dropped_attributes_count = 7;</code>
+ * @return int
+ */
+ public function getDroppedAttributesCount()
+ {
+ return $this->dropped_attributes_count;
+ }
+
+ /**
+ * Generated from protobuf field <code>uint32 dropped_attributes_count = 7;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setDroppedAttributesCount($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->dropped_attributes_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Flags, a bit field. 8 least significant bits are the trace flags as
+ * defined in W3C Trace Context specification. 24 most significant bits are reserved
+ * and must be set to 0. Readers must not assume that 24 most significant bits
+ * will be zero and must correctly mask the bits when reading 8-bit trace flag (use
+ * flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). [Optional].
+ *
+ * Generated from protobuf field <code>fixed32 flags = 8;</code>
+ * @return int
+ */
+ public function getFlags()
+ {
+ return $this->flags;
+ }
+
+ /**
+ * Flags, a bit field. 8 least significant bits are the trace flags as
+ * defined in W3C Trace Context specification. 24 most significant bits are reserved
+ * and must be set to 0. Readers must not assume that 24 most significant bits
+ * will be zero and must correctly mask the bits when reading 8-bit trace flag (use
+ * flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). [Optional].
+ *
+ * Generated from protobuf field <code>fixed32 flags = 8;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setFlags($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->flags = $var;
+
+ return $this;
+ }
+
+ /**
+ * A unique identifier for a trace. All logs from the same trace share
+ * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
+ * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is optional.
+ * The receivers SHOULD assume that the log record is not associated with a
+ * trace if any of the following is true:
+ * - the field is not present,
+ * - the field contains an invalid value.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 9;</code>
+ * @return string
+ */
+ public function getTraceId()
+ {
+ return $this->trace_id;
+ }
+
+ /**
+ * A unique identifier for a trace. All logs from the same trace share
+ * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
+ * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is optional.
+ * The receivers SHOULD assume that the log record is not associated with a
+ * trace if any of the following is true:
+ * - the field is not present,
+ * - the field contains an invalid value.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 9;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setTraceId($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->trace_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * A unique identifier for a span within a trace, assigned when the span
+ * is created. The ID is an 8-byte array. An ID with all zeroes OR of length
+ * other than 8 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is optional. If the sender specifies a valid span_id then it SHOULD also
+ * specify a valid trace_id.
+ * The receivers SHOULD assume that the log record is not associated with a
+ * span if any of the following is true:
+ * - the field is not present,
+ * - the field contains an invalid value.
+ *
+ * Generated from protobuf field <code>bytes span_id = 10;</code>
+ * @return string
+ */
+ public function getSpanId()
+ {
+ return $this->span_id;
+ }
+
+ /**
+ * A unique identifier for a span within a trace, assigned when the span
+ * is created. The ID is an 8-byte array. An ID with all zeroes OR of length
+ * other than 8 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is optional. If the sender specifies a valid span_id then it SHOULD also
+ * specify a valid trace_id.
+ * The receivers SHOULD assume that the log record is not associated with a
+ * span if any of the following is true:
+ * - the field is not present,
+ * - the field contains an invalid value.
+ *
+ * Generated from protobuf field <code>bytes span_id = 10;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSpanId($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->span_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecordFlags.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecordFlags.php
new file mode 100644
index 000000000..de6f38899
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecordFlags.php
@@ -0,0 +1,58 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/logs/v1/logs.proto
+
+namespace Opentelemetry\Proto\Logs\V1;
+
+use UnexpectedValueException;
+
+/**
+ * LogRecordFlags is defined as a protobuf 'uint32' type and is to be used as
+ * bit-fields. Each non-zero value defined in this enum is a bit-mask.
+ * To extract the bit-field, for example, use an expression like:
+ * (logRecord.flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK)
+ *
+ * Protobuf type <code>opentelemetry.proto.logs.v1.LogRecordFlags</code>
+ */
+class LogRecordFlags
+{
+ /**
+ * The zero value for the enum. Should not be used for comparisons.
+ * Instead use bitwise "and" with the appropriate mask as shown above.
+ *
+ * Generated from protobuf enum <code>LOG_RECORD_FLAGS_DO_NOT_USE = 0;</code>
+ */
+ const LOG_RECORD_FLAGS_DO_NOT_USE = 0;
+ /**
+ * Bits 0-7 are used for trace flags.
+ *
+ * Generated from protobuf enum <code>LOG_RECORD_FLAGS_TRACE_FLAGS_MASK = 255;</code>
+ */
+ const LOG_RECORD_FLAGS_TRACE_FLAGS_MASK = 255;
+
+ private static $valueToName = [
+ self::LOG_RECORD_FLAGS_DO_NOT_USE => 'LOG_RECORD_FLAGS_DO_NOT_USE',
+ self::LOG_RECORD_FLAGS_TRACE_FLAGS_MASK => 'LOG_RECORD_FLAGS_TRACE_FLAGS_MASK',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogsData.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogsData.php
new file mode 100644
index 000000000..90db06035
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogsData.php
@@ -0,0 +1,90 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/logs/v1/logs.proto
+
+namespace Opentelemetry\Proto\Logs\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * LogsData represents the logs data that can be stored in a persistent storage,
+ * OR can be embedded by other protocols that transfer OTLP logs data but do not
+ * implement the OTLP protocol.
+ * The main difference between this message and collector protocol is that
+ * in this message there will not be any "control" or "metadata" specific to
+ * OTLP protocol.
+ * When new fields are added into this message, the OTLP request MUST be updated
+ * as well.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.logs.v1.LogsData</code>
+ */
+class LogsData extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * An array of ResourceLogs.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
+ */
+ private $resource_logs;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Logs\V1\ResourceLogs[]|\Google\Protobuf\Internal\RepeatedField $resource_logs
+ * An array of ResourceLogs.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Logs\V1\Logs::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An array of ResourceLogs.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourceLogs()
+ {
+ return $this->resource_logs;
+ }
+
+ /**
+ * An array of ResourceLogs.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
+ * @param \Opentelemetry\Proto\Logs\V1\ResourceLogs[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResourceLogs($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Logs\V1\ResourceLogs::class);
+ $this->resource_logs = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ResourceLogs.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ResourceLogs.php
new file mode 100644
index 000000000..2049339d4
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ResourceLogs.php
@@ -0,0 +1,153 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/logs/v1/logs.proto
+
+namespace Opentelemetry\Proto\Logs\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A collection of ScopeLogs from a Resource.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.logs.v1.ResourceLogs</code>
+ */
+class ResourceLogs extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The resource for the logs in this message.
+ * If this field is not set then resource info is unknown.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ */
+ protected $resource = null;
+ /**
+ * A list of ScopeLogs that originate from a resource.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2;</code>
+ */
+ private $scope_logs;
+ /**
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_logs" field which have their own schema_url field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ */
+ protected $schema_url = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Resource\V1\Resource $resource
+ * The resource for the logs in this message.
+ * If this field is not set then resource info is unknown.
+ * @type \Opentelemetry\Proto\Logs\V1\ScopeLogs[]|\Google\Protobuf\Internal\RepeatedField $scope_logs
+ * A list of ScopeLogs that originate from a resource.
+ * @type string $schema_url
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_logs" field which have their own schema_url field.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Logs\V1\Logs::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The resource for the logs in this message.
+ * If this field is not set then resource info is unknown.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ * @return \Opentelemetry\Proto\Resource\V1\Resource|null
+ */
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ public function hasResource()
+ {
+ return isset($this->resource);
+ }
+
+ public function clearResource()
+ {
+ unset($this->resource);
+ }
+
+ /**
+ * The resource for the logs in this message.
+ * If this field is not set then resource info is unknown.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ * @param \Opentelemetry\Proto\Resource\V1\Resource $var
+ * @return $this
+ */
+ public function setResource($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Resource\V1\Resource::class);
+ $this->resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of ScopeLogs that originate from a resource.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getScopeLogs()
+ {
+ return $this->scope_logs;
+ }
+
+ /**
+ * A list of ScopeLogs that originate from a resource.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2;</code>
+ * @param \Opentelemetry\Proto\Logs\V1\ScopeLogs[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setScopeLogs($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Logs\V1\ScopeLogs::class);
+ $this->scope_logs = $arr;
+
+ return $this;
+ }
+
+ /**
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_logs" field which have their own schema_url field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @return string
+ */
+ public function getSchemaUrl()
+ {
+ return $this->schema_url;
+ }
+
+ /**
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_logs" field which have their own schema_url field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSchemaUrl($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->schema_url = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ScopeLogs.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ScopeLogs.php
new file mode 100644
index 000000000..8c5a94821
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ScopeLogs.php
@@ -0,0 +1,153 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/logs/v1/logs.proto
+
+namespace Opentelemetry\Proto\Logs\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A collection of Logs produced by a Scope.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.logs.v1.ScopeLogs</code>
+ */
+class ScopeLogs extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The instrumentation scope information for the logs in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
+ */
+ protected $scope = null;
+ /**
+ * A list of log records.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
+ */
+ private $log_records;
+ /**
+ * This schema_url applies to all logs in the "logs" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ */
+ protected $schema_url = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\InstrumentationScope $scope
+ * The instrumentation scope information for the logs in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ * @type \Opentelemetry\Proto\Logs\V1\LogRecord[]|\Google\Protobuf\Internal\RepeatedField $log_records
+ * A list of log records.
+ * @type string $schema_url
+ * This schema_url applies to all logs in the "logs" field.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Logs\V1\Logs::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The instrumentation scope information for the logs in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
+ * @return \Opentelemetry\Proto\Common\V1\InstrumentationScope|null
+ */
+ public function getScope()
+ {
+ return $this->scope;
+ }
+
+ public function hasScope()
+ {
+ return isset($this->scope);
+ }
+
+ public function clearScope()
+ {
+ unset($this->scope);
+ }
+
+ /**
+ * The instrumentation scope information for the logs in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\InstrumentationScope $var
+ * @return $this
+ */
+ public function setScope($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationScope::class);
+ $this->scope = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of log records.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getLogRecords()
+ {
+ return $this->log_records;
+ }
+
+ /**
+ * A list of log records.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
+ * @param \Opentelemetry\Proto\Logs\V1\LogRecord[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setLogRecords($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Logs\V1\LogRecord::class);
+ $this->log_records = $arr;
+
+ return $this;
+ }
+
+ /**
+ * This schema_url applies to all logs in the "logs" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @return string
+ */
+ public function getSchemaUrl()
+ {
+ return $this->schema_url;
+ }
+
+ /**
+ * This schema_url applies to all logs in the "logs" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSchemaUrl($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->schema_url = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/SeverityNumber.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/SeverityNumber.php
new file mode 100644
index 000000000..ad89442b0
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/SeverityNumber.php
@@ -0,0 +1,167 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/logs/v1/logs.proto
+
+namespace Opentelemetry\Proto\Logs\V1;
+
+use UnexpectedValueException;
+
+/**
+ * Possible values for LogRecord.SeverityNumber.
+ *
+ * Protobuf type <code>opentelemetry.proto.logs.v1.SeverityNumber</code>
+ */
+class SeverityNumber
+{
+ /**
+ * UNSPECIFIED is the default SeverityNumber, it MUST NOT be used.
+ *
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_UNSPECIFIED = 0;</code>
+ */
+ const SEVERITY_NUMBER_UNSPECIFIED = 0;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE = 1;</code>
+ */
+ const SEVERITY_NUMBER_TRACE = 1;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE2 = 2;</code>
+ */
+ const SEVERITY_NUMBER_TRACE2 = 2;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE3 = 3;</code>
+ */
+ const SEVERITY_NUMBER_TRACE3 = 3;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE4 = 4;</code>
+ */
+ const SEVERITY_NUMBER_TRACE4 = 4;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG = 5;</code>
+ */
+ const SEVERITY_NUMBER_DEBUG = 5;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG2 = 6;</code>
+ */
+ const SEVERITY_NUMBER_DEBUG2 = 6;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG3 = 7;</code>
+ */
+ const SEVERITY_NUMBER_DEBUG3 = 7;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG4 = 8;</code>
+ */
+ const SEVERITY_NUMBER_DEBUG4 = 8;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_INFO = 9;</code>
+ */
+ const SEVERITY_NUMBER_INFO = 9;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_INFO2 = 10;</code>
+ */
+ const SEVERITY_NUMBER_INFO2 = 10;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_INFO3 = 11;</code>
+ */
+ const SEVERITY_NUMBER_INFO3 = 11;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_INFO4 = 12;</code>
+ */
+ const SEVERITY_NUMBER_INFO4 = 12;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_WARN = 13;</code>
+ */
+ const SEVERITY_NUMBER_WARN = 13;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_WARN2 = 14;</code>
+ */
+ const SEVERITY_NUMBER_WARN2 = 14;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_WARN3 = 15;</code>
+ */
+ const SEVERITY_NUMBER_WARN3 = 15;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_WARN4 = 16;</code>
+ */
+ const SEVERITY_NUMBER_WARN4 = 16;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR = 17;</code>
+ */
+ const SEVERITY_NUMBER_ERROR = 17;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR2 = 18;</code>
+ */
+ const SEVERITY_NUMBER_ERROR2 = 18;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR3 = 19;</code>
+ */
+ const SEVERITY_NUMBER_ERROR3 = 19;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR4 = 20;</code>
+ */
+ const SEVERITY_NUMBER_ERROR4 = 20;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL = 21;</code>
+ */
+ const SEVERITY_NUMBER_FATAL = 21;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL2 = 22;</code>
+ */
+ const SEVERITY_NUMBER_FATAL2 = 22;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL3 = 23;</code>
+ */
+ const SEVERITY_NUMBER_FATAL3 = 23;
+ /**
+ * Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL4 = 24;</code>
+ */
+ const SEVERITY_NUMBER_FATAL4 = 24;
+
+ private static $valueToName = [
+ self::SEVERITY_NUMBER_UNSPECIFIED => 'SEVERITY_NUMBER_UNSPECIFIED',
+ self::SEVERITY_NUMBER_TRACE => 'SEVERITY_NUMBER_TRACE',
+ self::SEVERITY_NUMBER_TRACE2 => 'SEVERITY_NUMBER_TRACE2',
+ self::SEVERITY_NUMBER_TRACE3 => 'SEVERITY_NUMBER_TRACE3',
+ self::SEVERITY_NUMBER_TRACE4 => 'SEVERITY_NUMBER_TRACE4',
+ self::SEVERITY_NUMBER_DEBUG => 'SEVERITY_NUMBER_DEBUG',
+ self::SEVERITY_NUMBER_DEBUG2 => 'SEVERITY_NUMBER_DEBUG2',
+ self::SEVERITY_NUMBER_DEBUG3 => 'SEVERITY_NUMBER_DEBUG3',
+ self::SEVERITY_NUMBER_DEBUG4 => 'SEVERITY_NUMBER_DEBUG4',
+ self::SEVERITY_NUMBER_INFO => 'SEVERITY_NUMBER_INFO',
+ self::SEVERITY_NUMBER_INFO2 => 'SEVERITY_NUMBER_INFO2',
+ self::SEVERITY_NUMBER_INFO3 => 'SEVERITY_NUMBER_INFO3',
+ self::SEVERITY_NUMBER_INFO4 => 'SEVERITY_NUMBER_INFO4',
+ self::SEVERITY_NUMBER_WARN => 'SEVERITY_NUMBER_WARN',
+ self::SEVERITY_NUMBER_WARN2 => 'SEVERITY_NUMBER_WARN2',
+ self::SEVERITY_NUMBER_WARN3 => 'SEVERITY_NUMBER_WARN3',
+ self::SEVERITY_NUMBER_WARN4 => 'SEVERITY_NUMBER_WARN4',
+ self::SEVERITY_NUMBER_ERROR => 'SEVERITY_NUMBER_ERROR',
+ self::SEVERITY_NUMBER_ERROR2 => 'SEVERITY_NUMBER_ERROR2',
+ self::SEVERITY_NUMBER_ERROR3 => 'SEVERITY_NUMBER_ERROR3',
+ self::SEVERITY_NUMBER_ERROR4 => 'SEVERITY_NUMBER_ERROR4',
+ self::SEVERITY_NUMBER_FATAL => 'SEVERITY_NUMBER_FATAL',
+ self::SEVERITY_NUMBER_FATAL2 => 'SEVERITY_NUMBER_FATAL2',
+ self::SEVERITY_NUMBER_FATAL3 => 'SEVERITY_NUMBER_FATAL3',
+ self::SEVERITY_NUMBER_FATAL4 => 'SEVERITY_NUMBER_FATAL4',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php
new file mode 100644
index 000000000..bdf9ea2fa
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php
@@ -0,0 +1,113 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
+
+namespace Opentelemetry\Proto\Metrics\Experimental;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigRequest</code>
+ */
+class MetricConfigRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource for which configuration should be returned.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ */
+ protected $resource = null;
+ /**
+ * Optional. The value of MetricConfigResponse.fingerprint for the last
+ * configuration that the caller received and successfully applied.
+ *
+ * Generated from protobuf field <code>bytes last_known_fingerprint = 2;</code>
+ */
+ protected $last_known_fingerprint = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Resource\V1\Resource $resource
+ * Required. The resource for which configuration should be returned.
+ * @type string $last_known_fingerprint
+ * Optional. The value of MetricConfigResponse.fingerprint for the last
+ * configuration that the caller received and successfully applied.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\Experimental\MetricsConfigService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource for which configuration should be returned.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ * @return \Opentelemetry\Proto\Resource\V1\Resource
+ */
+ public function getResource()
+ {
+ return isset($this->resource) ? $this->resource : null;
+ }
+
+ public function hasResource()
+ {
+ return isset($this->resource);
+ }
+
+ public function clearResource()
+ {
+ unset($this->resource);
+ }
+
+ /**
+ * Required. The resource for which configuration should be returned.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ * @param \Opentelemetry\Proto\Resource\V1\Resource $var
+ * @return $this
+ */
+ public function setResource($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Resource\V1\Resource::class);
+ $this->resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The value of MetricConfigResponse.fingerprint for the last
+ * configuration that the caller received and successfully applied.
+ *
+ * Generated from protobuf field <code>bytes last_known_fingerprint = 2;</code>
+ * @return string
+ */
+ public function getLastKnownFingerprint()
+ {
+ return $this->last_known_fingerprint;
+ }
+
+ /**
+ * Optional. The value of MetricConfigResponse.fingerprint for the last
+ * configuration that the caller received and successfully applied.
+ *
+ * Generated from protobuf field <code>bytes last_known_fingerprint = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setLastKnownFingerprint($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->last_known_fingerprint = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse.php
new file mode 100644
index 000000000..0993a59ea
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse.php
@@ -0,0 +1,201 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
+
+namespace Opentelemetry\Proto\Metrics\Experimental;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigResponse</code>
+ */
+class MetricConfigResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. The fingerprint associated with this MetricConfigResponse. Each
+ * change in configs yields a different fingerprint. The resource SHOULD copy
+ * this value to MetricConfigRequest.last_known_fingerprint for the next
+ * configuration request. If there are no changes between fingerprint and
+ * MetricConfigRequest.last_known_fingerprint, then all other fields besides
+ * fingerprint in the response are optional, or the same as the last update if
+ * present.
+ * The exact mechanics of generating the fingerprint is up to the
+ * implementation. However, a fingerprint must be deterministically determined
+ * by the configurations -- the same configuration will generate the same
+ * fingerprint on any instance of an implementation. Hence using a timestamp is
+ * unacceptable, but a deterministic hash is fine.
+ *
+ * Generated from protobuf field <code>bytes fingerprint = 1;</code>
+ */
+ protected $fingerprint = '';
+ /**
+ * A single metric may match multiple schedules. In such cases, the schedule
+ * that specifies the smallest period is applied.
+ * Note, for optimization purposes, it is recommended to use as few schedules
+ * as possible to capture all required metric updates. Where you can be
+ * conservative, do take full advantage of the inclusion/exclusion patterns to
+ * capture as much of your targeted metrics.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule schedules = 2;</code>
+ */
+ private $schedules;
+ /**
+ * Optional. The client is suggested to wait this long (in seconds) before
+ * pinging the configuration service again.
+ *
+ * Generated from protobuf field <code>int32 suggested_wait_time_sec = 3;</code>
+ */
+ protected $suggested_wait_time_sec = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $fingerprint
+ * Optional. The fingerprint associated with this MetricConfigResponse. Each
+ * change in configs yields a different fingerprint. The resource SHOULD copy
+ * this value to MetricConfigRequest.last_known_fingerprint for the next
+ * configuration request. If there are no changes between fingerprint and
+ * MetricConfigRequest.last_known_fingerprint, then all other fields besides
+ * fingerprint in the response are optional, or the same as the last update if
+ * present.
+ * The exact mechanics of generating the fingerprint is up to the
+ * implementation. However, a fingerprint must be deterministically determined
+ * by the configurations -- the same configuration will generate the same
+ * fingerprint on any instance of an implementation. Hence using a timestamp is
+ * unacceptable, but a deterministic hash is fine.
+ * @type \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule[]|\Google\Protobuf\Internal\RepeatedField $schedules
+ * A single metric may match multiple schedules. In such cases, the schedule
+ * that specifies the smallest period is applied.
+ * Note, for optimization purposes, it is recommended to use as few schedules
+ * as possible to capture all required metric updates. Where you can be
+ * conservative, do take full advantage of the inclusion/exclusion patterns to
+ * capture as much of your targeted metrics.
+ * @type int $suggested_wait_time_sec
+ * Optional. The client is suggested to wait this long (in seconds) before
+ * pinging the configuration service again.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\Experimental\MetricsConfigService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. The fingerprint associated with this MetricConfigResponse. Each
+ * change in configs yields a different fingerprint. The resource SHOULD copy
+ * this value to MetricConfigRequest.last_known_fingerprint for the next
+ * configuration request. If there are no changes between fingerprint and
+ * MetricConfigRequest.last_known_fingerprint, then all other fields besides
+ * fingerprint in the response are optional, or the same as the last update if
+ * present.
+ * The exact mechanics of generating the fingerprint is up to the
+ * implementation. However, a fingerprint must be deterministically determined
+ * by the configurations -- the same configuration will generate the same
+ * fingerprint on any instance of an implementation. Hence using a timestamp is
+ * unacceptable, but a deterministic hash is fine.
+ *
+ * Generated from protobuf field <code>bytes fingerprint = 1;</code>
+ * @return string
+ */
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+
+ /**
+ * Optional. The fingerprint associated with this MetricConfigResponse. Each
+ * change in configs yields a different fingerprint. The resource SHOULD copy
+ * this value to MetricConfigRequest.last_known_fingerprint for the next
+ * configuration request. If there are no changes between fingerprint and
+ * MetricConfigRequest.last_known_fingerprint, then all other fields besides
+ * fingerprint in the response are optional, or the same as the last update if
+ * present.
+ * The exact mechanics of generating the fingerprint is up to the
+ * implementation. However, a fingerprint must be deterministically determined
+ * by the configurations -- the same configuration will generate the same
+ * fingerprint on any instance of an implementation. Hence using a timestamp is
+ * unacceptable, but a deterministic hash is fine.
+ *
+ * Generated from protobuf field <code>bytes fingerprint = 1;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setFingerprint($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->fingerprint = $var;
+
+ return $this;
+ }
+
+ /**
+ * A single metric may match multiple schedules. In such cases, the schedule
+ * that specifies the smallest period is applied.
+ * Note, for optimization purposes, it is recommended to use as few schedules
+ * as possible to capture all required metric updates. Where you can be
+ * conservative, do take full advantage of the inclusion/exclusion patterns to
+ * capture as much of your targeted metrics.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule schedules = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getSchedules()
+ {
+ return $this->schedules;
+ }
+
+ /**
+ * A single metric may match multiple schedules. In such cases, the schedule
+ * that specifies the smallest period is applied.
+ * Note, for optimization purposes, it is recommended to use as few schedules
+ * as possible to capture all required metric updates. Where you can be
+ * conservative, do take full advantage of the inclusion/exclusion patterns to
+ * capture as much of your targeted metrics.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule schedules = 2;</code>
+ * @param \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setSchedules($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule::class);
+ $this->schedules = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The client is suggested to wait this long (in seconds) before
+ * pinging the configuration service again.
+ *
+ * Generated from protobuf field <code>int32 suggested_wait_time_sec = 3;</code>
+ * @return int
+ */
+ public function getSuggestedWaitTimeSec()
+ {
+ return $this->suggested_wait_time_sec;
+ }
+
+ /**
+ * Optional. The client is suggested to wait this long (in seconds) before
+ * pinging the configuration service again.
+ *
+ * Generated from protobuf field <code>int32 suggested_wait_time_sec = 3;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setSuggestedWaitTimeSec($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->suggested_wait_time_sec = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule.php
new file mode 100644
index 000000000..07091928d
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule.php
@@ -0,0 +1,149 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
+
+namespace Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A Schedule is used to apply a particular scheduling configuration to
+ * a metric. If a metric name matches a schedule's patterns, then the metric
+ * adopts the configuration specified by the schedule.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule</code>
+ */
+class Schedule extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Metrics with names that match a rule in the inclusion_patterns are
+ * targeted by this schedule. Metrics that match the exclusion_patterns
+ * are not targeted for this schedule, even if they match an inclusion
+ * pattern.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern exclusion_patterns = 1;</code>
+ */
+ private $exclusion_patterns;
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern inclusion_patterns = 2;</code>
+ */
+ private $inclusion_patterns;
+ /**
+ * Describes the collection period for each metric in seconds.
+ * A period of 0 means to not export.
+ *
+ * Generated from protobuf field <code>int32 period_sec = 3;</code>
+ */
+ protected $period_sec = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern[]|\Google\Protobuf\Internal\RepeatedField $exclusion_patterns
+ * Metrics with names that match a rule in the inclusion_patterns are
+ * targeted by this schedule. Metrics that match the exclusion_patterns
+ * are not targeted for this schedule, even if they match an inclusion
+ * pattern.
+ * @type \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern[]|\Google\Protobuf\Internal\RepeatedField $inclusion_patterns
+ * @type int $period_sec
+ * Describes the collection period for each metric in seconds.
+ * A period of 0 means to not export.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\Experimental\MetricsConfigService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Metrics with names that match a rule in the inclusion_patterns are
+ * targeted by this schedule. Metrics that match the exclusion_patterns
+ * are not targeted for this schedule, even if they match an inclusion
+ * pattern.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern exclusion_patterns = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExclusionPatterns()
+ {
+ return $this->exclusion_patterns;
+ }
+
+ /**
+ * Metrics with names that match a rule in the inclusion_patterns are
+ * targeted by this schedule. Metrics that match the exclusion_patterns
+ * are not targeted for this schedule, even if they match an inclusion
+ * pattern.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern exclusion_patterns = 1;</code>
+ * @param \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setExclusionPatterns($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern::class);
+ $this->exclusion_patterns = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern inclusion_patterns = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getInclusionPatterns()
+ {
+ return $this->inclusion_patterns;
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern inclusion_patterns = 2;</code>
+ * @param \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setInclusionPatterns($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern::class);
+ $this->inclusion_patterns = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Describes the collection period for each metric in seconds.
+ * A period of 0 means to not export.
+ *
+ * Generated from protobuf field <code>int32 period_sec = 3;</code>
+ * @return int
+ */
+ public function getPeriodSec()
+ {
+ return $this->period_sec;
+ }
+
+ /**
+ * Describes the collection period for each metric in seconds.
+ * A period of 0 means to not export.
+ *
+ * Generated from protobuf field <code>int32 period_sec = 3;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setPeriodSec($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->period_sec = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Schedule::class, \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse_Schedule::class);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php
new file mode 100644
index 000000000..839c097fb
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php
@@ -0,0 +1,113 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
+
+namespace Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A light-weight pattern that can match 1 or more
+ * metrics, for which this schedule will apply. The string is used to
+ * match against metric names. It should not exceed 100k characters.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern</code>
+ */
+class Pattern extends \Google\Protobuf\Internal\Message
+{
+ protected $match;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $equals
+ * matches the metric name exactly
+ * @type string $starts_with
+ * prefix-matches the metric name
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\Experimental\MetricsConfigService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * matches the metric name exactly
+ *
+ * Generated from protobuf field <code>string equals = 1;</code>
+ * @return string
+ */
+ public function getEquals()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasEquals()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * matches the metric name exactly
+ *
+ * Generated from protobuf field <code>string equals = 1;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setEquals($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * prefix-matches the metric name
+ *
+ * Generated from protobuf field <code>string starts_with = 2;</code>
+ * @return string
+ */
+ public function getStartsWith()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasStartsWith()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * prefix-matches the metric name
+ *
+ * Generated from protobuf field <code>string starts_with = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setStartsWith($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getMatch()
+ {
+ return $this->whichOneof("match");
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Pattern::class, \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse_Schedule_Pattern::class);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule.php
new file mode 100644
index 000000000..5486976fc
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule.php
@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
+
+namespace Opentelemetry\Proto\Metrics\Experimental;
+
+if (false) {
+ /**
+ * This class is deprecated. Use Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule instead.
+ * @deprecated
+ */
+ class MetricConfigResponse_Schedule {}
+}
+class_exists(MetricConfigResponse\Schedule::class);
+@trigger_error('Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse_Schedule is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule instead', E_USER_DEPRECATED);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule_Pattern.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule_Pattern.php
new file mode 100644
index 000000000..cd516c784
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule_Pattern.php
@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
+
+namespace Opentelemetry\Proto\Metrics\Experimental;
+
+if (false) {
+ /**
+ * This class is deprecated. Use Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern instead.
+ * @deprecated
+ */
+ class MetricConfigResponse_Schedule_Pattern {}
+}
+class_exists(MetricConfigResponse\Schedule\Pattern::class);
+@trigger_error('Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse_Schedule_Pattern is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern instead', E_USER_DEPRECATED);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/AggregationTemporality.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/AggregationTemporality.php
new file mode 100644
index 000000000..93fb0ea97
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/AggregationTemporality.php
@@ -0,0 +1,114 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use UnexpectedValueException;
+
+/**
+ * AggregationTemporality defines how a metric aggregator reports aggregated
+ * values. It describes how those values relate to the time interval over
+ * which they are aggregated.
+ *
+ * Protobuf type <code>opentelemetry.proto.metrics.v1.AggregationTemporality</code>
+ */
+class AggregationTemporality
+{
+ /**
+ * UNSPECIFIED is the default AggregationTemporality, it MUST not be used.
+ *
+ * Generated from protobuf enum <code>AGGREGATION_TEMPORALITY_UNSPECIFIED = 0;</code>
+ */
+ const AGGREGATION_TEMPORALITY_UNSPECIFIED = 0;
+ /**
+ * DELTA is an AggregationTemporality for a metric aggregator which reports
+ * changes since last report time. Successive metrics contain aggregation of
+ * values from continuous and non-overlapping intervals.
+ * The values for a DELTA metric are based only on the time interval
+ * associated with one measurement cycle. There is no dependency on
+ * previous measurements like is the case for CUMULATIVE metrics.
+ * For example, consider a system measuring the number of requests that
+ * it receives and reports the sum of these requests every second as a
+ * DELTA metric:
+ * 1. The system starts receiving at time=t_0.
+ * 2. A request is received, the system measures 1 request.
+ * 3. A request is received, the system measures 1 request.
+ * 4. A request is received, the system measures 1 request.
+ * 5. The 1 second collection cycle ends. A metric is exported for the
+ * number of requests received over the interval of time t_0 to
+ * t_0+1 with a value of 3.
+ * 6. A request is received, the system measures 1 request.
+ * 7. A request is received, the system measures 1 request.
+ * 8. The 1 second collection cycle ends. A metric is exported for the
+ * number of requests received over the interval of time t_0+1 to
+ * t_0+2 with a value of 2.
+ *
+ * Generated from protobuf enum <code>AGGREGATION_TEMPORALITY_DELTA = 1;</code>
+ */
+ const AGGREGATION_TEMPORALITY_DELTA = 1;
+ /**
+ * CUMULATIVE is an AggregationTemporality for a metric aggregator which
+ * reports changes since a fixed start time. This means that current values
+ * of a CUMULATIVE metric depend on all previous measurements since the
+ * start time. Because of this, the sender is required to retain this state
+ * in some form. If this state is lost or invalidated, the CUMULATIVE metric
+ * values MUST be reset and a new fixed start time following the last
+ * reported measurement time sent MUST be used.
+ * For example, consider a system measuring the number of requests that
+ * it receives and reports the sum of these requests every second as a
+ * CUMULATIVE metric:
+ * 1. The system starts receiving at time=t_0.
+ * 2. A request is received, the system measures 1 request.
+ * 3. A request is received, the system measures 1 request.
+ * 4. A request is received, the system measures 1 request.
+ * 5. The 1 second collection cycle ends. A metric is exported for the
+ * number of requests received over the interval of time t_0 to
+ * t_0+1 with a value of 3.
+ * 6. A request is received, the system measures 1 request.
+ * 7. A request is received, the system measures 1 request.
+ * 8. The 1 second collection cycle ends. A metric is exported for the
+ * number of requests received over the interval of time t_0 to
+ * t_0+2 with a value of 5.
+ * 9. The system experiences a fault and loses state.
+ * 10. The system recovers and resumes receiving at time=t_1.
+ * 11. A request is received, the system measures 1 request.
+ * 12. The 1 second collection cycle ends. A metric is exported for the
+ * number of requests received over the interval of time t_1 to
+ * t_0+1 with a value of 1.
+ * Note: Even though, when reporting changes since last report time, using
+ * CUMULATIVE is valid, it is not recommended. This may cause problems for
+ * systems that do not use start_time to determine when the aggregation
+ * value was reset (e.g. Prometheus).
+ *
+ * Generated from protobuf enum <code>AGGREGATION_TEMPORALITY_CUMULATIVE = 2;</code>
+ */
+ const AGGREGATION_TEMPORALITY_CUMULATIVE = 2;
+
+ private static $valueToName = [
+ self::AGGREGATION_TEMPORALITY_UNSPECIFIED => 'AGGREGATION_TEMPORALITY_UNSPECIFIED',
+ self::AGGREGATION_TEMPORALITY_DELTA => 'AGGREGATION_TEMPORALITY_DELTA',
+ self::AGGREGATION_TEMPORALITY_CUMULATIVE => 'AGGREGATION_TEMPORALITY_CUMULATIVE',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/DataPointFlags.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/DataPointFlags.php
new file mode 100644
index 000000000..f11029d02
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/DataPointFlags.php
@@ -0,0 +1,61 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use UnexpectedValueException;
+
+/**
+ * DataPointFlags is defined as a protobuf 'uint32' type and is to be used as a
+ * bit-field representing 32 distinct boolean flags. Each flag defined in this
+ * enum is a bit-mask. To test the presence of a single flag in the flags of
+ * a data point, for example, use an expression like:
+ * (point.flags & DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK) == DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK
+ *
+ * Protobuf type <code>opentelemetry.proto.metrics.v1.DataPointFlags</code>
+ */
+class DataPointFlags
+{
+ /**
+ * The zero value for the enum. Should not be used for comparisons.
+ * Instead use bitwise "and" with the appropriate mask as shown above.
+ *
+ * Generated from protobuf enum <code>DATA_POINT_FLAGS_DO_NOT_USE = 0;</code>
+ */
+ const DATA_POINT_FLAGS_DO_NOT_USE = 0;
+ /**
+ * This DataPoint is valid but has no recorded value. This value
+ * SHOULD be used to reflect explicitly missing data in a series, as
+ * for an equivalent to the Prometheus "staleness marker".
+ *
+ * Generated from protobuf enum <code>DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK = 1;</code>
+ */
+ const DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK = 1;
+
+ private static $valueToName = [
+ self::DATA_POINT_FLAGS_DO_NOT_USE => 'DATA_POINT_FLAGS_DO_NOT_USE',
+ self::DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK => 'DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Exemplar.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Exemplar.php
new file mode 100644
index 000000000..a0387ede1
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Exemplar.php
@@ -0,0 +1,269 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A representation of an exemplar, which is a sample input measurement.
+ * Exemplars also hold information about the environment when the measurement
+ * was recorded, for example the span and trace ID of the active span when the
+ * exemplar was recorded.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.Exemplar</code>
+ */
+class Exemplar extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The set of key/value pairs that were filtered out by the aggregator, but
+ * recorded alongside the original measurement. Only key/value pairs that were
+ * filtered out by the aggregator should be included
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;</code>
+ */
+ private $filtered_attributes;
+ /**
+ * time_unix_nano is the exact time when this exemplar was recorded
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 2;</code>
+ */
+ protected $time_unix_nano = 0;
+ /**
+ * (Optional) Span ID of the exemplar trace.
+ * span_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes span_id = 4;</code>
+ */
+ protected $span_id = '';
+ /**
+ * (Optional) Trace ID of the exemplar trace.
+ * trace_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 5;</code>
+ */
+ protected $trace_id = '';
+ protected $value;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $filtered_attributes
+ * The set of key/value pairs that were filtered out by the aggregator, but
+ * recorded alongside the original measurement. Only key/value pairs that were
+ * filtered out by the aggregator should be included
+ * @type int|string $time_unix_nano
+ * time_unix_nano is the exact time when this exemplar was recorded
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type float $as_double
+ * @type int|string $as_int
+ * @type string $span_id
+ * (Optional) Span ID of the exemplar trace.
+ * span_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ * @type string $trace_id
+ * (Optional) Trace ID of the exemplar trace.
+ * trace_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The set of key/value pairs that were filtered out by the aggregator, but
+ * recorded alongside the original measurement. Only key/value pairs that were
+ * filtered out by the aggregator should be included
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFilteredAttributes()
+ {
+ return $this->filtered_attributes;
+ }
+
+ /**
+ * The set of key/value pairs that were filtered out by the aggregator, but
+ * recorded alongside the original measurement. Only key/value pairs that were
+ * filtered out by the aggregator should be included
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setFilteredAttributes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->filtered_attributes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * time_unix_nano is the exact time when this exemplar was recorded
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 2;</code>
+ * @return int|string
+ */
+ public function getTimeUnixNano()
+ {
+ return $this->time_unix_nano;
+ }
+
+ /**
+ * time_unix_nano is the exact time when this exemplar was recorded
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 2;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>double as_double = 3;</code>
+ * @return float
+ */
+ public function getAsDouble()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasAsDouble()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Generated from protobuf field <code>double as_double = 3;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setAsDouble($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>sfixed64 as_int = 6;</code>
+ * @return int|string
+ */
+ public function getAsInt()
+ {
+ return $this->readOneof(6);
+ }
+
+ public function hasAsInt()
+ {
+ return $this->hasOneof(6);
+ }
+
+ /**
+ * Generated from protobuf field <code>sfixed64 as_int = 6;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setAsInt($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->writeOneof(6, $var);
+
+ return $this;
+ }
+
+ /**
+ * (Optional) Span ID of the exemplar trace.
+ * span_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes span_id = 4;</code>
+ * @return string
+ */
+ public function getSpanId()
+ {
+ return $this->span_id;
+ }
+
+ /**
+ * (Optional) Span ID of the exemplar trace.
+ * span_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes span_id = 4;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSpanId($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->span_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * (Optional) Trace ID of the exemplar trace.
+ * trace_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 5;</code>
+ * @return string
+ */
+ public function getTraceId()
+ {
+ return $this->trace_id;
+ }
+
+ /**
+ * (Optional) Trace ID of the exemplar trace.
+ * trace_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 5;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setTraceId($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->trace_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->whichOneof("value");
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogram.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogram.php
new file mode 100644
index 000000000..2a5c4cc90
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogram.php
@@ -0,0 +1,99 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * ExponentialHistogram represents the type of a metric that is calculated by aggregating
+ * as a ExponentialHistogram of all reported double measurements over a time interval.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.ExponentialHistogram</code>
+ */
+class ExponentialHistogram extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint data_points = 1;</code>
+ */
+ private $data_points;
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ */
+ protected $aggregation_temporality = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points
+ * @type int $aggregation_temporality
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint data_points = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDataPoints()
+ {
+ return $this->data_points;
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint data_points = 1;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDataPoints($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint::class);
+ $this->data_points = $arr;
+
+ return $this;
+ }
+
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ * @return int
+ */
+ public function getAggregationTemporality()
+ {
+ return $this->aggregation_temporality;
+ }
+
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setAggregationTemporality($var)
+ {
+ GPBUtil::checkEnum($var, \Opentelemetry\Proto\Metrics\V1\AggregationTemporality::class);
+ $this->aggregation_temporality = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint.php
new file mode 100644
index 000000000..62cb6f5d6
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint.php
@@ -0,0 +1,718 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * ExponentialHistogramDataPoint is a single data point in a timeseries that describes the
+ * time-varying values of a ExponentialHistogram of double values. A ExponentialHistogram contains
+ * summary statistics for a population of values, it may optionally contain the
+ * distribution of those values across a set of buckets.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint</code>
+ */
+class ExponentialHistogramDataPoint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
+ */
+ private $attributes;
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ */
+ protected $start_time_unix_nano = 0;
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ */
+ protected $time_unix_nano = 0;
+ /**
+ * count is the number of values in the population. Must be
+ * non-negative. This value must be equal to the sum of the "bucket_counts"
+ * values in the positive and negative Buckets plus the "zero_count" field.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ */
+ protected $count = 0;
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
+ *
+ * Generated from protobuf field <code>optional double sum = 5;</code>
+ */
+ protected $sum = null;
+ /**
+ * scale describes the resolution of the histogram. Boundaries are
+ * located at powers of the base, where:
+ * base = (2^(2^-scale))
+ * The histogram bucket identified by `index`, a signed integer,
+ * contains values that are greater than (base^index) and
+ * less than or equal to (base^(index+1)).
+ * The positive and negative ranges of the histogram are expressed
+ * separately. Negative values are mapped by their absolute value
+ * into the negative range using the same scale as the positive range.
+ * scale is not restricted by the protocol, as the permissible
+ * values depend on the range of the data.
+ *
+ * Generated from protobuf field <code>sint32 scale = 6;</code>
+ */
+ protected $scale = 0;
+ /**
+ * zero_count is the count of values that are either exactly zero or
+ * within the region considered zero by the instrumentation at the
+ * tolerated degree of precision. This bucket stores values that
+ * cannot be expressed using the standard exponential formula as
+ * well as values that have been rounded to zero.
+ * Implementations MAY consider the zero bucket to have probability
+ * mass equal to (zero_count / count).
+ *
+ * Generated from protobuf field <code>fixed64 zero_count = 7;</code>
+ */
+ protected $zero_count = 0;
+ /**
+ * positive carries the positive range of exponential bucket counts.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;</code>
+ */
+ protected $positive = null;
+ /**
+ * negative carries the negative range of exponential bucket counts.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;</code>
+ */
+ protected $negative = null;
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 10;</code>
+ */
+ protected $flags = 0;
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 11;</code>
+ */
+ private $exemplars;
+ /**
+ * min is the minimum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double min = 12;</code>
+ */
+ protected $min = null;
+ /**
+ * max is the maximum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double max = 13;</code>
+ */
+ protected $max = null;
+ /**
+ * ZeroThreshold may be optionally set to convey the width of the zero
+ * region. Where the zero region is defined as the closed interval
+ * [-ZeroThreshold, ZeroThreshold].
+ * When ZeroThreshold is 0, zero count bucket stores values that cannot be
+ * expressed using the standard exponential formula as well as values that
+ * have been rounded to zero.
+ *
+ * Generated from protobuf field <code>double zero_threshold = 14;</code>
+ */
+ protected $zero_threshold = 0.0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ * @type int|string $start_time_unix_nano
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $time_unix_nano
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $count
+ * count is the number of values in the population. Must be
+ * non-negative. This value must be equal to the sum of the "bucket_counts"
+ * values in the positive and negative Buckets plus the "zero_count" field.
+ * @type float $sum
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
+ * @type int $scale
+ * scale describes the resolution of the histogram. Boundaries are
+ * located at powers of the base, where:
+ * base = (2^(2^-scale))
+ * The histogram bucket identified by `index`, a signed integer,
+ * contains values that are greater than (base^index) and
+ * less than or equal to (base^(index+1)).
+ * The positive and negative ranges of the histogram are expressed
+ * separately. Negative values are mapped by their absolute value
+ * into the negative range using the same scale as the positive range.
+ * scale is not restricted by the protocol, as the permissible
+ * values depend on the range of the data.
+ * @type int|string $zero_count
+ * zero_count is the count of values that are either exactly zero or
+ * within the region considered zero by the instrumentation at the
+ * tolerated degree of precision. This bucket stores values that
+ * cannot be expressed using the standard exponential formula as
+ * well as values that have been rounded to zero.
+ * Implementations MAY consider the zero bucket to have probability
+ * mass equal to (zero_count / count).
+ * @type \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets $positive
+ * positive carries the positive range of exponential bucket counts.
+ * @type \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets $negative
+ * negative carries the negative range of exponential bucket counts.
+ * @type int $flags
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ * @type \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ * @type float $min
+ * min is the minimum value over (start_time, end_time].
+ * @type float $max
+ * max is the maximum value over (start_time, end_time].
+ * @type float $zero_threshold
+ * ZeroThreshold may be optionally set to convey the width of the zero
+ * region. Where the zero region is defined as the closed interval
+ * [-ZeroThreshold, ZeroThreshold].
+ * When ZeroThreshold is 0, zero count bucket stores values that cannot be
+ * expressed using the standard exponential formula as well as values that
+ * have been rounded to zero.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAttributes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->attributes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @return int|string
+ */
+ public function getStartTimeUnixNano()
+ {
+ return $this->start_time_unix_nano;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setStartTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->start_time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @return int|string
+ */
+ public function getTimeUnixNano()
+ {
+ return $this->time_unix_nano;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * count is the number of values in the population. Must be
+ * non-negative. This value must be equal to the sum of the "bucket_counts"
+ * values in the positive and negative Buckets plus the "zero_count" field.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ * @return int|string
+ */
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ /**
+ * count is the number of values in the population. Must be
+ * non-negative. This value must be equal to the sum of the "bucket_counts"
+ * values in the positive and negative Buckets plus the "zero_count" field.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setCount($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->count = $var;
+
+ return $this;
+ }
+
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
+ *
+ * Generated from protobuf field <code>optional double sum = 5;</code>
+ * @return float
+ */
+ public function getSum()
+ {
+ return isset($this->sum) ? $this->sum : 0.0;
+ }
+
+ public function hasSum()
+ {
+ return isset($this->sum);
+ }
+
+ public function clearSum()
+ {
+ unset($this->sum);
+ }
+
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
+ *
+ * Generated from protobuf field <code>optional double sum = 5;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setSum($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->sum = $var;
+
+ return $this;
+ }
+
+ /**
+ * scale describes the resolution of the histogram. Boundaries are
+ * located at powers of the base, where:
+ * base = (2^(2^-scale))
+ * The histogram bucket identified by `index`, a signed integer,
+ * contains values that are greater than (base^index) and
+ * less than or equal to (base^(index+1)).
+ * The positive and negative ranges of the histogram are expressed
+ * separately. Negative values are mapped by their absolute value
+ * into the negative range using the same scale as the positive range.
+ * scale is not restricted by the protocol, as the permissible
+ * values depend on the range of the data.
+ *
+ * Generated from protobuf field <code>sint32 scale = 6;</code>
+ * @return int
+ */
+ public function getScale()
+ {
+ return $this->scale;
+ }
+
+ /**
+ * scale describes the resolution of the histogram. Boundaries are
+ * located at powers of the base, where:
+ * base = (2^(2^-scale))
+ * The histogram bucket identified by `index`, a signed integer,
+ * contains values that are greater than (base^index) and
+ * less than or equal to (base^(index+1)).
+ * The positive and negative ranges of the histogram are expressed
+ * separately. Negative values are mapped by their absolute value
+ * into the negative range using the same scale as the positive range.
+ * scale is not restricted by the protocol, as the permissible
+ * values depend on the range of the data.
+ *
+ * Generated from protobuf field <code>sint32 scale = 6;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setScale($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->scale = $var;
+
+ return $this;
+ }
+
+ /**
+ * zero_count is the count of values that are either exactly zero or
+ * within the region considered zero by the instrumentation at the
+ * tolerated degree of precision. This bucket stores values that
+ * cannot be expressed using the standard exponential formula as
+ * well as values that have been rounded to zero.
+ * Implementations MAY consider the zero bucket to have probability
+ * mass equal to (zero_count / count).
+ *
+ * Generated from protobuf field <code>fixed64 zero_count = 7;</code>
+ * @return int|string
+ */
+ public function getZeroCount()
+ {
+ return $this->zero_count;
+ }
+
+ /**
+ * zero_count is the count of values that are either exactly zero or
+ * within the region considered zero by the instrumentation at the
+ * tolerated degree of precision. This bucket stores values that
+ * cannot be expressed using the standard exponential formula as
+ * well as values that have been rounded to zero.
+ * Implementations MAY consider the zero bucket to have probability
+ * mass equal to (zero_count / count).
+ *
+ * Generated from protobuf field <code>fixed64 zero_count = 7;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setZeroCount($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->zero_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * positive carries the positive range of exponential bucket counts.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;</code>
+ * @return \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets|null
+ */
+ public function getPositive()
+ {
+ return $this->positive;
+ }
+
+ public function hasPositive()
+ {
+ return isset($this->positive);
+ }
+
+ public function clearPositive()
+ {
+ unset($this->positive);
+ }
+
+ /**
+ * positive carries the positive range of exponential bucket counts.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets $var
+ * @return $this
+ */
+ public function setPositive($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets::class);
+ $this->positive = $var;
+
+ return $this;
+ }
+
+ /**
+ * negative carries the negative range of exponential bucket counts.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;</code>
+ * @return \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets|null
+ */
+ public function getNegative()
+ {
+ return $this->negative;
+ }
+
+ public function hasNegative()
+ {
+ return isset($this->negative);
+ }
+
+ public function clearNegative()
+ {
+ unset($this->negative);
+ }
+
+ /**
+ * negative carries the negative range of exponential bucket counts.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets $var
+ * @return $this
+ */
+ public function setNegative($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets::class);
+ $this->negative = $var;
+
+ return $this;
+ }
+
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 10;</code>
+ * @return int
+ */
+ public function getFlags()
+ {
+ return $this->flags;
+ }
+
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 10;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setFlags($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->flags = $var;
+
+ return $this;
+ }
+
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 11;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExemplars()
+ {
+ return $this->exemplars;
+ }
+
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 11;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setExemplars($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\Exemplar::class);
+ $this->exemplars = $arr;
+
+ return $this;
+ }
+
+ /**
+ * min is the minimum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double min = 12;</code>
+ * @return float
+ */
+ public function getMin()
+ {
+ return isset($this->min) ? $this->min : 0.0;
+ }
+
+ public function hasMin()
+ {
+ return isset($this->min);
+ }
+
+ public function clearMin()
+ {
+ unset($this->min);
+ }
+
+ /**
+ * min is the minimum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double min = 12;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setMin($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->min = $var;
+
+ return $this;
+ }
+
+ /**
+ * max is the maximum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double max = 13;</code>
+ * @return float
+ */
+ public function getMax()
+ {
+ return isset($this->max) ? $this->max : 0.0;
+ }
+
+ public function hasMax()
+ {
+ return isset($this->max);
+ }
+
+ public function clearMax()
+ {
+ unset($this->max);
+ }
+
+ /**
+ * max is the maximum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double max = 13;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setMax($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->max = $var;
+
+ return $this;
+ }
+
+ /**
+ * ZeroThreshold may be optionally set to convey the width of the zero
+ * region. Where the zero region is defined as the closed interval
+ * [-ZeroThreshold, ZeroThreshold].
+ * When ZeroThreshold is 0, zero count bucket stores values that cannot be
+ * expressed using the standard exponential formula as well as values that
+ * have been rounded to zero.
+ *
+ * Generated from protobuf field <code>double zero_threshold = 14;</code>
+ * @return float
+ */
+ public function getZeroThreshold()
+ {
+ return $this->zero_threshold;
+ }
+
+ /**
+ * ZeroThreshold may be optionally set to convey the width of the zero
+ * region. Where the zero region is defined as the closed interval
+ * [-ZeroThreshold, ZeroThreshold].
+ * When ZeroThreshold is 0, zero count bucket stores values that cannot be
+ * expressed using the standard exponential formula as well as values that
+ * have been rounded to zero.
+ *
+ * Generated from protobuf field <code>double zero_threshold = 14;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setZeroThreshold($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->zero_threshold = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php
new file mode 100644
index 000000000..e1a90a34a
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php
@@ -0,0 +1,141 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Buckets are a set of bucket counts, encoded in a contiguous array
+ * of counts.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets</code>
+ */
+class Buckets extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Offset is the bucket index of the first entry in the bucket_counts array.
+ *
+ * Note: This uses a varint encoding as a simple form of compression.
+ *
+ * Generated from protobuf field <code>sint32 offset = 1;</code>
+ */
+ protected $offset = 0;
+ /**
+ * bucket_counts is an array of count values, where bucket_counts[i] carries
+ * the count of the bucket at index (offset+i). bucket_counts[i] is the count
+ * of values greater than base^(offset+i) and less than or equal to
+ * base^(offset+i+1).
+ * Note: By contrast, the explicit HistogramDataPoint uses
+ * fixed64. This field is expected to have many buckets,
+ * especially zeros, so uint64 has been selected to ensure
+ * varint encoding.
+ *
+ * Generated from protobuf field <code>repeated uint64 bucket_counts = 2;</code>
+ */
+ private $bucket_counts;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $offset
+ * Offset is the bucket index of the first entry in the bucket_counts array.
+ *
+ * Note: This uses a varint encoding as a simple form of compression.
+ * @type int[]|string[]|\Google\Protobuf\Internal\RepeatedField $bucket_counts
+ * bucket_counts is an array of count values, where bucket_counts[i] carries
+ * the count of the bucket at index (offset+i). bucket_counts[i] is the count
+ * of values greater than base^(offset+i) and less than or equal to
+ * base^(offset+i+1).
+ * Note: By contrast, the explicit HistogramDataPoint uses
+ * fixed64. This field is expected to have many buckets,
+ * especially zeros, so uint64 has been selected to ensure
+ * varint encoding.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Offset is the bucket index of the first entry in the bucket_counts array.
+ *
+ * Note: This uses a varint encoding as a simple form of compression.
+ *
+ * Generated from protobuf field <code>sint32 offset = 1;</code>
+ * @return int
+ */
+ public function getOffset()
+ {
+ return $this->offset;
+ }
+
+ /**
+ * Offset is the bucket index of the first entry in the bucket_counts array.
+ *
+ * Note: This uses a varint encoding as a simple form of compression.
+ *
+ * Generated from protobuf field <code>sint32 offset = 1;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setOffset($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->offset = $var;
+
+ return $this;
+ }
+
+ /**
+ * bucket_counts is an array of count values, where bucket_counts[i] carries
+ * the count of the bucket at index (offset+i). bucket_counts[i] is the count
+ * of values greater than base^(offset+i) and less than or equal to
+ * base^(offset+i+1).
+ * Note: By contrast, the explicit HistogramDataPoint uses
+ * fixed64. This field is expected to have many buckets,
+ * especially zeros, so uint64 has been selected to ensure
+ * varint encoding.
+ *
+ * Generated from protobuf field <code>repeated uint64 bucket_counts = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getBucketCounts()
+ {
+ return $this->bucket_counts;
+ }
+
+ /**
+ * bucket_counts is an array of count values, where bucket_counts[i] carries
+ * the count of the bucket at index (offset+i). bucket_counts[i] is the count
+ * of values greater than base^(offset+i) and less than or equal to
+ * base^(offset+i+1).
+ * Note: By contrast, the explicit HistogramDataPoint uses
+ * fixed64. This field is expected to have many buckets,
+ * especially zeros, so uint64 has been selected to ensure
+ * varint encoding.
+ *
+ * Generated from protobuf field <code>repeated uint64 bucket_counts = 2;</code>
+ * @param int[]|string[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setBucketCounts($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::UINT64);
+ $this->bucket_counts = $arr;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Buckets::class, \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint_Buckets::class);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint_Buckets.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint_Buckets.php
new file mode 100644
index 000000000..a002399a8
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint_Buckets.php
@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+if (false) {
+ /**
+ * This class is deprecated. Use Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets instead.
+ * @deprecated
+ */
+ class ExponentialHistogramDataPoint_Buckets {}
+}
+class_exists(ExponentialHistogramDataPoint\Buckets::class);
+@trigger_error('Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint_Buckets is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets instead', E_USER_DEPRECATED);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Gauge.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Gauge.php
new file mode 100644
index 000000000..da56e2a44
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Gauge.php
@@ -0,0 +1,67 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Gauge represents the type of a scalar metric that always exports the
+ * "current value" for every data point. It should be used for an "unknown"
+ * aggregation.
+ * A Gauge does not support different aggregation temporalities. Given the
+ * aggregation is unknown, points cannot be combined using the same
+ * aggregation, regardless of aggregation temporalities. Therefore,
+ * AggregationTemporality is not included. Consequently, this also means
+ * "StartTimeUnixNano" is ignored for all data points.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.Gauge</code>
+ */
+class Gauge extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
+ */
+ private $data_points;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Metrics\V1\NumberDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDataPoints()
+ {
+ return $this->data_points;
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\NumberDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDataPoints($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\NumberDataPoint::class);
+ $this->data_points = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Histogram.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Histogram.php
new file mode 100644
index 000000000..e6643b89e
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Histogram.php
@@ -0,0 +1,99 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Histogram represents the type of a metric that is calculated by aggregating
+ * as a Histogram of all reported measurements over a time interval.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.Histogram</code>
+ */
+class Histogram extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.HistogramDataPoint data_points = 1;</code>
+ */
+ private $data_points;
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ */
+ protected $aggregation_temporality = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Metrics\V1\HistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points
+ * @type int $aggregation_temporality
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.HistogramDataPoint data_points = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDataPoints()
+ {
+ return $this->data_points;
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.HistogramDataPoint data_points = 1;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\HistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDataPoints($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\HistogramDataPoint::class);
+ $this->data_points = $arr;
+
+ return $this;
+ }
+
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ * @return int
+ */
+ public function getAggregationTemporality()
+ {
+ return $this->aggregation_temporality;
+ }
+
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setAggregationTemporality($var)
+ {
+ GPBUtil::checkEnum($var, \Opentelemetry\Proto\Metrics\V1\AggregationTemporality::class);
+ $this->aggregation_temporality = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/HistogramDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/HistogramDataPoint.php
new file mode 100644
index 000000000..2b19dd856
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/HistogramDataPoint.php
@@ -0,0 +1,565 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * HistogramDataPoint is a single data point in a timeseries that describes the
+ * time-varying values of a Histogram. A Histogram contains summary statistics
+ * for a population of values, it may optionally contain the distribution of
+ * those values across a set of buckets.
+ * If the histogram contains the distribution of values, then both
+ * "explicit_bounds" and "bucket counts" fields must be defined.
+ * If the histogram does not contain the distribution of values, then both
+ * "explicit_bounds" and "bucket_counts" must be omitted and only "count" and
+ * "sum" are known.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.HistogramDataPoint</code>
+ */
+class HistogramDataPoint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
+ */
+ private $attributes;
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ */
+ protected $start_time_unix_nano = 0;
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ */
+ protected $time_unix_nano = 0;
+ /**
+ * count is the number of values in the population. Must be non-negative. This
+ * value must be equal to the sum of the "count" fields in buckets if a
+ * histogram is provided.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ */
+ protected $count = 0;
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
+ *
+ * Generated from protobuf field <code>optional double sum = 5;</code>
+ */
+ protected $sum = null;
+ /**
+ * bucket_counts is an optional field contains the count values of histogram
+ * for each bucket.
+ * The sum of the bucket_counts must equal the value in the count field.
+ * The number of elements in bucket_counts array must be by one greater than
+ * the number of elements in explicit_bounds array.
+ *
+ * Generated from protobuf field <code>repeated fixed64 bucket_counts = 6;</code>
+ */
+ private $bucket_counts;
+ /**
+ * explicit_bounds specifies buckets with explicitly defined bounds for values.
+ * The boundaries for bucket at index i are:
+ * (-infinity, explicit_bounds[i]] for i == 0
+ * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)
+ * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)
+ * The values in the explicit_bounds array must be strictly increasing.
+ * Histogram buckets are inclusive of their upper boundary, except the last
+ * bucket where the boundary is at infinity. This format is intentionally
+ * compatible with the OpenMetrics histogram definition.
+ *
+ * Generated from protobuf field <code>repeated double explicit_bounds = 7;</code>
+ */
+ private $explicit_bounds;
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 8;</code>
+ */
+ private $exemplars;
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 10;</code>
+ */
+ protected $flags = 0;
+ /**
+ * min is the minimum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double min = 11;</code>
+ */
+ protected $min = null;
+ /**
+ * max is the maximum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double max = 12;</code>
+ */
+ protected $max = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ * @type int|string $start_time_unix_nano
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $time_unix_nano
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $count
+ * count is the number of values in the population. Must be non-negative. This
+ * value must be equal to the sum of the "count" fields in buckets if a
+ * histogram is provided.
+ * @type float $sum
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
+ * @type int[]|string[]|\Google\Protobuf\Internal\RepeatedField $bucket_counts
+ * bucket_counts is an optional field contains the count values of histogram
+ * for each bucket.
+ * The sum of the bucket_counts must equal the value in the count field.
+ * The number of elements in bucket_counts array must be by one greater than
+ * the number of elements in explicit_bounds array.
+ * @type float[]|\Google\Protobuf\Internal\RepeatedField $explicit_bounds
+ * explicit_bounds specifies buckets with explicitly defined bounds for values.
+ * The boundaries for bucket at index i are:
+ * (-infinity, explicit_bounds[i]] for i == 0
+ * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)
+ * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)
+ * The values in the explicit_bounds array must be strictly increasing.
+ * Histogram buckets are inclusive of their upper boundary, except the last
+ * bucket where the boundary is at infinity. This format is intentionally
+ * compatible with the OpenMetrics histogram definition.
+ * @type \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ * @type int $flags
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ * @type float $min
+ * min is the minimum value over (start_time, end_time].
+ * @type float $max
+ * max is the maximum value over (start_time, end_time].
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAttributes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->attributes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @return int|string
+ */
+ public function getStartTimeUnixNano()
+ {
+ return $this->start_time_unix_nano;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setStartTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->start_time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @return int|string
+ */
+ public function getTimeUnixNano()
+ {
+ return $this->time_unix_nano;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * count is the number of values in the population. Must be non-negative. This
+ * value must be equal to the sum of the "count" fields in buckets if a
+ * histogram is provided.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ * @return int|string
+ */
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ /**
+ * count is the number of values in the population. Must be non-negative. This
+ * value must be equal to the sum of the "count" fields in buckets if a
+ * histogram is provided.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setCount($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->count = $var;
+
+ return $this;
+ }
+
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
+ *
+ * Generated from protobuf field <code>optional double sum = 5;</code>
+ * @return float
+ */
+ public function getSum()
+ {
+ return isset($this->sum) ? $this->sum : 0.0;
+ }
+
+ public function hasSum()
+ {
+ return isset($this->sum);
+ }
+
+ public function clearSum()
+ {
+ unset($this->sum);
+ }
+
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
+ *
+ * Generated from protobuf field <code>optional double sum = 5;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setSum($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->sum = $var;
+
+ return $this;
+ }
+
+ /**
+ * bucket_counts is an optional field contains the count values of histogram
+ * for each bucket.
+ * The sum of the bucket_counts must equal the value in the count field.
+ * The number of elements in bucket_counts array must be by one greater than
+ * the number of elements in explicit_bounds array.
+ *
+ * Generated from protobuf field <code>repeated fixed64 bucket_counts = 6;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getBucketCounts()
+ {
+ return $this->bucket_counts;
+ }
+
+ /**
+ * bucket_counts is an optional field contains the count values of histogram
+ * for each bucket.
+ * The sum of the bucket_counts must equal the value in the count field.
+ * The number of elements in bucket_counts array must be by one greater than
+ * the number of elements in explicit_bounds array.
+ *
+ * Generated from protobuf field <code>repeated fixed64 bucket_counts = 6;</code>
+ * @param int[]|string[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setBucketCounts($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::FIXED64);
+ $this->bucket_counts = $arr;
+
+ return $this;
+ }
+
+ /**
+ * explicit_bounds specifies buckets with explicitly defined bounds for values.
+ * The boundaries for bucket at index i are:
+ * (-infinity, explicit_bounds[i]] for i == 0
+ * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)
+ * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)
+ * The values in the explicit_bounds array must be strictly increasing.
+ * Histogram buckets are inclusive of their upper boundary, except the last
+ * bucket where the boundary is at infinity. This format is intentionally
+ * compatible with the OpenMetrics histogram definition.
+ *
+ * Generated from protobuf field <code>repeated double explicit_bounds = 7;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExplicitBounds()
+ {
+ return $this->explicit_bounds;
+ }
+
+ /**
+ * explicit_bounds specifies buckets with explicitly defined bounds for values.
+ * The boundaries for bucket at index i are:
+ * (-infinity, explicit_bounds[i]] for i == 0
+ * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)
+ * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)
+ * The values in the explicit_bounds array must be strictly increasing.
+ * Histogram buckets are inclusive of their upper boundary, except the last
+ * bucket where the boundary is at infinity. This format is intentionally
+ * compatible with the OpenMetrics histogram definition.
+ *
+ * Generated from protobuf field <code>repeated double explicit_bounds = 7;</code>
+ * @param float[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setExplicitBounds($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::DOUBLE);
+ $this->explicit_bounds = $arr;
+
+ return $this;
+ }
+
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 8;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExemplars()
+ {
+ return $this->exemplars;
+ }
+
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 8;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setExemplars($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\Exemplar::class);
+ $this->exemplars = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 10;</code>
+ * @return int
+ */
+ public function getFlags()
+ {
+ return $this->flags;
+ }
+
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 10;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setFlags($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->flags = $var;
+
+ return $this;
+ }
+
+ /**
+ * min is the minimum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double min = 11;</code>
+ * @return float
+ */
+ public function getMin()
+ {
+ return isset($this->min) ? $this->min : 0.0;
+ }
+
+ public function hasMin()
+ {
+ return isset($this->min);
+ }
+
+ public function clearMin()
+ {
+ unset($this->min);
+ }
+
+ /**
+ * min is the minimum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double min = 11;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setMin($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->min = $var;
+
+ return $this;
+ }
+
+ /**
+ * max is the maximum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double max = 12;</code>
+ * @return float
+ */
+ public function getMax()
+ {
+ return isset($this->max) ? $this->max : 0.0;
+ }
+
+ public function hasMax()
+ {
+ return isset($this->max);
+ }
+
+ public function clearMax()
+ {
+ unset($this->max);
+ }
+
+ /**
+ * max is the maximum value over (start_time, end_time].
+ *
+ * Generated from protobuf field <code>optional double max = 12;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setMax($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->max = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/InstrumentationLibraryMetrics.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/InstrumentationLibraryMetrics.php
new file mode 100644
index 000000000..807aa1054
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/InstrumentationLibraryMetrics.php
@@ -0,0 +1,156 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A collection of Metrics produced by an InstrumentationLibrary.
+ * InstrumentationLibraryMetrics is wire-compatible with ScopeMetrics for binary
+ * Protobuf format.
+ * This message is deprecated and will be removed on June 15, 2022.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics</code>
+ */
+class InstrumentationLibraryMetrics extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The instrumentation library information for the metrics in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
+ */
+ protected $instrumentation_library = null;
+ /**
+ * A list of metrics that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
+ */
+ private $metrics;
+ /**
+ * This schema_url applies to all metrics in the "metrics" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ */
+ protected $schema_url = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $instrumentation_library
+ * The instrumentation library information for the metrics in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ * @type \Opentelemetry\Proto\Metrics\V1\Metric[]|\Google\Protobuf\Internal\RepeatedField $metrics
+ * A list of metrics that originate from an instrumentation library.
+ * @type string $schema_url
+ * This schema_url applies to all metrics in the "metrics" field.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The instrumentation library information for the metrics in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
+ * @return \Opentelemetry\Proto\Common\V1\InstrumentationLibrary|null
+ */
+ public function getInstrumentationLibrary()
+ {
+ return $this->instrumentation_library;
+ }
+
+ public function hasInstrumentationLibrary()
+ {
+ return isset($this->instrumentation_library);
+ }
+
+ public function clearInstrumentationLibrary()
+ {
+ unset($this->instrumentation_library);
+ }
+
+ /**
+ * The instrumentation library information for the metrics in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $var
+ * @return $this
+ */
+ public function setInstrumentationLibrary($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationLibrary::class);
+ $this->instrumentation_library = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of metrics that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+
+ /**
+ * A list of metrics that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\Metric[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setMetrics($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\Metric::class);
+ $this->metrics = $arr;
+
+ return $this;
+ }
+
+ /**
+ * This schema_url applies to all metrics in the "metrics" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @return string
+ */
+ public function getSchemaUrl()
+ {
+ return $this->schema_url;
+ }
+
+ /**
+ * This schema_url applies to all metrics in the "metrics" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSchemaUrl($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->schema_url = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntDataPoint.php
new file mode 100644
index 000000000..2eac03fcb
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntDataPoint.php
@@ -0,0 +1,227 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * IntDataPoint is deprecated. Use integer value in NumberDataPoint.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntDataPoint</code>
+ */
+class IntDataPoint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The set of labels that uniquely identify this timeseries.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
+ */
+ private $labels;
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ */
+ protected $start_time_unix_nano = 0;
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ */
+ protected $time_unix_nano = 0;
+ /**
+ * value itself.
+ *
+ * Generated from protobuf field <code>sfixed64 value = 4;</code>
+ */
+ protected $value = 0;
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 5;</code>
+ */
+ private $exemplars;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $labels
+ * The set of labels that uniquely identify this timeseries.
+ * @type int|string $start_time_unix_nano
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $time_unix_nano
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $value
+ * value itself.
+ * @type \Opentelemetry\Proto\Metrics\V1\IntExemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The set of labels that uniquely identify this timeseries.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * The set of labels that uniquely identify this timeseries.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\StringKeyValue::class);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @return int|string
+ */
+ public function getStartTimeUnixNano()
+ {
+ return $this->start_time_unix_nano;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setStartTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->start_time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @return int|string
+ */
+ public function getTimeUnixNano()
+ {
+ return $this->time_unix_nano;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * value itself.
+ *
+ * Generated from protobuf field <code>sfixed64 value = 4;</code>
+ * @return int|string
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * value itself.
+ *
+ * Generated from protobuf field <code>sfixed64 value = 4;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setValue($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->value = $var;
+
+ return $this;
+ }
+
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 5;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExemplars()
+ {
+ return $this->exemplars;
+ }
+
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 5;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\IntExemplar[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setExemplars($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\IntExemplar::class);
+ $this->exemplars = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntExemplar.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntExemplar.php
new file mode 100644
index 000000000..319c0ff27
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntExemplar.php
@@ -0,0 +1,235 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * IntExemplar is deprecated. Use Exemplar with as_int for value
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntExemplar</code>
+ */
+class IntExemplar extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The set of labels that were filtered out by the aggregator, but recorded
+ * alongside the original measurement. Only labels that were filtered out
+ * by the aggregator should be included
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1;</code>
+ */
+ private $filtered_labels;
+ /**
+ * time_unix_nano is the exact time when this exemplar was recorded
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 2;</code>
+ */
+ protected $time_unix_nano = 0;
+ /**
+ * Numerical int value of the measurement that was recorded.
+ *
+ * Generated from protobuf field <code>sfixed64 value = 3;</code>
+ */
+ protected $value = 0;
+ /**
+ * (Optional) Span ID of the exemplar trace.
+ * span_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes span_id = 4;</code>
+ */
+ protected $span_id = '';
+ /**
+ * (Optional) Trace ID of the exemplar trace.
+ * trace_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 5;</code>
+ */
+ protected $trace_id = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $filtered_labels
+ * The set of labels that were filtered out by the aggregator, but recorded
+ * alongside the original measurement. Only labels that were filtered out
+ * by the aggregator should be included
+ * @type int|string $time_unix_nano
+ * time_unix_nano is the exact time when this exemplar was recorded
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $value
+ * Numerical int value of the measurement that was recorded.
+ * @type string $span_id
+ * (Optional) Span ID of the exemplar trace.
+ * span_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ * @type string $trace_id
+ * (Optional) Trace ID of the exemplar trace.
+ * trace_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The set of labels that were filtered out by the aggregator, but recorded
+ * alongside the original measurement. Only labels that were filtered out
+ * by the aggregator should be included
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFilteredLabels()
+ {
+ return $this->filtered_labels;
+ }
+
+ /**
+ * The set of labels that were filtered out by the aggregator, but recorded
+ * alongside the original measurement. Only labels that were filtered out
+ * by the aggregator should be included
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setFilteredLabels($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\StringKeyValue::class);
+ $this->filtered_labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * time_unix_nano is the exact time when this exemplar was recorded
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 2;</code>
+ * @return int|string
+ */
+ public function getTimeUnixNano()
+ {
+ return $this->time_unix_nano;
+ }
+
+ /**
+ * time_unix_nano is the exact time when this exemplar was recorded
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 2;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * Numerical int value of the measurement that was recorded.
+ *
+ * Generated from protobuf field <code>sfixed64 value = 3;</code>
+ * @return int|string
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * Numerical int value of the measurement that was recorded.
+ *
+ * Generated from protobuf field <code>sfixed64 value = 3;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setValue($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->value = $var;
+
+ return $this;
+ }
+
+ /**
+ * (Optional) Span ID of the exemplar trace.
+ * span_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes span_id = 4;</code>
+ * @return string
+ */
+ public function getSpanId()
+ {
+ return $this->span_id;
+ }
+
+ /**
+ * (Optional) Span ID of the exemplar trace.
+ * span_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes span_id = 4;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSpanId($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->span_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * (Optional) Trace ID of the exemplar trace.
+ * trace_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 5;</code>
+ * @return string
+ */
+ public function getTraceId()
+ {
+ return $this->trace_id;
+ }
+
+ /**
+ * (Optional) Trace ID of the exemplar trace.
+ * trace_id may be missing if the measurement is not recorded inside a trace
+ * or if the trace is not sampled.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 5;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setTraceId($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->trace_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntGauge.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntGauge.php
new file mode 100644
index 000000000..37fece6dd
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntGauge.php
@@ -0,0 +1,60 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * IntGauge is deprecated. Use Gauge with an integer value in NumberDataPoint.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntGauge</code>
+ */
+class IntGauge extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
+ */
+ private $data_points;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Metrics\V1\IntDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDataPoints()
+ {
+ return $this->data_points;
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\IntDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDataPoints($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\IntDataPoint::class);
+ $this->data_points = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogram.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogram.php
new file mode 100644
index 000000000..934649310
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogram.php
@@ -0,0 +1,99 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * IntHistogram is deprecated, replaced by Histogram points using double-
+ * valued exemplars.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntHistogram</code>
+ */
+class IntHistogram extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
+ */
+ private $data_points;
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ */
+ protected $aggregation_temporality = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Metrics\V1\IntHistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points
+ * @type int $aggregation_temporality
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDataPoints()
+ {
+ return $this->data_points;
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\IntHistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDataPoints($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\IntHistogramDataPoint::class);
+ $this->data_points = $arr;
+
+ return $this;
+ }
+
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ * @return int
+ */
+ public function getAggregationTemporality()
+ {
+ return $this->aggregation_temporality;
+ }
+
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setAggregationTemporality($var)
+ {
+ GPBUtil::checkEnum($var, \Opentelemetry\Proto\Metrics\V1\AggregationTemporality::class);
+ $this->aggregation_temporality = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogramDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogramDataPoint.php
new file mode 100644
index 000000000..cf0e4898b
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogramDataPoint.php
@@ -0,0 +1,393 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * IntHistogramDataPoint is deprecated; use HistogramDataPoint.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntHistogramDataPoint</code>
+ */
+class IntHistogramDataPoint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The set of labels that uniquely identify this timeseries.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
+ */
+ private $labels;
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ */
+ protected $start_time_unix_nano = 0;
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ */
+ protected $time_unix_nano = 0;
+ /**
+ * count is the number of values in the population. Must be non-negative. This
+ * value must be equal to the sum of the "count" fields in buckets if a
+ * histogram is provided.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ */
+ protected $count = 0;
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero. This value must be equal to the sum of the "sum" fields in
+ * buckets if a histogram is provided.
+ *
+ * Generated from protobuf field <code>sfixed64 sum = 5;</code>
+ */
+ protected $sum = 0;
+ /**
+ * bucket_counts is an optional field contains the count values of histogram
+ * for each bucket.
+ * The sum of the bucket_counts must equal the value in the count field.
+ * The number of elements in bucket_counts array must be by one greater than
+ * the number of elements in explicit_bounds array.
+ *
+ * Generated from protobuf field <code>repeated fixed64 bucket_counts = 6;</code>
+ */
+ private $bucket_counts;
+ /**
+ * explicit_bounds specifies buckets with explicitly defined bounds for values.
+ * The boundaries for bucket at index i are:
+ * (-infinity, explicit_bounds[i]] for i == 0
+ * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)
+ * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)
+ * The values in the explicit_bounds array must be strictly increasing.
+ * Histogram buckets are inclusive of their upper boundary, except the last
+ * bucket where the boundary is at infinity. This format is intentionally
+ * compatible with the OpenMetrics histogram definition.
+ *
+ * Generated from protobuf field <code>repeated double explicit_bounds = 7;</code>
+ */
+ private $explicit_bounds;
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;</code>
+ */
+ private $exemplars;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $labels
+ * The set of labels that uniquely identify this timeseries.
+ * @type int|string $start_time_unix_nano
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $time_unix_nano
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $count
+ * count is the number of values in the population. Must be non-negative. This
+ * value must be equal to the sum of the "count" fields in buckets if a
+ * histogram is provided.
+ * @type int|string $sum
+ * sum of the values in the population. If count is zero then this field
+ * must be zero. This value must be equal to the sum of the "sum" fields in
+ * buckets if a histogram is provided.
+ * @type int[]|string[]|\Google\Protobuf\Internal\RepeatedField $bucket_counts
+ * bucket_counts is an optional field contains the count values of histogram
+ * for each bucket.
+ * The sum of the bucket_counts must equal the value in the count field.
+ * The number of elements in bucket_counts array must be by one greater than
+ * the number of elements in explicit_bounds array.
+ * @type float[]|\Google\Protobuf\Internal\RepeatedField $explicit_bounds
+ * explicit_bounds specifies buckets with explicitly defined bounds for values.
+ * The boundaries for bucket at index i are:
+ * (-infinity, explicit_bounds[i]] for i == 0
+ * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)
+ * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)
+ * The values in the explicit_bounds array must be strictly increasing.
+ * Histogram buckets are inclusive of their upper boundary, except the last
+ * bucket where the boundary is at infinity. This format is intentionally
+ * compatible with the OpenMetrics histogram definition.
+ * @type \Opentelemetry\Proto\Metrics\V1\IntExemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The set of labels that uniquely identify this timeseries.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * The set of labels that uniquely identify this timeseries.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\StringKeyValue::class);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @return int|string
+ */
+ public function getStartTimeUnixNano()
+ {
+ return $this->start_time_unix_nano;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setStartTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->start_time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @return int|string
+ */
+ public function getTimeUnixNano()
+ {
+ return $this->time_unix_nano;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * count is the number of values in the population. Must be non-negative. This
+ * value must be equal to the sum of the "count" fields in buckets if a
+ * histogram is provided.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ * @return int|string
+ */
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ /**
+ * count is the number of values in the population. Must be non-negative. This
+ * value must be equal to the sum of the "count" fields in buckets if a
+ * histogram is provided.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setCount($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->count = $var;
+
+ return $this;
+ }
+
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero. This value must be equal to the sum of the "sum" fields in
+ * buckets if a histogram is provided.
+ *
+ * Generated from protobuf field <code>sfixed64 sum = 5;</code>
+ * @return int|string
+ */
+ public function getSum()
+ {
+ return $this->sum;
+ }
+
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero. This value must be equal to the sum of the "sum" fields in
+ * buckets if a histogram is provided.
+ *
+ * Generated from protobuf field <code>sfixed64 sum = 5;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setSum($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->sum = $var;
+
+ return $this;
+ }
+
+ /**
+ * bucket_counts is an optional field contains the count values of histogram
+ * for each bucket.
+ * The sum of the bucket_counts must equal the value in the count field.
+ * The number of elements in bucket_counts array must be by one greater than
+ * the number of elements in explicit_bounds array.
+ *
+ * Generated from protobuf field <code>repeated fixed64 bucket_counts = 6;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getBucketCounts()
+ {
+ return $this->bucket_counts;
+ }
+
+ /**
+ * bucket_counts is an optional field contains the count values of histogram
+ * for each bucket.
+ * The sum of the bucket_counts must equal the value in the count field.
+ * The number of elements in bucket_counts array must be by one greater than
+ * the number of elements in explicit_bounds array.
+ *
+ * Generated from protobuf field <code>repeated fixed64 bucket_counts = 6;</code>
+ * @param int[]|string[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setBucketCounts($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::FIXED64);
+ $this->bucket_counts = $arr;
+
+ return $this;
+ }
+
+ /**
+ * explicit_bounds specifies buckets with explicitly defined bounds for values.
+ * The boundaries for bucket at index i are:
+ * (-infinity, explicit_bounds[i]] for i == 0
+ * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)
+ * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)
+ * The values in the explicit_bounds array must be strictly increasing.
+ * Histogram buckets are inclusive of their upper boundary, except the last
+ * bucket where the boundary is at infinity. This format is intentionally
+ * compatible with the OpenMetrics histogram definition.
+ *
+ * Generated from protobuf field <code>repeated double explicit_bounds = 7;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExplicitBounds()
+ {
+ return $this->explicit_bounds;
+ }
+
+ /**
+ * explicit_bounds specifies buckets with explicitly defined bounds for values.
+ * The boundaries for bucket at index i are:
+ * (-infinity, explicit_bounds[i]] for i == 0
+ * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)
+ * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)
+ * The values in the explicit_bounds array must be strictly increasing.
+ * Histogram buckets are inclusive of their upper boundary, except the last
+ * bucket where the boundary is at infinity. This format is intentionally
+ * compatible with the OpenMetrics histogram definition.
+ *
+ * Generated from protobuf field <code>repeated double explicit_bounds = 7;</code>
+ * @param float[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setExplicitBounds($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::DOUBLE);
+ $this->explicit_bounds = $arr;
+
+ return $this;
+ }
+
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExemplars()
+ {
+ return $this->exemplars;
+ }
+
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\IntExemplar[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setExemplars($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\IntExemplar::class);
+ $this->exemplars = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntSum.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntSum.php
new file mode 100644
index 000000000..aaa313d7d
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntSum.php
@@ -0,0 +1,132 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * IntSum is deprecated. Use Sum with an integer value in NumberDataPoint.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntSum</code>
+ */
+class IntSum extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
+ */
+ private $data_points;
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ */
+ protected $aggregation_temporality = 0;
+ /**
+ * If "true" means that the sum is monotonic.
+ *
+ * Generated from protobuf field <code>bool is_monotonic = 3;</code>
+ */
+ protected $is_monotonic = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Metrics\V1\IntDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points
+ * @type int $aggregation_temporality
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ * @type bool $is_monotonic
+ * If "true" means that the sum is monotonic.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDataPoints()
+ {
+ return $this->data_points;
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\IntDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDataPoints($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\IntDataPoint::class);
+ $this->data_points = $arr;
+
+ return $this;
+ }
+
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ * @return int
+ */
+ public function getAggregationTemporality()
+ {
+ return $this->aggregation_temporality;
+ }
+
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setAggregationTemporality($var)
+ {
+ GPBUtil::checkEnum($var, \Opentelemetry\Proto\Metrics\V1\AggregationTemporality::class);
+ $this->aggregation_temporality = $var;
+
+ return $this;
+ }
+
+ /**
+ * If "true" means that the sum is monotonic.
+ *
+ * Generated from protobuf field <code>bool is_monotonic = 3;</code>
+ * @return bool
+ */
+ public function getIsMonotonic()
+ {
+ return $this->is_monotonic;
+ }
+
+ /**
+ * If "true" means that the sum is monotonic.
+ *
+ * Generated from protobuf field <code>bool is_monotonic = 3;</code>
+ * @param bool $var
+ * @return $this
+ */
+ public function setIsMonotonic($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->is_monotonic = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php
new file mode 100644
index 000000000..3d2538314
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php
@@ -0,0 +1,358 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Defines a Metric which has one or more timeseries. The following is a
+ * brief summary of the Metric data model. For more details, see:
+ * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/data-model.md
+ * The data model and relation between entities is shown in the
+ * diagram below. Here, "DataPoint" is the term used to refer to any
+ * one of the specific data point value types, and "points" is the term used
+ * to refer to any one of the lists of points contained in the Metric.
+ * - Metric is composed of a metadata and data.
+ * - Metadata part contains a name, description, unit.
+ * - Data is one of the possible types (Sum, Gauge, Histogram, Summary).
+ * - DataPoint contains timestamps, attributes, and one of the possible value type
+ * fields.
+ * Metric
+ * +------------+
+ * |name |
+ * |description |
+ * |unit | +------------------------------------+
+ * |data |---> |Gauge, Sum, Histogram, Summary, ... |
+ * +------------+ +------------------------------------+
+ * Data [One of Gauge, Sum, Histogram, Summary, ...]
+ * +-----------+
+ * |... | // Metadata about the Data.
+ * |points |--+
+ * +-----------+ |
+ * | +---------------------------+
+ * | |DataPoint 1 |
+ * v |+------+------+ +------+ |
+ * +-----+ ||label |label |...|label | |
+ * | 1 |-->||value1|value2|...|valueN| |
+ * +-----+ |+------+------+ +------+ |
+ * | . | |+-----+ |
+ * | . | ||value| |
+ * | . | |+-----+ |
+ * | . | +---------------------------+
+ * | . | .
+ * | . | .
+ * | . | .
+ * | . | +---------------------------+
+ * | . | |DataPoint M |
+ * +-----+ |+------+------+ +------+ |
+ * | M |-->||label |label |...|label | |
+ * +-----+ ||value1|value2|...|valueN| |
+ * |+------+------+ +------+ |
+ * |+-----+ |
+ * ||value| |
+ * |+-----+ |
+ * +---------------------------+
+ * Each distinct type of DataPoint represents the output of a specific
+ * aggregation function, the result of applying the DataPoint's
+ * associated function of to one or more measurements.
+ * All DataPoint types have three common fields:
+ * - Attributes includes key-value pairs associated with the data point
+ * - TimeUnixNano is required, set to the end time of the aggregation
+ * - StartTimeUnixNano is optional, but strongly encouraged for DataPoints
+ * having an AggregationTemporality field, as discussed below.
+ * Both TimeUnixNano and StartTimeUnixNano values are expressed as
+ * UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * # TimeUnixNano
+ * This field is required, having consistent interpretation across
+ * DataPoint types. TimeUnixNano is the moment corresponding to when
+ * the data point's aggregate value was captured.
+ * Data points with the 0 value for TimeUnixNano SHOULD be rejected
+ * by consumers.
+ * # StartTimeUnixNano
+ * StartTimeUnixNano in general allows detecting when a sequence of
+ * observations is unbroken. This field indicates to consumers the
+ * start time for points with cumulative and delta
+ * AggregationTemporality, and it should be included whenever possible
+ * to support correct rate calculation. Although it may be omitted
+ * when the start time is truly unknown, setting StartTimeUnixNano is
+ * strongly encouraged.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.Metric</code>
+ */
+class Metric extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * name of the metric, including its DNS name prefix. It must be unique.
+ *
+ * Generated from protobuf field <code>string name = 1;</code>
+ */
+ protected $name = '';
+ /**
+ * description of the metric, which can be used in documentation.
+ *
+ * Generated from protobuf field <code>string description = 2;</code>
+ */
+ protected $description = '';
+ /**
+ * unit in which the metric value is reported. Follows the format
+ * described by http://unitsofmeasure.org/ucum.html.
+ *
+ * Generated from protobuf field <code>string unit = 3;</code>
+ */
+ protected $unit = '';
+ protected $data;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * name of the metric, including its DNS name prefix. It must be unique.
+ * @type string $description
+ * description of the metric, which can be used in documentation.
+ * @type string $unit
+ * unit in which the metric value is reported. Follows the format
+ * described by http://unitsofmeasure.org/ucum.html.
+ * @type \Opentelemetry\Proto\Metrics\V1\Gauge $gauge
+ * @type \Opentelemetry\Proto\Metrics\V1\Sum $sum
+ * @type \Opentelemetry\Proto\Metrics\V1\Histogram $histogram
+ * @type \Opentelemetry\Proto\Metrics\V1\ExponentialHistogram $exponential_histogram
+ * @type \Opentelemetry\Proto\Metrics\V1\Summary $summary
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * name of the metric, including its DNS name prefix. It must be unique.
+ *
+ * Generated from protobuf field <code>string name = 1;</code>
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * name of the metric, including its DNS name prefix. It must be unique.
+ *
+ * Generated from protobuf field <code>string name = 1;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * description of the metric, which can be used in documentation.
+ *
+ * Generated from protobuf field <code>string description = 2;</code>
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * description of the metric, which can be used in documentation.
+ *
+ * Generated from protobuf field <code>string description = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * unit in which the metric value is reported. Follows the format
+ * described by http://unitsofmeasure.org/ucum.html.
+ *
+ * Generated from protobuf field <code>string unit = 3;</code>
+ * @return string
+ */
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ /**
+ * unit in which the metric value is reported. Follows the format
+ * described by http://unitsofmeasure.org/ucum.html.
+ *
+ * Generated from protobuf field <code>string unit = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setUnit($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->unit = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.Gauge gauge = 5;</code>
+ * @return \Opentelemetry\Proto\Metrics\V1\Gauge|null
+ */
+ public function getGauge()
+ {
+ return $this->readOneof(5);
+ }
+
+ public function hasGauge()
+ {
+ return $this->hasOneof(5);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.Gauge gauge = 5;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\Gauge $var
+ * @return $this
+ */
+ public function setGauge($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\Gauge::class);
+ $this->writeOneof(5, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.Sum sum = 7;</code>
+ * @return \Opentelemetry\Proto\Metrics\V1\Sum|null
+ */
+ public function getSum()
+ {
+ return $this->readOneof(7);
+ }
+
+ public function hasSum()
+ {
+ return $this->hasOneof(7);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.Sum sum = 7;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\Sum $var
+ * @return $this
+ */
+ public function setSum($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\Sum::class);
+ $this->writeOneof(7, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.Histogram histogram = 9;</code>
+ * @return \Opentelemetry\Proto\Metrics\V1\Histogram|null
+ */
+ public function getHistogram()
+ {
+ return $this->readOneof(9);
+ }
+
+ public function hasHistogram()
+ {
+ return $this->hasOneof(9);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.Histogram histogram = 9;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\Histogram $var
+ * @return $this
+ */
+ public function setHistogram($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\Histogram::class);
+ $this->writeOneof(9, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10;</code>
+ * @return \Opentelemetry\Proto\Metrics\V1\ExponentialHistogram|null
+ */
+ public function getExponentialHistogram()
+ {
+ return $this->readOneof(10);
+ }
+
+ public function hasExponentialHistogram()
+ {
+ return $this->hasOneof(10);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\ExponentialHistogram $var
+ * @return $this
+ */
+ public function setExponentialHistogram($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\ExponentialHistogram::class);
+ $this->writeOneof(10, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.Summary summary = 11;</code>
+ * @return \Opentelemetry\Proto\Metrics\V1\Summary|null
+ */
+ public function getSummary()
+ {
+ return $this->readOneof(11);
+ }
+
+ public function hasSummary()
+ {
+ return $this->hasOneof(11);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.Summary summary = 11;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\Summary $var
+ * @return $this
+ */
+ public function setSummary($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\Summary::class);
+ $this->writeOneof(11, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getData()
+ {
+ return $this->whichOneof("data");
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/MetricsData.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/MetricsData.php
new file mode 100644
index 000000000..ce144d8f3
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/MetricsData.php
@@ -0,0 +1,90 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * MetricsData represents the metrics data that can be stored in a persistent
+ * storage, OR can be embedded by other protocols that transfer OTLP metrics
+ * data but do not implement the OTLP protocol.
+ * The main difference between this message and collector protocol is that
+ * in this message there will not be any "control" or "metadata" specific to
+ * OTLP protocol.
+ * When new fields are added into this message, the OTLP request MUST be updated
+ * as well.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.MetricsData</code>
+ */
+class MetricsData extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * An array of ResourceMetrics.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
+ */
+ private $resource_metrics;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Metrics\V1\ResourceMetrics[]|\Google\Protobuf\Internal\RepeatedField $resource_metrics
+ * An array of ResourceMetrics.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An array of ResourceMetrics.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourceMetrics()
+ {
+ return $this->resource_metrics;
+ }
+
+ /**
+ * An array of ResourceMetrics.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\ResourceMetrics[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResourceMetrics($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\ResourceMetrics::class);
+ $this->resource_metrics = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php
new file mode 100644
index 000000000..d9fa829e0
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php
@@ -0,0 +1,309 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * NumberDataPoint is a single data point in a timeseries that describes the
+ * time-varying scalar value of a metric.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.NumberDataPoint</code>
+ */
+class NumberDataPoint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
+ */
+ private $attributes;
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ */
+ protected $start_time_unix_nano = 0;
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ */
+ protected $time_unix_nano = 0;
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;</code>
+ */
+ private $exemplars;
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 8;</code>
+ */
+ protected $flags = 0;
+ protected $value;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ * @type int|string $start_time_unix_nano
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $time_unix_nano
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type float $as_double
+ * @type int|string $as_int
+ * @type \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ * @type int $flags
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAttributes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->attributes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @return int|string
+ */
+ public function getStartTimeUnixNano()
+ {
+ return $this->start_time_unix_nano;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setStartTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->start_time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @return int|string
+ */
+ public function getTimeUnixNano()
+ {
+ return $this->time_unix_nano;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>double as_double = 4;</code>
+ * @return float
+ */
+ public function getAsDouble()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasAsDouble()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Generated from protobuf field <code>double as_double = 4;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setAsDouble($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>sfixed64 as_int = 6;</code>
+ * @return int|string
+ */
+ public function getAsInt()
+ {
+ return $this->readOneof(6);
+ }
+
+ public function hasAsInt()
+ {
+ return $this->hasOneof(6);
+ }
+
+ /**
+ * Generated from protobuf field <code>sfixed64 as_int = 6;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setAsInt($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->writeOneof(6, $var);
+
+ return $this;
+ }
+
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExemplars()
+ {
+ return $this->exemplars;
+ }
+
+ /**
+ * (Optional) List of exemplars collected from
+ * measurements that were used to form the data point
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setExemplars($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\Exemplar::class);
+ $this->exemplars = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 8;</code>
+ * @return int
+ */
+ public function getFlags()
+ {
+ return $this->flags;
+ }
+
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 8;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setFlags($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->flags = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->whichOneof("value");
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ResourceMetrics.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ResourceMetrics.php
new file mode 100644
index 000000000..a5e2a7b0d
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ResourceMetrics.php
@@ -0,0 +1,153 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A collection of ScopeMetrics from a Resource.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.ResourceMetrics</code>
+ */
+class ResourceMetrics extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The resource for the metrics in this message.
+ * If this field is not set then no resource info is known.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ */
+ protected $resource = null;
+ /**
+ * A list of metrics that originate from a resource.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;</code>
+ */
+ private $scope_metrics;
+ /**
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_metrics" field which have their own schema_url field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ */
+ protected $schema_url = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Resource\V1\Resource $resource
+ * The resource for the metrics in this message.
+ * If this field is not set then no resource info is known.
+ * @type \Opentelemetry\Proto\Metrics\V1\ScopeMetrics[]|\Google\Protobuf\Internal\RepeatedField $scope_metrics
+ * A list of metrics that originate from a resource.
+ * @type string $schema_url
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_metrics" field which have their own schema_url field.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The resource for the metrics in this message.
+ * If this field is not set then no resource info is known.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ * @return \Opentelemetry\Proto\Resource\V1\Resource|null
+ */
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ public function hasResource()
+ {
+ return isset($this->resource);
+ }
+
+ public function clearResource()
+ {
+ unset($this->resource);
+ }
+
+ /**
+ * The resource for the metrics in this message.
+ * If this field is not set then no resource info is known.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ * @param \Opentelemetry\Proto\Resource\V1\Resource $var
+ * @return $this
+ */
+ public function setResource($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Resource\V1\Resource::class);
+ $this->resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of metrics that originate from a resource.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getScopeMetrics()
+ {
+ return $this->scope_metrics;
+ }
+
+ /**
+ * A list of metrics that originate from a resource.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\ScopeMetrics[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setScopeMetrics($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\ScopeMetrics::class);
+ $this->scope_metrics = $arr;
+
+ return $this;
+ }
+
+ /**
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_metrics" field which have their own schema_url field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @return string
+ */
+ public function getSchemaUrl()
+ {
+ return $this->schema_url;
+ }
+
+ /**
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_metrics" field which have their own schema_url field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSchemaUrl($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->schema_url = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ScopeMetrics.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ScopeMetrics.php
new file mode 100644
index 000000000..71f5cdb86
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ScopeMetrics.php
@@ -0,0 +1,153 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A collection of Metrics produced by an Scope.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.ScopeMetrics</code>
+ */
+class ScopeMetrics extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The instrumentation scope information for the metrics in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
+ */
+ protected $scope = null;
+ /**
+ * A list of metrics that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
+ */
+ private $metrics;
+ /**
+ * This schema_url applies to all metrics in the "metrics" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ */
+ protected $schema_url = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\InstrumentationScope $scope
+ * The instrumentation scope information for the metrics in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ * @type \Opentelemetry\Proto\Metrics\V1\Metric[]|\Google\Protobuf\Internal\RepeatedField $metrics
+ * A list of metrics that originate from an instrumentation library.
+ * @type string $schema_url
+ * This schema_url applies to all metrics in the "metrics" field.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The instrumentation scope information for the metrics in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
+ * @return \Opentelemetry\Proto\Common\V1\InstrumentationScope|null
+ */
+ public function getScope()
+ {
+ return $this->scope;
+ }
+
+ public function hasScope()
+ {
+ return isset($this->scope);
+ }
+
+ public function clearScope()
+ {
+ unset($this->scope);
+ }
+
+ /**
+ * The instrumentation scope information for the metrics in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\InstrumentationScope $var
+ * @return $this
+ */
+ public function setScope($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationScope::class);
+ $this->scope = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of metrics that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+
+ /**
+ * A list of metrics that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\Metric[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setMetrics($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\Metric::class);
+ $this->metrics = $arr;
+
+ return $this;
+ }
+
+ /**
+ * This schema_url applies to all metrics in the "metrics" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @return string
+ */
+ public function getSchemaUrl()
+ {
+ return $this->schema_url;
+ }
+
+ /**
+ * This schema_url applies to all metrics in the "metrics" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSchemaUrl($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->schema_url = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php
new file mode 100644
index 000000000..0251ecd9f
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php
@@ -0,0 +1,133 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Sum represents the type of a scalar metric that is calculated as a sum of all
+ * reported measurements over a time interval.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.Sum</code>
+ */
+class Sum extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
+ */
+ private $data_points;
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ */
+ protected $aggregation_temporality = 0;
+ /**
+ * If "true" means that the sum is monotonic.
+ *
+ * Generated from protobuf field <code>bool is_monotonic = 3;</code>
+ */
+ protected $is_monotonic = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Metrics\V1\NumberDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points
+ * @type int $aggregation_temporality
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ * @type bool $is_monotonic
+ * If "true" means that the sum is monotonic.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDataPoints()
+ {
+ return $this->data_points;
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\NumberDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDataPoints($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\NumberDataPoint::class);
+ $this->data_points = $arr;
+
+ return $this;
+ }
+
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ * @return int
+ */
+ public function getAggregationTemporality()
+ {
+ return $this->aggregation_temporality;
+ }
+
+ /**
+ * aggregation_temporality describes if the aggregator reports delta changes
+ * since last report time, or cumulative changes since a fixed start time.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setAggregationTemporality($var)
+ {
+ GPBUtil::checkEnum($var, \Opentelemetry\Proto\Metrics\V1\AggregationTemporality::class);
+ $this->aggregation_temporality = $var;
+
+ return $this;
+ }
+
+ /**
+ * If "true" means that the sum is monotonic.
+ *
+ * Generated from protobuf field <code>bool is_monotonic = 3;</code>
+ * @return bool
+ */
+ public function getIsMonotonic()
+ {
+ return $this->is_monotonic;
+ }
+
+ /**
+ * If "true" means that the sum is monotonic.
+ *
+ * Generated from protobuf field <code>bool is_monotonic = 3;</code>
+ * @param bool $var
+ * @return $this
+ */
+ public function setIsMonotonic($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->is_monotonic = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Summary.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Summary.php
new file mode 100644
index 000000000..adb5eceb9
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Summary.php
@@ -0,0 +1,65 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Summary metric data are used to convey quantile summaries,
+ * a Prometheus (see: https://prometheus.io/docs/concepts/metric_types/#summary)
+ * and OpenMetrics (see: https://github.com/OpenObservability/OpenMetrics/blob/4dbf6075567ab43296eed941037c12951faafb92/protos/prometheus.proto#L45)
+ * data type. These data points cannot always be merged in a meaningful way.
+ * While they can be useful in some applications, histogram data points are
+ * recommended for new applications.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.Summary</code>
+ */
+class Summary extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint data_points = 1;</code>
+ */
+ private $data_points;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint data_points = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDataPoints()
+ {
+ return $this->data_points;
+ }
+
+ /**
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint data_points = 1;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDataPoints($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint::class);
+ $this->data_points = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint.php
new file mode 100644
index 000000000..30cf4ade4
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint.php
@@ -0,0 +1,336 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * SummaryDataPoint is a single data point in a timeseries that describes the
+ * time-varying values of a Summary metric.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.SummaryDataPoint</code>
+ */
+class SummaryDataPoint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
+ */
+ private $attributes;
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ */
+ protected $start_time_unix_nano = 0;
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ */
+ protected $time_unix_nano = 0;
+ /**
+ * count is the number of values in the population. Must be non-negative.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ */
+ protected $count = 0;
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary
+ *
+ * Generated from protobuf field <code>double sum = 5;</code>
+ */
+ protected $sum = 0.0;
+ /**
+ * (Optional) list of values at different quantiles of the distribution calculated
+ * from the current snapshot. The quantiles must be strictly increasing.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;</code>
+ */
+ private $quantile_values;
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 8;</code>
+ */
+ protected $flags = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ * @type int|string $start_time_unix_nano
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $time_unix_nano
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ * @type int|string $count
+ * count is the number of values in the population. Must be non-negative.
+ * @type float $sum
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary
+ * @type \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint\ValueAtQuantile[]|\Google\Protobuf\Internal\RepeatedField $quantile_values
+ * (Optional) list of values at different quantiles of the distribution calculated
+ * from the current snapshot. The quantiles must be strictly increasing.
+ * @type int $flags
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * The set of key/value pairs that uniquely identify the timeseries from
+ * where this point belongs. The list may be empty (may contain 0 elements).
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAttributes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->attributes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @return int|string
+ */
+ public function getStartTimeUnixNano()
+ {
+ return $this->start_time_unix_nano;
+ }
+
+ /**
+ * StartTimeUnixNano is optional but strongly encouraged, see the
+ * the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 2;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setStartTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->start_time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @return int|string
+ */
+ public function getTimeUnixNano()
+ {
+ return $this->time_unix_nano;
+ }
+
+ /**
+ * TimeUnixNano is required, see the detailed comments above Metric.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
+ * 1970.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 3;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * count is the number of values in the population. Must be non-negative.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ * @return int|string
+ */
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ /**
+ * count is the number of values in the population. Must be non-negative.
+ *
+ * Generated from protobuf field <code>fixed64 count = 4;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setCount($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->count = $var;
+
+ return $this;
+ }
+
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary
+ *
+ * Generated from protobuf field <code>double sum = 5;</code>
+ * @return float
+ */
+ public function getSum()
+ {
+ return $this->sum;
+ }
+
+ /**
+ * sum of the values in the population. If count is zero then this field
+ * must be zero.
+ * Note: Sum should only be filled out when measuring non-negative discrete
+ * events, and is assumed to be monotonic over the values of these events.
+ * Negative events *can* be recorded, but sum should not be filled out when
+ * doing so. This is specifically to enforce compatibility w/ OpenMetrics,
+ * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary
+ *
+ * Generated from protobuf field <code>double sum = 5;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setSum($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->sum = $var;
+
+ return $this;
+ }
+
+ /**
+ * (Optional) list of values at different quantiles of the distribution calculated
+ * from the current snapshot. The quantiles must be strictly increasing.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getQuantileValues()
+ {
+ return $this->quantile_values;
+ }
+
+ /**
+ * (Optional) list of values at different quantiles of the distribution calculated
+ * from the current snapshot. The quantiles must be strictly increasing.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;</code>
+ * @param \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint\ValueAtQuantile[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setQuantileValues($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint\ValueAtQuantile::class);
+ $this->quantile_values = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 8;</code>
+ * @return int
+ */
+ public function getFlags()
+ {
+ return $this->flags;
+ }
+
+ /**
+ * Flags that apply to this specific data point. See DataPointFlags
+ * for the available flags and their meaning.
+ *
+ * Generated from protobuf field <code>uint32 flags = 8;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setFlags($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->flags = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint/ValueAtQuantile.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint/ValueAtQuantile.php
new file mode 100644
index 000000000..8200b6d26
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint/ValueAtQuantile.php
@@ -0,0 +1,117 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1\SummaryDataPoint;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Represents the value at a given quantile of a distribution.
+ * To record Min and Max values following conventions are used:
+ * - The 1.0 quantile is equivalent to the maximum value observed.
+ * - The 0.0 quantile is equivalent to the minimum value observed.
+ * See the following issue for more context:
+ * https://github.com/open-telemetry/opentelemetry-proto/issues/125
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile</code>
+ */
+class ValueAtQuantile extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The quantile of a distribution. Must be in the interval
+ * [0.0, 1.0].
+ *
+ * Generated from protobuf field <code>double quantile = 1;</code>
+ */
+ protected $quantile = 0.0;
+ /**
+ * The value at the given quantile of a distribution.
+ * Quantile values must NOT be negative.
+ *
+ * Generated from protobuf field <code>double value = 2;</code>
+ */
+ protected $value = 0.0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $quantile
+ * The quantile of a distribution. Must be in the interval
+ * [0.0, 1.0].
+ * @type float $value
+ * The value at the given quantile of a distribution.
+ * Quantile values must NOT be negative.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The quantile of a distribution. Must be in the interval
+ * [0.0, 1.0].
+ *
+ * Generated from protobuf field <code>double quantile = 1;</code>
+ * @return float
+ */
+ public function getQuantile()
+ {
+ return $this->quantile;
+ }
+
+ /**
+ * The quantile of a distribution. Must be in the interval
+ * [0.0, 1.0].
+ *
+ * Generated from protobuf field <code>double quantile = 1;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setQuantile($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->quantile = $var;
+
+ return $this;
+ }
+
+ /**
+ * The value at the given quantile of a distribution.
+ * Quantile values must NOT be negative.
+ *
+ * Generated from protobuf field <code>double value = 2;</code>
+ * @return float
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * The value at the given quantile of a distribution.
+ * Quantile values must NOT be negative.
+ *
+ * Generated from protobuf field <code>double value = 2;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setValue($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->value = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ValueAtQuantile::class, \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint_ValueAtQuantile::class);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint_ValueAtQuantile.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint_ValueAtQuantile.php
new file mode 100644
index 000000000..c1f41e749
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint_ValueAtQuantile.php
@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/metrics/v1/metrics.proto
+
+namespace Opentelemetry\Proto\Metrics\V1;
+
+if (false) {
+ /**
+ * This class is deprecated. Use Opentelemetry\Proto\Metrics\V1\SummaryDataPoint\ValueAtQuantile instead.
+ * @deprecated
+ */
+ class SummaryDataPoint_ValueAtQuantile {}
+}
+class_exists(SummaryDataPoint\ValueAtQuantile::class);
+@trigger_error('Opentelemetry\Proto\Metrics\V1\SummaryDataPoint_ValueAtQuantile is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Metrics\V1\SummaryDataPoint\ValueAtQuantile instead', E_USER_DEPRECATED);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php
new file mode 100644
index 000000000..d9062eeb1
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php
@@ -0,0 +1,113 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/resource/v1/resource.proto
+
+namespace Opentelemetry\Proto\Resource\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Resource information.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.resource.v1.Resource</code>
+ */
+class Resource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Set of attributes that describe the resource.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
+ */
+ private $attributes;
+ /**
+ * 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>
+ */
+ protected $dropped_attributes_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes
+ * Set of attributes that describe the resource.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ * @type int $dropped_attributes_count
+ * dropped_attributes_count is the number of dropped attributes. If the value is 0, then
+ * no attributes were dropped.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Resource\V1\Resource::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Set of attributes that describe the resource.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * Set of attributes that describe the resource.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAttributes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->attributes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * 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>
+ * @return int
+ */
+ public function getDroppedAttributesCount()
+ {
+ return $this->dropped_attributes_count;
+ }
+
+ /**
+ * 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>
+ * @param int $var
+ * @return $this
+ */
+ public function setDroppedAttributesCount($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->dropped_attributes_count = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler.php
new file mode 100644
index 000000000..c21482623
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler.php
@@ -0,0 +1,60 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace_config.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Sampler that always makes a constant decision on span sampling.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.ConstantSampler</code>
+ */
+class ConstantSampler extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1;</code>
+ */
+ protected $decision = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $decision
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\TraceConfig::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1;</code>
+ * @return int
+ */
+ public function getDecision()
+ {
+ return $this->decision;
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setDecision($var)
+ {
+ GPBUtil::checkEnum($var, \Opentelemetry\Proto\Trace\V1\ConstantSampler\ConstantDecision::class);
+ $this->decision = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler/ConstantDecision.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler/ConstantDecision.php
new file mode 100644
index 000000000..04c1950ca
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler/ConstantDecision.php
@@ -0,0 +1,61 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace_config.proto
+
+namespace Opentelemetry\Proto\Trace\V1\ConstantSampler;
+
+use UnexpectedValueException;
+
+/**
+ * How spans should be sampled:
+ * - Always off
+ * - Always on
+ * - Always follow the parent Span's decision (off if no parent).
+ *
+ * Protobuf type <code>opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision</code>
+ */
+class ConstantDecision
+{
+ /**
+ * Generated from protobuf enum <code>ALWAYS_OFF = 0;</code>
+ */
+ const ALWAYS_OFF = 0;
+ /**
+ * Generated from protobuf enum <code>ALWAYS_ON = 1;</code>
+ */
+ const ALWAYS_ON = 1;
+ /**
+ * Generated from protobuf enum <code>ALWAYS_PARENT = 2;</code>
+ */
+ const ALWAYS_PARENT = 2;
+
+ private static $valueToName = [
+ self::ALWAYS_OFF => 'ALWAYS_OFF',
+ self::ALWAYS_ON => 'ALWAYS_ON',
+ self::ALWAYS_PARENT => 'ALWAYS_PARENT',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ConstantDecision::class, \Opentelemetry\Proto\Trace\V1\ConstantSampler_ConstantDecision::class);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler_ConstantDecision.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler_ConstantDecision.php
new file mode 100644
index 000000000..e252f5f4b
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler_ConstantDecision.php
@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace_config.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+if (false) {
+ /**
+ * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\ConstantSampler\ConstantDecision instead.
+ * @deprecated
+ */
+ class ConstantSampler_ConstantDecision {}
+}
+class_exists(ConstantSampler\ConstantDecision::class);
+@trigger_error('Opentelemetry\Proto\Trace\V1\ConstantSampler_ConstantDecision is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\ConstantSampler\ConstantDecision instead', E_USER_DEPRECATED);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/InstrumentationLibrarySpans.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/InstrumentationLibrarySpans.php
new file mode 100644
index 000000000..c5cc122e7
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/InstrumentationLibrarySpans.php
@@ -0,0 +1,156 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A collection of Spans produced by an InstrumentationLibrary.
+ * InstrumentationLibrarySpans is wire-compatible with ScopeSpans for binary
+ * Protobuf format.
+ * This message is deprecated and will be removed on June 15, 2022.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.InstrumentationLibrarySpans</code>
+ */
+class InstrumentationLibrarySpans extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The instrumentation library information for the spans in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
+ */
+ protected $instrumentation_library = null;
+ /**
+ * A list of Spans that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
+ */
+ private $spans;
+ /**
+ * This schema_url applies to all spans and span events in the "spans" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ */
+ protected $schema_url = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $instrumentation_library
+ * The instrumentation library information for the spans in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ * @type \Opentelemetry\Proto\Trace\V1\Span[]|\Google\Protobuf\Internal\RepeatedField $spans
+ * A list of Spans that originate from an instrumentation library.
+ * @type string $schema_url
+ * This schema_url applies to all spans and span events in the "spans" field.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The instrumentation library information for the spans in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
+ * @return \Opentelemetry\Proto\Common\V1\InstrumentationLibrary|null
+ */
+ public function getInstrumentationLibrary()
+ {
+ return $this->instrumentation_library;
+ }
+
+ public function hasInstrumentationLibrary()
+ {
+ return isset($this->instrumentation_library);
+ }
+
+ public function clearInstrumentationLibrary()
+ {
+ unset($this->instrumentation_library);
+ }
+
+ /**
+ * The instrumentation library information for the spans in this message.
+ * Semantically when InstrumentationLibrary isn't set, it is equivalent with
+ * an empty instrumentation library name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $var
+ * @return $this
+ */
+ public function setInstrumentationLibrary($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationLibrary::class);
+ $this->instrumentation_library = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of Spans that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getSpans()
+ {
+ return $this->spans;
+ }
+
+ /**
+ * A list of Spans that originate from an instrumentation library.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
+ * @param \Opentelemetry\Proto\Trace\V1\Span[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setSpans($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\Span::class);
+ $this->spans = $arr;
+
+ return $this;
+ }
+
+ /**
+ * This schema_url applies to all spans and span events in the "spans" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @return string
+ */
+ public function getSchemaUrl()
+ {
+ return $this->schema_url;
+ }
+
+ /**
+ * This schema_url applies to all spans and span events in the "spans" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSchemaUrl($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->schema_url = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/RateLimitingSampler.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/RateLimitingSampler.php
new file mode 100644
index 000000000..3fd17fb01
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/RateLimitingSampler.php
@@ -0,0 +1,67 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace_config.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Sampler that tries to sample with a rate per time window.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.RateLimitingSampler</code>
+ */
+class RateLimitingSampler extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Rate per second.
+ *
+ * Generated from protobuf field <code>int64 qps = 1;</code>
+ */
+ protected $qps = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $qps
+ * Rate per second.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\TraceConfig::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Rate per second.
+ *
+ * Generated from protobuf field <code>int64 qps = 1;</code>
+ * @return int|string
+ */
+ public function getQps()
+ {
+ return $this->qps;
+ }
+
+ /**
+ * Rate per second.
+ *
+ * Generated from protobuf field <code>int64 qps = 1;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setQps($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->qps = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ResourceSpans.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ResourceSpans.php
new file mode 100644
index 000000000..521250920
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ResourceSpans.php
@@ -0,0 +1,153 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A collection of ScopeSpans from a Resource.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.ResourceSpans</code>
+ */
+class ResourceSpans extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The resource for the spans in this message.
+ * If this field is not set then no resource info is known.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ */
+ protected $resource = null;
+ /**
+ * A list of ScopeSpans that originate from a resource.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2;</code>
+ */
+ private $scope_spans;
+ /**
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_spans" field which have their own schema_url field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ */
+ protected $schema_url = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Resource\V1\Resource $resource
+ * The resource for the spans in this message.
+ * If this field is not set then no resource info is known.
+ * @type \Opentelemetry\Proto\Trace\V1\ScopeSpans[]|\Google\Protobuf\Internal\RepeatedField $scope_spans
+ * A list of ScopeSpans that originate from a resource.
+ * @type string $schema_url
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_spans" field which have their own schema_url field.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The resource for the spans in this message.
+ * If this field is not set then no resource info is known.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ * @return \Opentelemetry\Proto\Resource\V1\Resource|null
+ */
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ public function hasResource()
+ {
+ return isset($this->resource);
+ }
+
+ public function clearResource()
+ {
+ unset($this->resource);
+ }
+
+ /**
+ * The resource for the spans in this message.
+ * If this field is not set then no resource info is known.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
+ * @param \Opentelemetry\Proto\Resource\V1\Resource $var
+ * @return $this
+ */
+ public function setResource($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Resource\V1\Resource::class);
+ $this->resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of ScopeSpans that originate from a resource.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getScopeSpans()
+ {
+ return $this->scope_spans;
+ }
+
+ /**
+ * A list of ScopeSpans that originate from a resource.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2;</code>
+ * @param \Opentelemetry\Proto\Trace\V1\ScopeSpans[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setScopeSpans($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\ScopeSpans::class);
+ $this->scope_spans = $arr;
+
+ return $this;
+ }
+
+ /**
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_spans" field which have their own schema_url field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @return string
+ */
+ public function getSchemaUrl()
+ {
+ return $this->schema_url;
+ }
+
+ /**
+ * This schema_url applies to the data in the "resource" field. It does not apply
+ * to the data in the "scope_spans" field which have their own schema_url field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSchemaUrl($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->schema_url = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ScopeSpans.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ScopeSpans.php
new file mode 100644
index 000000000..098376f7d
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ScopeSpans.php
@@ -0,0 +1,153 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A collection of Spans produced by an InstrumentationScope.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.ScopeSpans</code>
+ */
+class ScopeSpans extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The instrumentation scope information for the spans in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
+ */
+ protected $scope = null;
+ /**
+ * A list of Spans that originate from an instrumentation scope.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
+ */
+ private $spans;
+ /**
+ * This schema_url applies to all spans and span events in the "spans" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ */
+ protected $schema_url = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Common\V1\InstrumentationScope $scope
+ * The instrumentation scope information for the spans in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ * @type \Opentelemetry\Proto\Trace\V1\Span[]|\Google\Protobuf\Internal\RepeatedField $spans
+ * A list of Spans that originate from an instrumentation scope.
+ * @type string $schema_url
+ * This schema_url applies to all spans and span events in the "spans" field.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The instrumentation scope information for the spans in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
+ * @return \Opentelemetry\Proto\Common\V1\InstrumentationScope|null
+ */
+ public function getScope()
+ {
+ return $this->scope;
+ }
+
+ public function hasScope()
+ {
+ return isset($this->scope);
+ }
+
+ public function clearScope()
+ {
+ unset($this->scope);
+ }
+
+ /**
+ * The instrumentation scope information for the spans in this message.
+ * Semantically when InstrumentationScope isn't set, it is equivalent with
+ * an empty instrumentation scope name (unknown).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
+ * @param \Opentelemetry\Proto\Common\V1\InstrumentationScope $var
+ * @return $this
+ */
+ public function setScope($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationScope::class);
+ $this->scope = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of Spans that originate from an instrumentation scope.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getSpans()
+ {
+ return $this->spans;
+ }
+
+ /**
+ * A list of Spans that originate from an instrumentation scope.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
+ * @param \Opentelemetry\Proto\Trace\V1\Span[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setSpans($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\Span::class);
+ $this->spans = $arr;
+
+ return $this;
+ }
+
+ /**
+ * This schema_url applies to all spans and span events in the "spans" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @return string
+ */
+ public function getSchemaUrl()
+ {
+ return $this->schema_url;
+ }
+
+ /**
+ * This schema_url applies to all spans and span events in the "spans" field.
+ *
+ * Generated from protobuf field <code>string schema_url = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSchemaUrl($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->schema_url = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span.php
new file mode 100644
index 000000000..4b1dc138c
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span.php
@@ -0,0 +1,726 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A Span represents a single operation performed by a single component of the system.
+ * The next available field id is 17.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.Span</code>
+ */
+class Span extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A unique identifier for a trace. All spans from the same trace share
+ * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
+ * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is required.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 1;</code>
+ */
+ protected $trace_id = '';
+ /**
+ * A unique identifier for a span within a trace, assigned when the span
+ * is created. The ID is an 8-byte array. An ID with all zeroes OR of length
+ * other than 8 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is required.
+ *
+ * Generated from protobuf field <code>bytes span_id = 2;</code>
+ */
+ protected $span_id = '';
+ /**
+ * trace_state conveys information about request position in multiple distributed tracing graphs.
+ * It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header
+ * See also https://github.com/w3c/distributed-tracing for more details about this field.
+ *
+ * Generated from protobuf field <code>string trace_state = 3;</code>
+ */
+ protected $trace_state = '';
+ /**
+ * The `span_id` of this span's parent span. If this is a root span, then this
+ * field must be empty. The ID is an 8-byte array.
+ *
+ * Generated from protobuf field <code>bytes parent_span_id = 4;</code>
+ */
+ protected $parent_span_id = '';
+ /**
+ * A description of the span's operation.
+ * For example, the name can be a qualified method name or a file name
+ * and a line number where the operation is called. A best practice is to use
+ * the same display name at the same call point in an application.
+ * This makes it easier to correlate spans in different traces.
+ * This field is semantically required to be set to non-empty string.
+ * Empty value is equivalent to an unknown span name.
+ * This field is required.
+ *
+ * Generated from protobuf field <code>string name = 5;</code>
+ */
+ protected $name = '';
+ /**
+ * Distinguishes between spans generated in a particular context. For example,
+ * two spans with the same name may be distinguished using `CLIENT` (caller)
+ * and `SERVER` (callee) to identify queueing latency associated with the span.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Span.SpanKind kind = 6;</code>
+ */
+ protected $kind = 0;
+ /**
+ * start_time_unix_nano is the start time of the span. On the client side, this is the time
+ * kept by the local machine where the span execution starts. On the server side, this
+ * is the time when the server's application handler starts running.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * This field is semantically required and it is expected that end_time >= start_time.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 7;</code>
+ */
+ protected $start_time_unix_nano = 0;
+ /**
+ * end_time_unix_nano is the end time of the span. On the client side, this is the time
+ * kept by the local machine where the span execution ends. On the server side, this
+ * is the time when the server application handler stops running.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * This field is semantically required and it is expected that end_time >= start_time.
+ *
+ * Generated from protobuf field <code>fixed64 end_time_unix_nano = 8;</code>
+ */
+ protected $end_time_unix_nano = 0;
+ /**
+ * attributes is a collection of key/value pairs. Note, global attributes
+ * like server name can be set using the resource API. Examples of attributes:
+ * "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
+ * "/http/server_latency": 300
+ * "example.com/myattribute": true
+ * "example.com/score": 10.239
+ * The OpenTelemetry API specification further restricts the allowed value types:
+ * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
+ */
+ private $attributes;
+ /**
+ * 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>
+ */
+ protected $dropped_attributes_count = 0;
+ /**
+ * events is a collection of Event items.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span.Event events = 11;</code>
+ */
+ private $events;
+ /**
+ * dropped_events_count is the number of dropped events. If the value is 0, then no
+ * events were dropped.
+ *
+ * Generated from protobuf field <code>uint32 dropped_events_count = 12;</code>
+ */
+ protected $dropped_events_count = 0;
+ /**
+ * links is a collection of Links, which are references from this span to a span
+ * in the same or different trace.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span.Link links = 13;</code>
+ */
+ private $links;
+ /**
+ * dropped_links_count is the number of dropped links after the maximum size was
+ * enforced. If this value is 0, then no links were dropped.
+ *
+ * Generated from protobuf field <code>uint32 dropped_links_count = 14;</code>
+ */
+ protected $dropped_links_count = 0;
+ /**
+ * An optional final status for this span. Semantically when Status isn't set, it means
+ * span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Status status = 15;</code>
+ */
+ protected $status = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $trace_id
+ * A unique identifier for a trace. All spans from the same trace share
+ * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
+ * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is required.
+ * @type string $span_id
+ * A unique identifier for a span within a trace, assigned when the span
+ * is created. The ID is an 8-byte array. An ID with all zeroes OR of length
+ * other than 8 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is required.
+ * @type string $trace_state
+ * trace_state conveys information about request position in multiple distributed tracing graphs.
+ * It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header
+ * See also https://github.com/w3c/distributed-tracing for more details about this field.
+ * @type string $parent_span_id
+ * The `span_id` of this span's parent span. If this is a root span, then this
+ * field must be empty. The ID is an 8-byte array.
+ * @type string $name
+ * A description of the span's operation.
+ * For example, the name can be a qualified method name or a file name
+ * and a line number where the operation is called. A best practice is to use
+ * the same display name at the same call point in an application.
+ * This makes it easier to correlate spans in different traces.
+ * This field is semantically required to be set to non-empty string.
+ * Empty value is equivalent to an unknown span name.
+ * This field is required.
+ * @type int $kind
+ * Distinguishes between spans generated in a particular context. For example,
+ * two spans with the same name may be distinguished using `CLIENT` (caller)
+ * and `SERVER` (callee) to identify queueing latency associated with the span.
+ * @type int|string $start_time_unix_nano
+ * start_time_unix_nano is the start time of the span. On the client side, this is the time
+ * kept by the local machine where the span execution starts. On the server side, this
+ * is the time when the server's application handler starts running.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * This field is semantically required and it is expected that end_time >= start_time.
+ * @type int|string $end_time_unix_nano
+ * end_time_unix_nano is the end time of the span. On the client side, this is the time
+ * kept by the local machine where the span execution ends. On the server side, this
+ * is the time when the server application handler stops running.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * This field is semantically required and it is expected that end_time >= start_time.
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes
+ * attributes is a collection of key/value pairs. Note, global attributes
+ * like server name can be set using the resource API. Examples of attributes:
+ * "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
+ * "/http/server_latency": 300
+ * "example.com/myattribute": true
+ * "example.com/score": 10.239
+ * The OpenTelemetry API specification further restricts the allowed value types:
+ * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ * @type int $dropped_attributes_count
+ * 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.
+ * @type \Opentelemetry\Proto\Trace\V1\Span\Event[]|\Google\Protobuf\Internal\RepeatedField $events
+ * events is a collection of Event items.
+ * @type int $dropped_events_count
+ * dropped_events_count is the number of dropped events. If the value is 0, then no
+ * events were dropped.
+ * @type \Opentelemetry\Proto\Trace\V1\Span\Link[]|\Google\Protobuf\Internal\RepeatedField $links
+ * links is a collection of Links, which are references from this span to a span
+ * in the same or different trace.
+ * @type int $dropped_links_count
+ * dropped_links_count is the number of dropped links after the maximum size was
+ * enforced. If this value is 0, then no links were dropped.
+ * @type \Opentelemetry\Proto\Trace\V1\Status $status
+ * An optional final status for this span. Semantically when Status isn't set, it means
+ * span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A unique identifier for a trace. All spans from the same trace share
+ * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
+ * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is required.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 1;</code>
+ * @return string
+ */
+ public function getTraceId()
+ {
+ return $this->trace_id;
+ }
+
+ /**
+ * A unique identifier for a trace. All spans from the same trace share
+ * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
+ * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is required.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 1;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setTraceId($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->trace_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * A unique identifier for a span within a trace, assigned when the span
+ * is created. The ID is an 8-byte array. An ID with all zeroes OR of length
+ * other than 8 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is required.
+ *
+ * Generated from protobuf field <code>bytes span_id = 2;</code>
+ * @return string
+ */
+ public function getSpanId()
+ {
+ return $this->span_id;
+ }
+
+ /**
+ * A unique identifier for a span within a trace, assigned when the span
+ * is created. The ID is an 8-byte array. An ID with all zeroes OR of length
+ * other than 8 bytes is considered invalid (empty string in OTLP/JSON
+ * is zero-length and thus is also invalid).
+ * This field is required.
+ *
+ * Generated from protobuf field <code>bytes span_id = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSpanId($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->span_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * trace_state conveys information about request position in multiple distributed tracing graphs.
+ * It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header
+ * See also https://github.com/w3c/distributed-tracing for more details about this field.
+ *
+ * Generated from protobuf field <code>string trace_state = 3;</code>
+ * @return string
+ */
+ public function getTraceState()
+ {
+ return $this->trace_state;
+ }
+
+ /**
+ * trace_state conveys information about request position in multiple distributed tracing graphs.
+ * It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header
+ * See also https://github.com/w3c/distributed-tracing for more details about this field.
+ *
+ * Generated from protobuf field <code>string trace_state = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setTraceState($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->trace_state = $var;
+
+ return $this;
+ }
+
+ /**
+ * The `span_id` of this span's parent span. If this is a root span, then this
+ * field must be empty. The ID is an 8-byte array.
+ *
+ * Generated from protobuf field <code>bytes parent_span_id = 4;</code>
+ * @return string
+ */
+ public function getParentSpanId()
+ {
+ return $this->parent_span_id;
+ }
+
+ /**
+ * The `span_id` of this span's parent span. If this is a root span, then this
+ * field must be empty. The ID is an 8-byte array.
+ *
+ * Generated from protobuf field <code>bytes parent_span_id = 4;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setParentSpanId($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->parent_span_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * A description of the span's operation.
+ * For example, the name can be a qualified method name or a file name
+ * and a line number where the operation is called. A best practice is to use
+ * the same display name at the same call point in an application.
+ * This makes it easier to correlate spans in different traces.
+ * This field is semantically required to be set to non-empty string.
+ * Empty value is equivalent to an unknown span name.
+ * This field is required.
+ *
+ * Generated from protobuf field <code>string name = 5;</code>
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * A description of the span's operation.
+ * For example, the name can be a qualified method name or a file name
+ * and a line number where the operation is called. A best practice is to use
+ * the same display name at the same call point in an application.
+ * This makes it easier to correlate spans in different traces.
+ * This field is semantically required to be set to non-empty string.
+ * Empty value is equivalent to an unknown span name.
+ * This field is required.
+ *
+ * Generated from protobuf field <code>string name = 5;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Distinguishes between spans generated in a particular context. For example,
+ * two spans with the same name may be distinguished using `CLIENT` (caller)
+ * and `SERVER` (callee) to identify queueing latency associated with the span.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Span.SpanKind kind = 6;</code>
+ * @return int
+ */
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ /**
+ * Distinguishes between spans generated in a particular context. For example,
+ * two spans with the same name may be distinguished using `CLIENT` (caller)
+ * and `SERVER` (callee) to identify queueing latency associated with the span.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Span.SpanKind kind = 6;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setKind($var)
+ {
+ GPBUtil::checkEnum($var, \Opentelemetry\Proto\Trace\V1\Span\SpanKind::class);
+ $this->kind = $var;
+
+ return $this;
+ }
+
+ /**
+ * start_time_unix_nano is the start time of the span. On the client side, this is the time
+ * kept by the local machine where the span execution starts. On the server side, this
+ * is the time when the server's application handler starts running.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * This field is semantically required and it is expected that end_time >= start_time.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 7;</code>
+ * @return int|string
+ */
+ public function getStartTimeUnixNano()
+ {
+ return $this->start_time_unix_nano;
+ }
+
+ /**
+ * start_time_unix_nano is the start time of the span. On the client side, this is the time
+ * kept by the local machine where the span execution starts. On the server side, this
+ * is the time when the server's application handler starts running.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * This field is semantically required and it is expected that end_time >= start_time.
+ *
+ * Generated from protobuf field <code>fixed64 start_time_unix_nano = 7;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setStartTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->start_time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * end_time_unix_nano is the end time of the span. On the client side, this is the time
+ * kept by the local machine where the span execution ends. On the server side, this
+ * is the time when the server application handler stops running.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * This field is semantically required and it is expected that end_time >= start_time.
+ *
+ * Generated from protobuf field <code>fixed64 end_time_unix_nano = 8;</code>
+ * @return int|string
+ */
+ public function getEndTimeUnixNano()
+ {
+ return $this->end_time_unix_nano;
+ }
+
+ /**
+ * end_time_unix_nano is the end time of the span. On the client side, this is the time
+ * kept by the local machine where the span execution ends. On the server side, this
+ * is the time when the server application handler stops running.
+ * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ * This field is semantically required and it is expected that end_time >= start_time.
+ *
+ * Generated from protobuf field <code>fixed64 end_time_unix_nano = 8;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setEndTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->end_time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * attributes is a collection of key/value pairs. Note, global attributes
+ * like server name can be set using the resource API. Examples of attributes:
+ * "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
+ * "/http/server_latency": 300
+ * "example.com/myattribute": true
+ * "example.com/score": 10.239
+ * The OpenTelemetry API specification further restricts the allowed value types:
+ * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * attributes is a collection of key/value pairs. Note, global attributes
+ * like server name can be set using the resource API. Examples of attributes:
+ * "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
+ * "/http/server_latency": 300
+ * "example.com/myattribute": true
+ * "example.com/score": 10.239
+ * The OpenTelemetry API specification further restricts the allowed value types:
+ * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAttributes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->attributes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * 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>
+ * @return int
+ */
+ public function getDroppedAttributesCount()
+ {
+ return $this->dropped_attributes_count;
+ }
+
+ /**
+ * 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>
+ * @param int $var
+ * @return $this
+ */
+ public function setDroppedAttributesCount($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->dropped_attributes_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * events is a collection of Event items.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span.Event events = 11;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getEvents()
+ {
+ return $this->events;
+ }
+
+ /**
+ * events is a collection of Event items.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span.Event events = 11;</code>
+ * @param \Opentelemetry\Proto\Trace\V1\Span\Event[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setEvents($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\Span\Event::class);
+ $this->events = $arr;
+
+ return $this;
+ }
+
+ /**
+ * dropped_events_count is the number of dropped events. If the value is 0, then no
+ * events were dropped.
+ *
+ * Generated from protobuf field <code>uint32 dropped_events_count = 12;</code>
+ * @return int
+ */
+ public function getDroppedEventsCount()
+ {
+ return $this->dropped_events_count;
+ }
+
+ /**
+ * dropped_events_count is the number of dropped events. If the value is 0, then no
+ * events were dropped.
+ *
+ * Generated from protobuf field <code>uint32 dropped_events_count = 12;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setDroppedEventsCount($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->dropped_events_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * links is a collection of Links, which are references from this span to a span
+ * in the same or different trace.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span.Link links = 13;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getLinks()
+ {
+ return $this->links;
+ }
+
+ /**
+ * links is a collection of Links, which are references from this span to a span
+ * in the same or different trace.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span.Link links = 13;</code>
+ * @param \Opentelemetry\Proto\Trace\V1\Span\Link[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setLinks($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\Span\Link::class);
+ $this->links = $arr;
+
+ return $this;
+ }
+
+ /**
+ * dropped_links_count is the number of dropped links after the maximum size was
+ * enforced. If this value is 0, then no links were dropped.
+ *
+ * Generated from protobuf field <code>uint32 dropped_links_count = 14;</code>
+ * @return int
+ */
+ public function getDroppedLinksCount()
+ {
+ return $this->dropped_links_count;
+ }
+
+ /**
+ * dropped_links_count is the number of dropped links after the maximum size was
+ * enforced. If this value is 0, then no links were dropped.
+ *
+ * Generated from protobuf field <code>uint32 dropped_links_count = 14;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setDroppedLinksCount($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->dropped_links_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * An optional final status for this span. Semantically when Status isn't set, it means
+ * span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Status status = 15;</code>
+ * @return \Opentelemetry\Proto\Trace\V1\Status|null
+ */
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function hasStatus()
+ {
+ return isset($this->status);
+ }
+
+ public function clearStatus()
+ {
+ unset($this->status);
+ }
+
+ /**
+ * An optional final status for this span. Semantically when Status isn't set, it means
+ * span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Status status = 15;</code>
+ * @param \Opentelemetry\Proto\Trace\V1\Status $var
+ * @return $this
+ */
+ public function setStatus($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Trace\V1\Status::class);
+ $this->status = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php
new file mode 100644
index 000000000..c6b7a1807
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php
@@ -0,0 +1,189 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1\Span;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Event is a time-stamped annotation of the span, consisting of user-supplied
+ * text description and key-value pairs.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.Span.Event</code>
+ */
+class Event extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * time_unix_nano is the time the event occurred.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 1;</code>
+ */
+ protected $time_unix_nano = 0;
+ /**
+ * name of the event.
+ * This field is semantically required to be set to non-empty string.
+ *
+ * Generated from protobuf field <code>string name = 2;</code>
+ */
+ protected $name = '';
+ /**
+ * attributes is a collection of attribute key/value pairs on the event.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
+ */
+ private $attributes;
+ /**
+ * 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 = 4;</code>
+ */
+ protected $dropped_attributes_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $time_unix_nano
+ * time_unix_nano is the time the event occurred.
+ * @type string $name
+ * name of the event.
+ * This field is semantically required to be set to non-empty string.
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes
+ * attributes is a collection of attribute key/value pairs on the event.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ * @type int $dropped_attributes_count
+ * dropped_attributes_count is the number of dropped attributes. If the value is 0,
+ * then no attributes were dropped.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * time_unix_nano is the time the event occurred.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 1;</code>
+ * @return int|string
+ */
+ public function getTimeUnixNano()
+ {
+ return $this->time_unix_nano;
+ }
+
+ /**
+ * time_unix_nano is the time the event occurred.
+ *
+ * Generated from protobuf field <code>fixed64 time_unix_nano = 1;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTimeUnixNano($var)
+ {
+ GPBUtil::checkUint64($var);
+ $this->time_unix_nano = $var;
+
+ return $this;
+ }
+
+ /**
+ * name of the event.
+ * This field is semantically required to be set to non-empty string.
+ *
+ * Generated from protobuf field <code>string name = 2;</code>
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * name of the event.
+ * This field is semantically required to be set to non-empty string.
+ *
+ * Generated from protobuf field <code>string name = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * attributes is a collection of attribute key/value pairs on the event.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * attributes is a collection of attribute key/value pairs on the event.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAttributes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->attributes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * 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 = 4;</code>
+ * @return int
+ */
+ public function getDroppedAttributesCount()
+ {
+ return $this->dropped_attributes_count;
+ }
+
+ /**
+ * 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 = 4;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setDroppedAttributesCount($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->dropped_attributes_count = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Event::class, \Opentelemetry\Proto\Trace\V1\Span_Event::class);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Link.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Link.php
new file mode 100644
index 000000000..3096739de
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Link.php
@@ -0,0 +1,225 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1\Span;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * A pointer from the current span to another span in the same trace or in a
+ * different trace. For example, this can be used in batching operations,
+ * where a single batch handler processes multiple requests from different
+ * traces or when the handler receives a request from a different project.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.Span.Link</code>
+ */
+class Link extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A unique identifier of a trace that this linked span is part of. The ID is a
+ * 16-byte array.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 1;</code>
+ */
+ protected $trace_id = '';
+ /**
+ * A unique identifier for the linked span. The ID is an 8-byte array.
+ *
+ * Generated from protobuf field <code>bytes span_id = 2;</code>
+ */
+ protected $span_id = '';
+ /**
+ * The trace_state associated with the link.
+ *
+ * Generated from protobuf field <code>string trace_state = 3;</code>
+ */
+ protected $trace_state = '';
+ /**
+ * attributes is a collection of attribute key/value pairs on the link.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4;</code>
+ */
+ private $attributes;
+ /**
+ * 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 = 5;</code>
+ */
+ protected $dropped_attributes_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $trace_id
+ * A unique identifier of a trace that this linked span is part of. The ID is a
+ * 16-byte array.
+ * @type string $span_id
+ * A unique identifier for the linked span. The ID is an 8-byte array.
+ * @type string $trace_state
+ * The trace_state associated with the link.
+ * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes
+ * attributes is a collection of attribute key/value pairs on the link.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ * @type int $dropped_attributes_count
+ * dropped_attributes_count is the number of dropped attributes. If the value is 0,
+ * then no attributes were dropped.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A unique identifier of a trace that this linked span is part of. The ID is a
+ * 16-byte array.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 1;</code>
+ * @return string
+ */
+ public function getTraceId()
+ {
+ return $this->trace_id;
+ }
+
+ /**
+ * A unique identifier of a trace that this linked span is part of. The ID is a
+ * 16-byte array.
+ *
+ * Generated from protobuf field <code>bytes trace_id = 1;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setTraceId($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->trace_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * A unique identifier for the linked span. The ID is an 8-byte array.
+ *
+ * Generated from protobuf field <code>bytes span_id = 2;</code>
+ * @return string
+ */
+ public function getSpanId()
+ {
+ return $this->span_id;
+ }
+
+ /**
+ * A unique identifier for the linked span. The ID is an 8-byte array.
+ *
+ * Generated from protobuf field <code>bytes span_id = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setSpanId($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->span_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * The trace_state associated with the link.
+ *
+ * Generated from protobuf field <code>string trace_state = 3;</code>
+ * @return string
+ */
+ public function getTraceState()
+ {
+ return $this->trace_state;
+ }
+
+ /**
+ * The trace_state associated with the link.
+ *
+ * Generated from protobuf field <code>string trace_state = 3;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setTraceState($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->trace_state = $var;
+
+ return $this;
+ }
+
+ /**
+ * attributes is a collection of attribute key/value pairs on the link.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ /**
+ * attributes is a collection of attribute key/value pairs on the link.
+ * Attribute keys MUST be unique (it is not allowed to have more than one
+ * attribute with the same key).
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4;</code>
+ * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAttributes($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class);
+ $this->attributes = $arr;
+
+ return $this;
+ }
+
+ /**
+ * 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 = 5;</code>
+ * @return int
+ */
+ public function getDroppedAttributesCount()
+ {
+ return $this->dropped_attributes_count;
+ }
+
+ /**
+ * 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 = 5;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setDroppedAttributesCount($var)
+ {
+ GPBUtil::checkUint32($var);
+ $this->dropped_attributes_count = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Link::class, \Opentelemetry\Proto\Trace\V1\Span_Link::class);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/SpanKind.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/SpanKind.php
new file mode 100644
index 000000000..9ffa93719
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/SpanKind.php
@@ -0,0 +1,94 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1\Span;
+
+use UnexpectedValueException;
+
+/**
+ * SpanKind is the type of span. Can be used to specify additional relationships between spans
+ * in addition to a parent/child relationship.
+ *
+ * Protobuf type <code>opentelemetry.proto.trace.v1.Span.SpanKind</code>
+ */
+class SpanKind
+{
+ /**
+ * Unspecified. Do NOT use as default.
+ * Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED.
+ *
+ * Generated from protobuf enum <code>SPAN_KIND_UNSPECIFIED = 0;</code>
+ */
+ const SPAN_KIND_UNSPECIFIED = 0;
+ /**
+ * Indicates that the span represents an internal operation within an application,
+ * as opposed to an operation happening at the boundaries. Default value.
+ *
+ * Generated from protobuf enum <code>SPAN_KIND_INTERNAL = 1;</code>
+ */
+ const SPAN_KIND_INTERNAL = 1;
+ /**
+ * Indicates that the span covers server-side handling of an RPC or other
+ * remote network request.
+ *
+ * Generated from protobuf enum <code>SPAN_KIND_SERVER = 2;</code>
+ */
+ const SPAN_KIND_SERVER = 2;
+ /**
+ * Indicates that the span describes a request to some remote service.
+ *
+ * Generated from protobuf enum <code>SPAN_KIND_CLIENT = 3;</code>
+ */
+ const SPAN_KIND_CLIENT = 3;
+ /**
+ * Indicates that the span describes a producer sending a message to a broker.
+ * Unlike CLIENT and SERVER, there is often no direct critical path latency relationship
+ * between producer and consumer spans. A PRODUCER span ends when the message was accepted
+ * by the broker while the logical processing of the message might span a much longer time.
+ *
+ * Generated from protobuf enum <code>SPAN_KIND_PRODUCER = 4;</code>
+ */
+ const SPAN_KIND_PRODUCER = 4;
+ /**
+ * Indicates that the span describes consumer receiving a message from a broker.
+ * Like the PRODUCER kind, there is often no direct critical path latency relationship
+ * between producer and consumer spans.
+ *
+ * Generated from protobuf enum <code>SPAN_KIND_CONSUMER = 5;</code>
+ */
+ const SPAN_KIND_CONSUMER = 5;
+
+ private static $valueToName = [
+ self::SPAN_KIND_UNSPECIFIED => 'SPAN_KIND_UNSPECIFIED',
+ self::SPAN_KIND_INTERNAL => 'SPAN_KIND_INTERNAL',
+ self::SPAN_KIND_SERVER => 'SPAN_KIND_SERVER',
+ self::SPAN_KIND_CLIENT => 'SPAN_KIND_CLIENT',
+ self::SPAN_KIND_PRODUCER => 'SPAN_KIND_PRODUCER',
+ self::SPAN_KIND_CONSUMER => 'SPAN_KIND_CONSUMER',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(SpanKind::class, \Opentelemetry\Proto\Trace\V1\Span_SpanKind::class);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Event.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Event.php
new file mode 100644
index 000000000..168b7b129
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Event.php
@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+if (false) {
+ /**
+ * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\Span\Event instead.
+ * @deprecated
+ */
+ class Span_Event {}
+}
+class_exists(Span\Event::class);
+@trigger_error('Opentelemetry\Proto\Trace\V1\Span_Event is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\Span\Event instead', E_USER_DEPRECATED);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Link.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Link.php
new file mode 100644
index 000000000..311e4023f
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Link.php
@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+if (false) {
+ /**
+ * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\Span\Link instead.
+ * @deprecated
+ */
+ class Span_Link {}
+}
+class_exists(Span\Link::class);
+@trigger_error('Opentelemetry\Proto\Trace\V1\Span_Link is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\Span\Link instead', E_USER_DEPRECATED);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_SpanKind.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_SpanKind.php
new file mode 100644
index 000000000..d517c72fd
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_SpanKind.php
@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+if (false) {
+ /**
+ * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\Span\SpanKind instead.
+ * @deprecated
+ */
+ class Span_SpanKind {}
+}
+class_exists(Span\SpanKind::class);
+@trigger_error('Opentelemetry\Proto\Trace\V1\Span_SpanKind is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\Span\SpanKind instead', E_USER_DEPRECATED);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php
new file mode 100644
index 000000000..5fee7292e
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php
@@ -0,0 +1,102 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * The Status type defines a logical error model that is suitable for different
+ * programming environments, including REST APIs and RPC APIs.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.Status</code>
+ */
+class Status extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A developer-facing human readable error message.
+ *
+ * Generated from protobuf field <code>string message = 2;</code>
+ */
+ protected $message = '';
+ /**
+ * The status code.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Status.StatusCode code = 3;</code>
+ */
+ protected $code = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $message
+ * A developer-facing human readable error message.
+ * @type int $code
+ * The status code.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A developer-facing human readable error message.
+ *
+ * Generated from protobuf field <code>string message = 2;</code>
+ * @return string
+ */
+ public function getMessage()
+ {
+ return $this->message;
+ }
+
+ /**
+ * A developer-facing human readable error message.
+ *
+ * Generated from protobuf field <code>string message = 2;</code>
+ * @param string $var
+ * @return $this
+ */
+ public function setMessage($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->message = $var;
+
+ return $this;
+ }
+
+ /**
+ * The status code.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Status.StatusCode code = 3;</code>
+ * @return int
+ */
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ /**
+ * The status code.
+ *
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Status.StatusCode code = 3;</code>
+ * @param int $var
+ * @return $this
+ */
+ public function setCode($var)
+ {
+ GPBUtil::checkEnum($var, \Opentelemetry\Proto\Trace\V1\Status\StatusCode::class);
+ $this->code = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/DeprecatedStatusCode.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/DeprecatedStatusCode.php
new file mode 100644
index 000000000..9a078e2ef
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/DeprecatedStatusCode.php
@@ -0,0 +1,126 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1\Status;
+
+use UnexpectedValueException;
+
+/**
+ * Protobuf type <code>opentelemetry.proto.trace.v1.Status.DeprecatedStatusCode</code>
+ */
+class DeprecatedStatusCode
+{
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_OK = 0;</code>
+ */
+ const DEPRECATED_STATUS_CODE_OK = 0;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_CANCELLED = 1;</code>
+ */
+ const DEPRECATED_STATUS_CODE_CANCELLED = 1;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_UNKNOWN_ERROR = 2;</code>
+ */
+ const DEPRECATED_STATUS_CODE_UNKNOWN_ERROR = 2;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_INVALID_ARGUMENT = 3;</code>
+ */
+ const DEPRECATED_STATUS_CODE_INVALID_ARGUMENT = 3;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED = 4;</code>
+ */
+ const DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED = 4;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_NOT_FOUND = 5;</code>
+ */
+ const DEPRECATED_STATUS_CODE_NOT_FOUND = 5;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_ALREADY_EXISTS = 6;</code>
+ */
+ const DEPRECATED_STATUS_CODE_ALREADY_EXISTS = 6;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_PERMISSION_DENIED = 7;</code>
+ */
+ const DEPRECATED_STATUS_CODE_PERMISSION_DENIED = 7;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED = 8;</code>
+ */
+ const DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED = 8;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_FAILED_PRECONDITION = 9;</code>
+ */
+ const DEPRECATED_STATUS_CODE_FAILED_PRECONDITION = 9;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_ABORTED = 10;</code>
+ */
+ const DEPRECATED_STATUS_CODE_ABORTED = 10;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_OUT_OF_RANGE = 11;</code>
+ */
+ const DEPRECATED_STATUS_CODE_OUT_OF_RANGE = 11;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_UNIMPLEMENTED = 12;</code>
+ */
+ const DEPRECATED_STATUS_CODE_UNIMPLEMENTED = 12;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_INTERNAL_ERROR = 13;</code>
+ */
+ const DEPRECATED_STATUS_CODE_INTERNAL_ERROR = 13;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_UNAVAILABLE = 14;</code>
+ */
+ const DEPRECATED_STATUS_CODE_UNAVAILABLE = 14;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_DATA_LOSS = 15;</code>
+ */
+ const DEPRECATED_STATUS_CODE_DATA_LOSS = 15;
+ /**
+ * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_UNAUTHENTICATED = 16;</code>
+ */
+ const DEPRECATED_STATUS_CODE_UNAUTHENTICATED = 16;
+
+ private static $valueToName = [
+ self::DEPRECATED_STATUS_CODE_OK => 'DEPRECATED_STATUS_CODE_OK',
+ self::DEPRECATED_STATUS_CODE_CANCELLED => 'DEPRECATED_STATUS_CODE_CANCELLED',
+ self::DEPRECATED_STATUS_CODE_UNKNOWN_ERROR => 'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR',
+ self::DEPRECATED_STATUS_CODE_INVALID_ARGUMENT => 'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT',
+ self::DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED => 'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED',
+ self::DEPRECATED_STATUS_CODE_NOT_FOUND => 'DEPRECATED_STATUS_CODE_NOT_FOUND',
+ self::DEPRECATED_STATUS_CODE_ALREADY_EXISTS => 'DEPRECATED_STATUS_CODE_ALREADY_EXISTS',
+ self::DEPRECATED_STATUS_CODE_PERMISSION_DENIED => 'DEPRECATED_STATUS_CODE_PERMISSION_DENIED',
+ self::DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED => 'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED',
+ self::DEPRECATED_STATUS_CODE_FAILED_PRECONDITION => 'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION',
+ self::DEPRECATED_STATUS_CODE_ABORTED => 'DEPRECATED_STATUS_CODE_ABORTED',
+ self::DEPRECATED_STATUS_CODE_OUT_OF_RANGE => 'DEPRECATED_STATUS_CODE_OUT_OF_RANGE',
+ self::DEPRECATED_STATUS_CODE_UNIMPLEMENTED => 'DEPRECATED_STATUS_CODE_UNIMPLEMENTED',
+ self::DEPRECATED_STATUS_CODE_INTERNAL_ERROR => 'DEPRECATED_STATUS_CODE_INTERNAL_ERROR',
+ self::DEPRECATED_STATUS_CODE_UNAVAILABLE => 'DEPRECATED_STATUS_CODE_UNAVAILABLE',
+ self::DEPRECATED_STATUS_CODE_DATA_LOSS => 'DEPRECATED_STATUS_CODE_DATA_LOSS',
+ self::DEPRECATED_STATUS_CODE_UNAUTHENTICATED => 'DEPRECATED_STATUS_CODE_UNAUTHENTICATED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(DeprecatedStatusCode::class, \Opentelemetry\Proto\Trace\V1\Status_DeprecatedStatusCode::class);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/StatusCode.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/StatusCode.php
new file mode 100644
index 000000000..954cf1fd2
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/StatusCode.php
@@ -0,0 +1,66 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1\Status;
+
+use UnexpectedValueException;
+
+/**
+ * For the semantics of status codes see
+ * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status
+ *
+ * Protobuf type <code>opentelemetry.proto.trace.v1.Status.StatusCode</code>
+ */
+class StatusCode
+{
+ /**
+ * The default status.
+ *
+ * Generated from protobuf enum <code>STATUS_CODE_UNSET = 0;</code>
+ */
+ const STATUS_CODE_UNSET = 0;
+ /**
+ * The Span has been validated by an Application developer or Operator to
+ * have completed successfully.
+ *
+ * Generated from protobuf enum <code>STATUS_CODE_OK = 1;</code>
+ */
+ const STATUS_CODE_OK = 1;
+ /**
+ * The Span contains an error.
+ *
+ * Generated from protobuf enum <code>STATUS_CODE_ERROR = 2;</code>
+ */
+ const STATUS_CODE_ERROR = 2;
+
+ private static $valueToName = [
+ self::STATUS_CODE_UNSET => 'STATUS_CODE_UNSET',
+ self::STATUS_CODE_OK => 'STATUS_CODE_OK',
+ self::STATUS_CODE_ERROR => 'STATUS_CODE_ERROR',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(StatusCode::class, \Opentelemetry\Proto\Trace\V1\Status_StatusCode::class);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_DeprecatedStatusCode.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_DeprecatedStatusCode.php
new file mode 100644
index 000000000..2235d5b7d
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_DeprecatedStatusCode.php
@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+if (false) {
+ /**
+ * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\Status\DeprecatedStatusCode instead.
+ * @deprecated
+ */
+ class Status_DeprecatedStatusCode {}
+}
+class_exists(Status\DeprecatedStatusCode::class);
+@trigger_error('Opentelemetry\Proto\Trace\V1\Status_DeprecatedStatusCode is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\Status\DeprecatedStatusCode instead', E_USER_DEPRECATED);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_StatusCode.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_StatusCode.php
new file mode 100644
index 000000000..9de5cbbd9
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_StatusCode.php
@@ -0,0 +1,16 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+if (false) {
+ /**
+ * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\Status\StatusCode instead.
+ * @deprecated
+ */
+ class Status_StatusCode {}
+}
+class_exists(Status\StatusCode::class);
+@trigger_error('Opentelemetry\Proto\Trace\V1\Status_StatusCode is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\Status\StatusCode instead', E_USER_DEPRECATED);
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceConfig.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceConfig.php
new file mode 100644
index 000000000..9fb54df9b
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceConfig.php
@@ -0,0 +1,297 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace_config.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Global configuration of the trace service. All fields must be specified, or
+ * the default (zero) values will be used for each type.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.TraceConfig</code>
+ */
+class TraceConfig extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The global default max number of attributes per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_attributes = 4;</code>
+ */
+ protected $max_number_of_attributes = 0;
+ /**
+ * The global default max number of annotation events per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_timed_events = 5;</code>
+ */
+ protected $max_number_of_timed_events = 0;
+ /**
+ * The global default max number of attributes per timed event.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_attributes_per_timed_event = 6;</code>
+ */
+ protected $max_number_of_attributes_per_timed_event = 0;
+ /**
+ * The global default max number of link entries per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_links = 7;</code>
+ */
+ protected $max_number_of_links = 0;
+ /**
+ * The global default max number of attributes per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_attributes_per_link = 8;</code>
+ */
+ protected $max_number_of_attributes_per_link = 0;
+ protected $sampler;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Trace\V1\ConstantSampler $constant_sampler
+ * @type \Opentelemetry\Proto\Trace\V1\TraceIdRatioBased $trace_id_ratio_based
+ * @type \Opentelemetry\Proto\Trace\V1\RateLimitingSampler $rate_limiting_sampler
+ * @type int|string $max_number_of_attributes
+ * The global default max number of attributes per span.
+ * @type int|string $max_number_of_timed_events
+ * The global default max number of annotation events per span.
+ * @type int|string $max_number_of_attributes_per_timed_event
+ * The global default max number of attributes per timed event.
+ * @type int|string $max_number_of_links
+ * The global default max number of link entries per span.
+ * @type int|string $max_number_of_attributes_per_link
+ * The global default max number of attributes per span.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\TraceConfig::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.ConstantSampler constant_sampler = 1;</code>
+ * @return \Opentelemetry\Proto\Trace\V1\ConstantSampler|null
+ */
+ public function getConstantSampler()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasConstantSampler()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.ConstantSampler constant_sampler = 1;</code>
+ * @param \Opentelemetry\Proto\Trace\V1\ConstantSampler $var
+ * @return $this
+ */
+ public function setConstantSampler($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Trace\V1\ConstantSampler::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.TraceIdRatioBased trace_id_ratio_based = 2;</code>
+ * @return \Opentelemetry\Proto\Trace\V1\TraceIdRatioBased|null
+ */
+ public function getTraceIdRatioBased()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasTraceIdRatioBased()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.TraceIdRatioBased trace_id_ratio_based = 2;</code>
+ * @param \Opentelemetry\Proto\Trace\V1\TraceIdRatioBased $var
+ * @return $this
+ */
+ public function setTraceIdRatioBased($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Trace\V1\TraceIdRatioBased::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3;</code>
+ * @return \Opentelemetry\Proto\Trace\V1\RateLimitingSampler|null
+ */
+ public function getRateLimitingSampler()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasRateLimitingSampler()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3;</code>
+ * @param \Opentelemetry\Proto\Trace\V1\RateLimitingSampler $var
+ * @return $this
+ */
+ public function setRateLimitingSampler($var)
+ {
+ GPBUtil::checkMessage($var, \Opentelemetry\Proto\Trace\V1\RateLimitingSampler::class);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * The global default max number of attributes per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_attributes = 4;</code>
+ * @return int|string
+ */
+ public function getMaxNumberOfAttributes()
+ {
+ return $this->max_number_of_attributes;
+ }
+
+ /**
+ * The global default max number of attributes per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_attributes = 4;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setMaxNumberOfAttributes($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->max_number_of_attributes = $var;
+
+ return $this;
+ }
+
+ /**
+ * The global default max number of annotation events per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_timed_events = 5;</code>
+ * @return int|string
+ */
+ public function getMaxNumberOfTimedEvents()
+ {
+ return $this->max_number_of_timed_events;
+ }
+
+ /**
+ * The global default max number of annotation events per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_timed_events = 5;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setMaxNumberOfTimedEvents($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->max_number_of_timed_events = $var;
+
+ return $this;
+ }
+
+ /**
+ * The global default max number of attributes per timed event.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_attributes_per_timed_event = 6;</code>
+ * @return int|string
+ */
+ public function getMaxNumberOfAttributesPerTimedEvent()
+ {
+ return $this->max_number_of_attributes_per_timed_event;
+ }
+
+ /**
+ * The global default max number of attributes per timed event.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_attributes_per_timed_event = 6;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setMaxNumberOfAttributesPerTimedEvent($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->max_number_of_attributes_per_timed_event = $var;
+
+ return $this;
+ }
+
+ /**
+ * The global default max number of link entries per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_links = 7;</code>
+ * @return int|string
+ */
+ public function getMaxNumberOfLinks()
+ {
+ return $this->max_number_of_links;
+ }
+
+ /**
+ * The global default max number of link entries per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_links = 7;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setMaxNumberOfLinks($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->max_number_of_links = $var;
+
+ return $this;
+ }
+
+ /**
+ * The global default max number of attributes per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_attributes_per_link = 8;</code>
+ * @return int|string
+ */
+ public function getMaxNumberOfAttributesPerLink()
+ {
+ return $this->max_number_of_attributes_per_link;
+ }
+
+ /**
+ * The global default max number of attributes per span.
+ *
+ * Generated from protobuf field <code>int64 max_number_of_attributes_per_link = 8;</code>
+ * @param int|string $var
+ * @return $this
+ */
+ public function setMaxNumberOfAttributesPerLink($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->max_number_of_attributes_per_link = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSampler()
+ {
+ return $this->whichOneof("sampler");
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceIdRatioBased.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceIdRatioBased.php
new file mode 100644
index 000000000..a04435c36
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceIdRatioBased.php
@@ -0,0 +1,68 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace_config.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * Sampler that tries to uniformly sample traces with a given ratio.
+ * The ratio of sampling a trace is equal to that of the specified ratio.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.TraceIdRatioBased</code>
+ */
+class TraceIdRatioBased extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The desired ratio of sampling. Must be within [0.0, 1.0].
+ *
+ * Generated from protobuf field <code>double samplingRatio = 1;</code>
+ */
+ protected $samplingRatio = 0.0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $samplingRatio
+ * The desired ratio of sampling. Must be within [0.0, 1.0].
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\TraceConfig::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The desired ratio of sampling. Must be within [0.0, 1.0].
+ *
+ * Generated from protobuf field <code>double samplingRatio = 1;</code>
+ * @return float
+ */
+ public function getSamplingRatio()
+ {
+ return $this->samplingRatio;
+ }
+
+ /**
+ * The desired ratio of sampling. Must be within [0.0, 1.0].
+ *
+ * Generated from protobuf field <code>double samplingRatio = 1;</code>
+ * @param float $var
+ * @return $this
+ */
+ public function setSamplingRatio($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->samplingRatio = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TracesData.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TracesData.php
new file mode 100644
index 000000000..cbaf79448
--- /dev/null
+++ b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TracesData.php
@@ -0,0 +1,90 @@
+<?php
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: opentelemetry/proto/trace/v1/trace.proto
+
+namespace Opentelemetry\Proto\Trace\V1;
+
+use Google\Protobuf\Internal\GPBType;
+use Google\Protobuf\Internal\RepeatedField;
+use Google\Protobuf\Internal\GPBUtil;
+
+/**
+ * TracesData represents the traces data that can be stored in a persistent storage,
+ * OR can be embedded by other protocols that transfer OTLP traces data but do
+ * not implement the OTLP protocol.
+ * The main difference between this message and collector protocol is that
+ * in this message there will not be any "control" or "metadata" specific to
+ * OTLP protocol.
+ * When new fields are added into this message, the OTLP request MUST be updated
+ * as well.
+ *
+ * Generated from protobuf message <code>opentelemetry.proto.trace.v1.TracesData</code>
+ */
+class TracesData extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * An array of ResourceSpans.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
+ */
+ private $resource_spans;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Opentelemetry\Proto\Trace\V1\ResourceSpans[]|\Google\Protobuf\Internal\RepeatedField $resource_spans
+ * An array of ResourceSpans.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An array of ResourceSpans.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourceSpans()
+ {
+ return $this->resource_spans;
+ }
+
+ /**
+ * An array of ResourceSpans.
+ * For data coming from a single resource this array will typically contain
+ * one element. Intermediary nodes that receive data from multiple origins
+ * typically batch the data before forwarding further and in that case this
+ * array will contain multiple elements.
+ *
+ * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
+ * @param \Opentelemetry\Proto\Trace\V1\ResourceSpans[]|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResourceSpans($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\ResourceSpans::class);
+ $this->resource_spans = $arr;
+
+ return $this;
+ }
+
+}
+