Debian Codegraph @

slim/otlp/metrics/v1/metrics.pb.go

raw symbols SCIP
1 // Copyright 2019, OpenTelemetry Authors
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.21.6
19 // source: opentelemetry/proto/metrics/v1/metrics.proto
20
21 package v1
22
23 import (
24 v11 "go.opentelemetry.io/proto/slim/otlp/common/v1"
25 v1 "go.opentelemetry.io/proto/slim/otlp/resource/v1"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // AggregationTemporality defines how a metric aggregator reports aggregated
40 // values. It describes how those values relate to the time interval over
41 // which they are aggregated.
42 type AggregationTemporality int32
43
44 const (
45 // UNSPECIFIED is the default AggregationTemporality, it MUST not be used.
46 AggregationTemporality_AGGREGATION_TEMPORALITY_UNSPECIFIED AggregationTemporality = 0
47 // DELTA is an AggregationTemporality for a metric aggregator which reports
48 // changes since last report time. Successive metrics contain aggregation of
49 // values from continuous and non-overlapping intervals.
50 //
51 // The values for a DELTA metric are based only on the time interval
52 // associated with one measurement cycle. There is no dependency on
53 // previous measurements like is the case for CUMULATIVE metrics.
54 //
55 // For example, consider a system measuring the number of requests that
56 // it receives and reports the sum of these requests every second as a
57 // DELTA metric:
58 //
59 // 1. The system starts receiving at time=t_0.
60 // 2. A request is received, the system measures 1 request.
61 // 3. A request is received, the system measures 1 request.
62 // 4. A request is received, the system measures 1 request.
63 // 5. The 1 second collection cycle ends. A metric is exported for the
64 // number of requests received over the interval of time t_0 to
65 // t_0+1 with a value of 3.
66 // 6. A request is received, the system measures 1 request.
67 // 7. A request is received, the system measures 1 request.
68 // 8. The 1 second collection cycle ends. A metric is exported for the
69 // number of requests received over the interval of time t_0+1 to
70 // t_0+2 with a value of 2.
71 AggregationTemporality_AGGREGATION_TEMPORALITY_DELTA AggregationTemporality = 1
72 // CUMULATIVE is an AggregationTemporality for a metric aggregator which
73 // reports changes since a fixed start time. This means that current values
74 // of a CUMULATIVE metric depend on all previous measurements since the
75 // start time. Because of this, the sender is required to retain this state
76 // in some form. If this state is lost or invalidated, the CUMULATIVE metric
77 // values MUST be reset and a new fixed start time following the last
78 // reported measurement time sent MUST be used.
79 //
80 // For example, consider a system measuring the number of requests that
81 // it receives and reports the sum of these requests every second as a
82 // CUMULATIVE metric:
83 //
84 // 1. The system starts receiving at time=t_0.
85 // 2. A request is received, the system measures 1 request.
86 // 3. A request is received, the system measures 1 request.
87 // 4. A request is received, the system measures 1 request.
88 // 5. The 1 second collection cycle ends. A metric is exported for the
89 // number of requests received over the interval of time t_0 to
90 // t_0+1 with a value of 3.
91 // 6. A request is received, the system measures 1 request.
92 // 7. A request is received, the system measures 1 request.
93 // 8. The 1 second collection cycle ends. A metric is exported for the
94 // number of requests received over the interval of time t_0 to
95 // t_0+2 with a value of 5.
96 // 9. The system experiences a fault and loses state.
97 // 10. The system recovers and resumes receiving at time=t_1.
98 // 11. A request is received, the system measures 1 request.
99 // 12. The 1 second collection cycle ends. A metric is exported for the
100 // number of requests received over the interval of time t_1 to
101 // t_0+1 with a value of 1.
102 //
103 // Note: Even though, when reporting changes since last report time, using
104 // CUMULATIVE is valid, it is not recommended. This may cause problems for
105 // systems that do not use start_time to determine when the aggregation
106 // value was reset (e.g. Prometheus).
107 AggregationTemporality_AGGREGATION_TEMPORALITY_CUMULATIVE AggregationTemporality = 2
108 )
109
110 // Enum value maps for AggregationTemporality.
111 var (
112 AggregationTemporality_name = map[int32]string{
113 0: "AGGREGATION_TEMPORALITY_UNSPECIFIED",
114 1: "AGGREGATION_TEMPORALITY_DELTA",
115 2: "AGGREGATION_TEMPORALITY_CUMULATIVE",
116 }
117 AggregationTemporality_value = map[string]int32{
118 "AGGREGATION_TEMPORALITY_UNSPECIFIED": 0,
119 "AGGREGATION_TEMPORALITY_DELTA": 1,
120 "AGGREGATION_TEMPORALITY_CUMULATIVE": 2,
121 }
122 )
123
124 func (x AggregationTemporality) Enum() *AggregationTemporality {
125 p := new(AggregationTemporality)
126 *p = x
127 return p
128 }
129
130 func (x AggregationTemporality) String() string {
131 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
132 }
133
134 func (AggregationTemporality) Descriptor() protoreflect.EnumDescriptor {
135 return file_opentelemetry_proto_metrics_v1_metrics_proto_enumTypes[0].Descriptor()
136 }
137
138 func (AggregationTemporality) Type() protoreflect.EnumType {
139 return &file_opentelemetry_proto_metrics_v1_metrics_proto_enumTypes[0]
140 }
141
142 func (x AggregationTemporality) Number() protoreflect.EnumNumber {
143 return protoreflect.EnumNumber(x)
144 }
145
146 // Deprecated: Use AggregationTemporality.Descriptor instead.
147 func (AggregationTemporality) EnumDescriptor() ([]byte, []int) {
148 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{0}
149 }
150
151 // DataPointFlags is defined as a protobuf 'uint32' type and is to be used as a
152 // bit-field representing 32 distinct boolean flags. Each flag defined in this
153 // enum is a bit-mask. To test the presence of a single flag in the flags of
154 // a data point, for example, use an expression like:
155 //
156 // (point.flags & DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK) == DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK
157 //
158 type DataPointFlags int32
159
160 const (
161 // The zero value for the enum. Should not be used for comparisons.
162 // Instead use bitwise "and" with the appropriate mask as shown above.
163 DataPointFlags_DATA_POINT_FLAGS_DO_NOT_USE DataPointFlags = 0
164 // This DataPoint is valid but has no recorded value. This value
165 // SHOULD be used to reflect explicitly missing data in a series, as
166 // for an equivalent to the Prometheus "staleness marker".
167 DataPointFlags_DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK DataPointFlags = 1
168 )
169
170 // Enum value maps for DataPointFlags.
171 var (
172 DataPointFlags_name = map[int32]string{
173 0: "DATA_POINT_FLAGS_DO_NOT_USE",
174 1: "DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK",
175 }
176 DataPointFlags_value = map[string]int32{
177 "DATA_POINT_FLAGS_DO_NOT_USE": 0,
178 "DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK": 1,
179 }
180 )
181
182 func (x DataPointFlags) Enum() *DataPointFlags {
183 p := new(DataPointFlags)
184 *p = x
185 return p
186 }
187
188 func (x DataPointFlags) String() string {
189 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
190 }
191
192 func (DataPointFlags) Descriptor() protoreflect.EnumDescriptor {
193 return file_opentelemetry_proto_metrics_v1_metrics_proto_enumTypes[1].Descriptor()
194 }
195
196 func (DataPointFlags) Type() protoreflect.EnumType {
197 return &file_opentelemetry_proto_metrics_v1_metrics_proto_enumTypes[1]
198 }
199
200 func (x DataPointFlags) Number() protoreflect.EnumNumber {
201 return protoreflect.EnumNumber(x)
202 }
203
204 // Deprecated: Use DataPointFlags.Descriptor instead.
205 func (DataPointFlags) EnumDescriptor() ([]byte, []int) {
206 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{1}
207 }
208
209 // MetricsData represents the metrics data that can be stored in a persistent
210 // storage, OR can be embedded by other protocols that transfer OTLP metrics
211 // data but do not implement the OTLP protocol.
212 //
213 // MetricsData
214 // └─── ResourceMetrics
215 // ├── Resource
216 // ├── SchemaURL
217 // └── ScopeMetrics
218 // ├── Scope
219 // ├── SchemaURL
220 // └── Metric
221 // ├── Name
222 // ├── Description
223 // ├── Unit
224 // └── data
225 // ├── Gauge
226 // ├── Sum
227 // ├── Histogram
228 // ├── ExponentialHistogram
229 // └── Summary
230 //
231 // The main difference between this message and collector protocol is that
232 // in this message there will not be any "control" or "metadata" specific to
233 // OTLP protocol.
234 //
235 // When new fields are added into this message, the OTLP request MUST be updated
236 // as well.
237 type MetricsData struct {
238 state protoimpl.MessageState
239 sizeCache protoimpl.SizeCache
240 unknownFields protoimpl.UnknownFields
241
242 // An array of ResourceMetrics.
243 // For data coming from a single resource this array will typically contain
244 // one element. Intermediary nodes that receive data from multiple origins
245 // typically batch the data before forwarding further and in that case this
246 // array will contain multiple elements.
247 ResourceMetrics []*ResourceMetrics `protobuf:"bytes,1,rep,name=resource_metrics,json=resourceMetrics,proto3" json:"resource_metrics,omitempty"`
248 }
249
250 func (x *MetricsData) Reset() {
251 *x = MetricsData{}
252 if protoimpl.UnsafeEnabled {
253 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[0]
254 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
255 ms.StoreMessageInfo(mi)
256 }
257 }
258
259 func (x *MetricsData) String() string {
260 return protoimpl.X.MessageStringOf(x)
261 }
262
263 func (*MetricsData) ProtoMessage() {}
264
265 func (x *MetricsData) ProtoReflect() protoreflect.Message {
266 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[0]
267 if protoimpl.UnsafeEnabled && x != nil {
268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
269 if ms.LoadMessageInfo() == nil {
270 ms.StoreMessageInfo(mi)
271 }
272 return ms
273 }
274 return mi.MessageOf(x)
275 }
276
277 // Deprecated: Use MetricsData.ProtoReflect.Descriptor instead.
278 func (*MetricsData) Descriptor() ([]byte, []int) {
279 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{0}
280 }
281
282 func (x *MetricsData) GetResourceMetrics() []*ResourceMetrics {
283 if x != nil {
284 return x.ResourceMetrics
285 }
286 return nil
287 }
288
289 // A collection of ScopeMetrics from a Resource.
290 type ResourceMetrics struct {
291 state protoimpl.MessageState
292 sizeCache protoimpl.SizeCache
293 unknownFields protoimpl.UnknownFields
294
295 // The resource for the metrics in this message.
296 // If this field is not set then no resource info is known.
297 Resource *v1.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
298 // A list of metrics that originate from a resource.
299 ScopeMetrics []*ScopeMetrics `protobuf:"bytes,2,rep,name=scope_metrics,json=scopeMetrics,proto3" json:"scope_metrics,omitempty"`
300 // The Schema URL, if known. This is the identifier of the Schema that the resource data
301 // is recorded in. Notably, the last part of the URL path is the version number of the
302 // schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see
303 // https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
304 // This schema_url applies to the data in the "resource" field. It does not apply
305 // to the data in the "scope_metrics" field which have their own schema_url field.
306 SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
307 }
308
309 func (x *ResourceMetrics) Reset() {
310 *x = ResourceMetrics{}
311 if protoimpl.UnsafeEnabled {
312 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[1]
313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
314 ms.StoreMessageInfo(mi)
315 }
316 }
317
318 func (x *ResourceMetrics) String() string {
319 return protoimpl.X.MessageStringOf(x)
320 }
321
322 func (*ResourceMetrics) ProtoMessage() {}
323
324 func (x *ResourceMetrics) ProtoReflect() protoreflect.Message {
325 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[1]
326 if protoimpl.UnsafeEnabled && x != nil {
327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
328 if ms.LoadMessageInfo() == nil {
329 ms.StoreMessageInfo(mi)
330 }
331 return ms
332 }
333 return mi.MessageOf(x)
334 }
335
336 // Deprecated: Use ResourceMetrics.ProtoReflect.Descriptor instead.
337 func (*ResourceMetrics) Descriptor() ([]byte, []int) {
338 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{1}
339 }
340
341 func (x *ResourceMetrics) GetResource() *v1.Resource {
342 if x != nil {
343 return x.Resource
344 }
345 return nil
346 }
347
348 func (x *ResourceMetrics) GetScopeMetrics() []*ScopeMetrics {
349 if x != nil {
350 return x.ScopeMetrics
351 }
352 return nil
353 }
354
355 func (x *ResourceMetrics) GetSchemaUrl() string {
356 if x != nil {
357 return x.SchemaUrl
358 }
359 return ""
360 }
361
362 // A collection of Metrics produced by an Scope.
363 type ScopeMetrics struct {
364 state protoimpl.MessageState
365 sizeCache protoimpl.SizeCache
366 unknownFields protoimpl.UnknownFields
367
368 // The instrumentation scope information for the metrics in this message.
369 // Semantically when InstrumentationScope isn't set, it is equivalent with
370 // an empty instrumentation scope name (unknown).
371 Scope *v11.InstrumentationScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
372 // A list of metrics that originate from an instrumentation library.
373 Metrics []*Metric `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
374 // The Schema URL, if known. This is the identifier of the Schema that the metric data
375 // is recorded in. Notably, the last part of the URL path is the version number of the
376 // schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see
377 // https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
378 // This schema_url applies to the data in the "scope" field and all metrics in the
379 // "metrics" field.
380 SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
381 }
382
383 func (x *ScopeMetrics) Reset() {
384 *x = ScopeMetrics{}
385 if protoimpl.UnsafeEnabled {
386 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[2]
387 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
388 ms.StoreMessageInfo(mi)
389 }
390 }
391
392 func (x *ScopeMetrics) String() string {
393 return protoimpl.X.MessageStringOf(x)
394 }
395
396 func (*ScopeMetrics) ProtoMessage() {}
397
398 func (x *ScopeMetrics) ProtoReflect() protoreflect.Message {
399 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[2]
400 if protoimpl.UnsafeEnabled && x != nil {
401 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
402 if ms.LoadMessageInfo() == nil {
403 ms.StoreMessageInfo(mi)
404 }
405 return ms
406 }
407 return mi.MessageOf(x)
408 }
409
410 // Deprecated: Use ScopeMetrics.ProtoReflect.Descriptor instead.
411 func (*ScopeMetrics) Descriptor() ([]byte, []int) {
412 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{2}
413 }
414
415 func (x *ScopeMetrics) GetScope() *v11.InstrumentationScope {
416 if x != nil {
417 return x.Scope
418 }
419 return nil
420 }
421
422 func (x *ScopeMetrics) GetMetrics() []*Metric {
423 if x != nil {
424 return x.Metrics
425 }
426 return nil
427 }
428
429 func (x *ScopeMetrics) GetSchemaUrl() string {
430 if x != nil {
431 return x.SchemaUrl
432 }
433 return ""
434 }
435
436 // Defines a Metric which has one or more timeseries. The following is a
437 // brief summary of the Metric data model. For more details, see:
438 //
439 // https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/data-model.md
440 //
441 // The data model and relation between entities is shown in the
442 // diagram below. Here, "DataPoint" is the term used to refer to any
443 // one of the specific data point value types, and "points" is the term used
444 // to refer to any one of the lists of points contained in the Metric.
445 //
446 // - Metric is composed of a metadata and data.
447 // - Metadata part contains a name, description, unit.
448 // - Data is one of the possible types (Sum, Gauge, Histogram, Summary).
449 // - DataPoint contains timestamps, attributes, and one of the possible value type
450 // fields.
451 //
452 // Metric
453 // +------------+
454 // |name |
455 // |description |
456 // |unit | +------------------------------------+
457 // |data |---> |Gauge, Sum, Histogram, Summary, ... |
458 // +------------+ +------------------------------------+
459 //
460 // Data [One of Gauge, Sum, Histogram, Summary, ...]
461 // +-----------+
462 // |... | // Metadata about the Data.
463 // |points |--+
464 // +-----------+ |
465 // | +---------------------------+
466 // | |DataPoint 1 |
467 // v |+------+------+ +------+ |
468 // +-----+ ||label |label |...|label | |
469 // | 1 |-->||value1|value2|...|valueN| |
470 // +-----+ |+------+------+ +------+ |
471 // | . | |+-----+ |
472 // | . | ||value| |
473 // | . | |+-----+ |
474 // | . | +---------------------------+
475 // | . | .
476 // | . | .
477 // | . | .
478 // | . | +---------------------------+
479 // | . | |DataPoint M |
480 // +-----+ |+------+------+ +------+ |
481 // | M |-->||label |label |...|label | |
482 // +-----+ ||value1|value2|...|valueN| |
483 // |+------+------+ +------+ |
484 // |+-----+ |
485 // ||value| |
486 // |+-----+ |
487 // +---------------------------+
488 //
489 // Each distinct type of DataPoint represents the output of a specific
490 // aggregation function, the result of applying the DataPoint's
491 // associated function of to one or more measurements.
492 //
493 // All DataPoint types have three common fields:
494 // - Attributes includes key-value pairs associated with the data point
495 // - TimeUnixNano is required, set to the end time of the aggregation
496 // - StartTimeUnixNano is optional, but strongly encouraged for DataPoints
497 // having an AggregationTemporality field, as discussed below.
498 //
499 // Both TimeUnixNano and StartTimeUnixNano values are expressed as
500 // UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
501 //
502 // # TimeUnixNano
503 //
504 // This field is required, having consistent interpretation across
505 // DataPoint types. TimeUnixNano is the moment corresponding to when
506 // the data point's aggregate value was captured.
507 //
508 // Data points with the 0 value for TimeUnixNano SHOULD be rejected
509 // by consumers.
510 //
511 // # StartTimeUnixNano
512 //
513 // StartTimeUnixNano in general allows detecting when a sequence of
514 // observations is unbroken. This field indicates to consumers the
515 // start time for points with cumulative and delta
516 // AggregationTemporality, and it should be included whenever possible
517 // to support correct rate calculation. Although it may be omitted
518 // when the start time is truly unknown, setting StartTimeUnixNano is
519 // strongly encouraged.
520 type Metric struct {
521 state protoimpl.MessageState
522 sizeCache protoimpl.SizeCache
523 unknownFields protoimpl.UnknownFields
524
525 // The name of the metric.
526 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
527 // A description of the metric, which can be used in documentation.
528 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
529 // The unit in which the metric value is reported. Follows the format
530 // described by https://unitsofmeasure.org/ucum.html.
531 Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
532 // Data determines the aggregation type (if any) of the metric, what is the
533 // reported value type for the data points, as well as the relatationship to
534 // the time interval over which they are reported.
535 //
536 // Types that are assignable to Data:
537 // *Metric_Gauge
538 // *Metric_Sum
539 // *Metric_Histogram
540 // *Metric_ExponentialHistogram
541 // *Metric_Summary
542 Data isMetric_Data `protobuf_oneof:"data"`
543 // Additional metadata attributes that describe the metric. [Optional].
544 // Attributes are non-identifying.
545 // Consumers SHOULD NOT need to be aware of these attributes.
546 // These attributes MAY be used to encode information allowing
547 // for lossless roundtrip translation to / from another data model.
548 // Attribute keys MUST be unique (it is not allowed to have more than one
549 // attribute with the same key).
550 // The behavior of software that receives duplicated keys can be unpredictable.
551 Metadata []*v11.KeyValue `protobuf:"bytes,12,rep,name=metadata,proto3" json:"metadata,omitempty"`
552 }
553
554 func (x *Metric) Reset() {
555 *x = Metric{}
556 if protoimpl.UnsafeEnabled {
557 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[3]
558 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
559 ms.StoreMessageInfo(mi)
560 }
561 }
562
563 func (x *Metric) String() string {
564 return protoimpl.X.MessageStringOf(x)
565 }
566
567 func (*Metric) ProtoMessage() {}
568
569 func (x *Metric) ProtoReflect() protoreflect.Message {
570 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[3]
571 if protoimpl.UnsafeEnabled && x != nil {
572 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
573 if ms.LoadMessageInfo() == nil {
574 ms.StoreMessageInfo(mi)
575 }
576 return ms
577 }
578 return mi.MessageOf(x)
579 }
580
581 // Deprecated: Use Metric.ProtoReflect.Descriptor instead.
582 func (*Metric) Descriptor() ([]byte, []int) {
583 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{3}
584 }
585
586 func (x *Metric) GetName() string {
587 if x != nil {
588 return x.Name
589 }
590 return ""
591 }
592
593 func (x *Metric) GetDescription() string {
594 if x != nil {
595 return x.Description
596 }
597 return ""
598 }
599
600 func (x *Metric) GetUnit() string {
601 if x != nil {
602 return x.Unit
603 }
604 return ""
605 }
606
607 func (m *Metric) GetData() isMetric_Data {
608 if m != nil {
609 return m.Data
610 }
611 return nil
612 }
613
614 func (x *Metric) GetGauge() *Gauge {
615 if x, ok := x.GetData().(*Metric_Gauge); ok {
616 return x.Gauge
617 }
618 return nil
619 }
620
621 func (x *Metric) GetSum() *Sum {
622 if x, ok := x.GetData().(*Metric_Sum); ok {
623 return x.Sum
624 }
625 return nil
626 }
627
628 func (x *Metric) GetHistogram() *Histogram {
629 if x, ok := x.GetData().(*Metric_Histogram); ok {
630 return x.Histogram
631 }
632 return nil
633 }
634
635 func (x *Metric) GetExponentialHistogram() *ExponentialHistogram {
636 if x, ok := x.GetData().(*Metric_ExponentialHistogram); ok {
637 return x.ExponentialHistogram
638 }
639 return nil
640 }
641
642 func (x *Metric) GetSummary() *Summary {
643 if x, ok := x.GetData().(*Metric_Summary); ok {
644 return x.Summary
645 }
646 return nil
647 }
648
649 func (x *Metric) GetMetadata() []*v11.KeyValue {
650 if x != nil {
651 return x.Metadata
652 }
653 return nil
654 }
655
656 type isMetric_Data interface {
657 isMetric_Data()
658 }
659
660 type Metric_Gauge struct {
661 Gauge *Gauge `protobuf:"bytes,5,opt,name=gauge,proto3,oneof"`
662 }
663
664 type Metric_Sum struct {
665 Sum *Sum `protobuf:"bytes,7,opt,name=sum,proto3,oneof"`
666 }
667
668 type Metric_Histogram struct {
669 Histogram *Histogram `protobuf:"bytes,9,opt,name=histogram,proto3,oneof"`
670 }
671
672 type Metric_ExponentialHistogram struct {
673 ExponentialHistogram *ExponentialHistogram `protobuf:"bytes,10,opt,name=exponential_histogram,json=exponentialHistogram,proto3,oneof"`
674 }
675
676 type Metric_Summary struct {
677 Summary *Summary `protobuf:"bytes,11,opt,name=summary,proto3,oneof"`
678 }
679
680 func (*Metric_Gauge) isMetric_Data() {}
681
682 func (*Metric_Sum) isMetric_Data() {}
683
684 func (*Metric_Histogram) isMetric_Data() {}
685
686 func (*Metric_ExponentialHistogram) isMetric_Data() {}
687
688 func (*Metric_Summary) isMetric_Data() {}
689
690 // Gauge represents the type of a scalar metric that always exports the
691 // "current value" for every data point. It should be used for an "unknown"
692 // aggregation.
693 //
694 // A Gauge does not support different aggregation temporalities. Given the
695 // aggregation is unknown, points cannot be combined using the same
696 // aggregation, regardless of aggregation temporalities. Therefore,
697 // AggregationTemporality is not included. Consequently, this also means
698 // "StartTimeUnixNano" is ignored for all data points.
699 type Gauge struct {
700 state protoimpl.MessageState
701 sizeCache protoimpl.SizeCache
702 unknownFields protoimpl.UnknownFields
703
704 // The time series data points.
705 // Note: Multiple time series may be included (same timestamp, different attributes).
706 DataPoints []*NumberDataPoint `protobuf:"bytes,1,rep,name=data_points,json=dataPoints,proto3" json:"data_points,omitempty"`
707 }
708
709 func (x *Gauge) Reset() {
710 *x = Gauge{}
711 if protoimpl.UnsafeEnabled {
712 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[4]
713 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
714 ms.StoreMessageInfo(mi)
715 }
716 }
717
718 func (x *Gauge) String() string {
719 return protoimpl.X.MessageStringOf(x)
720 }
721
722 func (*Gauge) ProtoMessage() {}
723
724 func (x *Gauge) ProtoReflect() protoreflect.Message {
725 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[4]
726 if protoimpl.UnsafeEnabled && x != nil {
727 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
728 if ms.LoadMessageInfo() == nil {
729 ms.StoreMessageInfo(mi)
730 }
731 return ms
732 }
733 return mi.MessageOf(x)
734 }
735
736 // Deprecated: Use Gauge.ProtoReflect.Descriptor instead.
737 func (*Gauge) Descriptor() ([]byte, []int) {
738 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{4}
739 }
740
741 func (x *Gauge) GetDataPoints() []*NumberDataPoint {
742 if x != nil {
743 return x.DataPoints
744 }
745 return nil
746 }
747
748 // Sum represents the type of a scalar metric that is calculated as a sum of all
749 // reported measurements over a time interval.
750 type Sum struct {
751 state protoimpl.MessageState
752 sizeCache protoimpl.SizeCache
753 unknownFields protoimpl.UnknownFields
754
755 // The time series data points.
756 // Note: Multiple time series may be included (same timestamp, different attributes).
757 DataPoints []*NumberDataPoint `protobuf:"bytes,1,rep,name=data_points,json=dataPoints,proto3" json:"data_points,omitempty"`
758 // aggregation_temporality describes if the aggregator reports delta changes
759 // since last report time, or cumulative changes since a fixed start time.
760 AggregationTemporality AggregationTemporality `protobuf:"varint,2,opt,name=aggregation_temporality,json=aggregationTemporality,proto3,enum=opentelemetry.proto.metrics.v1.AggregationTemporality" json:"aggregation_temporality,omitempty"`
761 // Represents whether the sum is monotonic.
762 IsMonotonic bool `protobuf:"varint,3,opt,name=is_monotonic,json=isMonotonic,proto3" json:"is_monotonic,omitempty"`
763 }
764
765 func (x *Sum) Reset() {
766 *x = Sum{}
767 if protoimpl.UnsafeEnabled {
768 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[5]
769 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
770 ms.StoreMessageInfo(mi)
771 }
772 }
773
774 func (x *Sum) String() string {
775 return protoimpl.X.MessageStringOf(x)
776 }
777
778 func (*Sum) ProtoMessage() {}
779
780 func (x *Sum) ProtoReflect() protoreflect.Message {
781 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[5]
782 if protoimpl.UnsafeEnabled && x != nil {
783 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
784 if ms.LoadMessageInfo() == nil {
785 ms.StoreMessageInfo(mi)
786 }
787 return ms
788 }
789 return mi.MessageOf(x)
790 }
791
792 // Deprecated: Use Sum.ProtoReflect.Descriptor instead.
793 func (*Sum) Descriptor() ([]byte, []int) {
794 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{5}
795 }
796
797 func (x *Sum) GetDataPoints() []*NumberDataPoint {
798 if x != nil {
799 return x.DataPoints
800 }
801 return nil
802 }
803
804 func (x *Sum) GetAggregationTemporality() AggregationTemporality {
805 if x != nil {
806 return x.AggregationTemporality
807 }
808 return AggregationTemporality_AGGREGATION_TEMPORALITY_UNSPECIFIED
809 }
810
811 func (x *Sum) GetIsMonotonic() bool {
812 if x != nil {
813 return x.IsMonotonic
814 }
815 return false
816 }
817
818 // Histogram represents the type of a metric that is calculated by aggregating
819 // as a Histogram of all reported measurements over a time interval.
820 type Histogram struct {
821 state protoimpl.MessageState
822 sizeCache protoimpl.SizeCache
823 unknownFields protoimpl.UnknownFields
824
825 // The time series data points.
826 // Note: Multiple time series may be included (same timestamp, different attributes).
827 DataPoints []*HistogramDataPoint `protobuf:"bytes,1,rep,name=data_points,json=dataPoints,proto3" json:"data_points,omitempty"`
828 // aggregation_temporality describes if the aggregator reports delta changes
829 // since last report time, or cumulative changes since a fixed start time.
830 AggregationTemporality AggregationTemporality `protobuf:"varint,2,opt,name=aggregation_temporality,json=aggregationTemporality,proto3,enum=opentelemetry.proto.metrics.v1.AggregationTemporality" json:"aggregation_temporality,omitempty"`
831 }
832
833 func (x *Histogram) Reset() {
834 *x = Histogram{}
835 if protoimpl.UnsafeEnabled {
836 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[6]
837 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
838 ms.StoreMessageInfo(mi)
839 }
840 }
841
842 func (x *Histogram) String() string {
843 return protoimpl.X.MessageStringOf(x)
844 }
845
846 func (*Histogram) ProtoMessage() {}
847
848 func (x *Histogram) ProtoReflect() protoreflect.Message {
849 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[6]
850 if protoimpl.UnsafeEnabled && x != nil {
851 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
852 if ms.LoadMessageInfo() == nil {
853 ms.StoreMessageInfo(mi)
854 }
855 return ms
856 }
857 return mi.MessageOf(x)
858 }
859
860 // Deprecated: Use Histogram.ProtoReflect.Descriptor instead.
861 func (*Histogram) Descriptor() ([]byte, []int) {
862 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{6}
863 }
864
865 func (x *Histogram) GetDataPoints() []*HistogramDataPoint {
866 if x != nil {
867 return x.DataPoints
868 }
869 return nil
870 }
871
872 func (x *Histogram) GetAggregationTemporality() AggregationTemporality {
873 if x != nil {
874 return x.AggregationTemporality
875 }
876 return AggregationTemporality_AGGREGATION_TEMPORALITY_UNSPECIFIED
877 }
878
879 // ExponentialHistogram represents the type of a metric that is calculated by aggregating
880 // as a ExponentialHistogram of all reported double measurements over a time interval.
881 type ExponentialHistogram struct {
882 state protoimpl.MessageState
883 sizeCache protoimpl.SizeCache
884 unknownFields protoimpl.UnknownFields
885
886 // The time series data points.
887 // Note: Multiple time series may be included (same timestamp, different attributes).
888 DataPoints []*ExponentialHistogramDataPoint `protobuf:"bytes,1,rep,name=data_points,json=dataPoints,proto3" json:"data_points,omitempty"`
889 // aggregation_temporality describes if the aggregator reports delta changes
890 // since last report time, or cumulative changes since a fixed start time.
891 AggregationTemporality AggregationTemporality `protobuf:"varint,2,opt,name=aggregation_temporality,json=aggregationTemporality,proto3,enum=opentelemetry.proto.metrics.v1.AggregationTemporality" json:"aggregation_temporality,omitempty"`
892 }
893
894 func (x *ExponentialHistogram) Reset() {
895 *x = ExponentialHistogram{}
896 if protoimpl.UnsafeEnabled {
897 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[7]
898 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
899 ms.StoreMessageInfo(mi)
900 }
901 }
902
903 func (x *ExponentialHistogram) String() string {
904 return protoimpl.X.MessageStringOf(x)
905 }
906
907 func (*ExponentialHistogram) ProtoMessage() {}
908
909 func (x *ExponentialHistogram) ProtoReflect() protoreflect.Message {
910 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[7]
911 if protoimpl.UnsafeEnabled && x != nil {
912 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
913 if ms.LoadMessageInfo() == nil {
914 ms.StoreMessageInfo(mi)
915 }
916 return ms
917 }
918 return mi.MessageOf(x)
919 }
920
921 // Deprecated: Use ExponentialHistogram.ProtoReflect.Descriptor instead.
922 func (*ExponentialHistogram) Descriptor() ([]byte, []int) {
923 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{7}
924 }
925
926 func (x *ExponentialHistogram) GetDataPoints() []*ExponentialHistogramDataPoint {
927 if x != nil {
928 return x.DataPoints
929 }
930 return nil
931 }
932
933 func (x *ExponentialHistogram) GetAggregationTemporality() AggregationTemporality {
934 if x != nil {
935 return x.AggregationTemporality
936 }
937 return AggregationTemporality_AGGREGATION_TEMPORALITY_UNSPECIFIED
938 }
939
940 // Summary metric data are used to convey quantile summaries,
941 // a Prometheus (see: https://prometheus.io/docs/concepts/metric_types/#summary)
942 // and OpenMetrics (see: https://github.com/prometheus/OpenMetrics/blob/4dbf6075567ab43296eed941037c12951faafb92/protos/prometheus.proto#L45)
943 // data type. These data points cannot always be merged in a meaningful way.
944 // While they can be useful in some applications, histogram data points are
945 // recommended for new applications.
946 // Summary metrics do not have an aggregation temporality field. This is
947 // because the count and sum fields of a SummaryDataPoint are assumed to be
948 // cumulative values.
949 type Summary struct {
950 state protoimpl.MessageState
951 sizeCache protoimpl.SizeCache
952 unknownFields protoimpl.UnknownFields
953
954 // The time series data points.
955 // Note: Multiple time series may be included (same timestamp, different attributes).
956 DataPoints []*SummaryDataPoint `protobuf:"bytes,1,rep,name=data_points,json=dataPoints,proto3" json:"data_points,omitempty"`
957 }
958
959 func (x *Summary) Reset() {
960 *x = Summary{}
961 if protoimpl.UnsafeEnabled {
962 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[8]
963 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
964 ms.StoreMessageInfo(mi)
965 }
966 }
967
968 func (x *Summary) String() string {
969 return protoimpl.X.MessageStringOf(x)
970 }
971
972 func (*Summary) ProtoMessage() {}
973
974 func (x *Summary) ProtoReflect() protoreflect.Message {
975 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[8]
976 if protoimpl.UnsafeEnabled && x != nil {
977 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
978 if ms.LoadMessageInfo() == nil {
979 ms.StoreMessageInfo(mi)
980 }
981 return ms
982 }
983 return mi.MessageOf(x)
984 }
985
986 // Deprecated: Use Summary.ProtoReflect.Descriptor instead.
987 func (*Summary) Descriptor() ([]byte, []int) {
988 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{8}
989 }
990
991 func (x *Summary) GetDataPoints() []*SummaryDataPoint {
992 if x != nil {
993 return x.DataPoints
994 }
995 return nil
996 }
997
998 // NumberDataPoint is a single data point in a timeseries that describes the
999 // time-varying scalar value of a metric.
1000 type NumberDataPoint struct {
1001 state protoimpl.MessageState
1002 sizeCache protoimpl.SizeCache
1003 unknownFields protoimpl.UnknownFields
1004
1005 // The set of key/value pairs that uniquely identify the timeseries from
1006 // where this point belongs. The list may be empty (may contain 0 elements).
1007 // Attribute keys MUST be unique (it is not allowed to have more than one
1008 // attribute with the same key).
1009 // The behavior of software that receives duplicated keys can be unpredictable.
1010 Attributes []*v11.KeyValue `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty"`
1011 // StartTimeUnixNano is optional but strongly encouraged, see the
1012 // the detailed comments above Metric.
1013 //
1014 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
1015 // 1970.
1016 StartTimeUnixNano uint64 `protobuf:"fixed64,2,opt,name=start_time_unix_nano,json=startTimeUnixNano,proto3" json:"start_time_unix_nano,omitempty"`
1017 // TimeUnixNano is required, see the detailed comments above Metric.
1018 //
1019 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
1020 // 1970.
1021 TimeUnixNano uint64 `protobuf:"fixed64,3,opt,name=time_unix_nano,json=timeUnixNano,proto3" json:"time_unix_nano,omitempty"`
1022 // The value itself. A point is considered invalid when one of the recognized
1023 // value fields is not present inside this oneof.
1024 //
1025 // Types that are assignable to Value:
1026 // *NumberDataPoint_AsDouble
1027 // *NumberDataPoint_AsInt
1028 Value isNumberDataPoint_Value `protobuf_oneof:"value"`
1029 // (Optional) List of exemplars collected from
1030 // measurements that were used to form the data point
1031 Exemplars []*Exemplar `protobuf:"bytes,5,rep,name=exemplars,proto3" json:"exemplars,omitempty"`
1032 // Flags that apply to this specific data point. See DataPointFlags
1033 // for the available flags and their meaning.
1034 Flags uint32 `protobuf:"varint,8,opt,name=flags,proto3" json:"flags,omitempty"`
1035 }
1036
1037 func (x *NumberDataPoint) Reset() {
1038 *x = NumberDataPoint{}
1039 if protoimpl.UnsafeEnabled {
1040 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[9]
1041 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1042 ms.StoreMessageInfo(mi)
1043 }
1044 }
1045
1046 func (x *NumberDataPoint) String() string {
1047 return protoimpl.X.MessageStringOf(x)
1048 }
1049
1050 func (*NumberDataPoint) ProtoMessage() {}
1051
1052 func (x *NumberDataPoint) ProtoReflect() protoreflect.Message {
1053 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[9]
1054 if protoimpl.UnsafeEnabled && x != nil {
1055 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1056 if ms.LoadMessageInfo() == nil {
1057 ms.StoreMessageInfo(mi)
1058 }
1059 return ms
1060 }
1061 return mi.MessageOf(x)
1062 }
1063
1064 // Deprecated: Use NumberDataPoint.ProtoReflect.Descriptor instead.
1065 func (*NumberDataPoint) Descriptor() ([]byte, []int) {
1066 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{9}
1067 }
1068
1069 func (x *NumberDataPoint) GetAttributes() []*v11.KeyValue {
1070 if x != nil {
1071 return x.Attributes
1072 }
1073 return nil
1074 }
1075
1076 func (x *NumberDataPoint) GetStartTimeUnixNano() uint64 {
1077 if x != nil {
1078 return x.StartTimeUnixNano
1079 }
1080 return 0
1081 }
1082
1083 func (x *NumberDataPoint) GetTimeUnixNano() uint64 {
1084 if x != nil {
1085 return x.TimeUnixNano
1086 }
1087 return 0
1088 }
1089
1090 func (m *NumberDataPoint) GetValue() isNumberDataPoint_Value {
1091 if m != nil {
1092 return m.Value
1093 }
1094 return nil
1095 }
1096
1097 func (x *NumberDataPoint) GetAsDouble() float64 {
1098 if x, ok := x.GetValue().(*NumberDataPoint_AsDouble); ok {
1099 return x.AsDouble
1100 }
1101 return 0
1102 }
1103
1104 func (x *NumberDataPoint) GetAsInt() int64 {
1105 if x, ok := x.GetValue().(*NumberDataPoint_AsInt); ok {
1106 return x.AsInt
1107 }
1108 return 0
1109 }
1110
1111 func (x *NumberDataPoint) GetExemplars() []*Exemplar {
1112 if x != nil {
1113 return x.Exemplars
1114 }
1115 return nil
1116 }
1117
1118 func (x *NumberDataPoint) GetFlags() uint32 {
1119 if x != nil {
1120 return x.Flags
1121 }
1122 return 0
1123 }
1124
1125 type isNumberDataPoint_Value interface {
1126 isNumberDataPoint_Value()
1127 }
1128
1129 type NumberDataPoint_AsDouble struct {
1130 AsDouble float64 `protobuf:"fixed64,4,opt,name=as_double,json=asDouble,proto3,oneof"`
1131 }
1132
1133 type NumberDataPoint_AsInt struct {
1134 AsInt int64 `protobuf:"fixed64,6,opt,name=as_int,json=asInt,proto3,oneof"`
1135 }
1136
1137 func (*NumberDataPoint_AsDouble) isNumberDataPoint_Value() {}
1138
1139 func (*NumberDataPoint_AsInt) isNumberDataPoint_Value() {}
1140
1141 // HistogramDataPoint is a single data point in a timeseries that describes the
1142 // time-varying values of a Histogram. A Histogram contains summary statistics
1143 // for a population of values, it may optionally contain the distribution of
1144 // those values across a set of buckets.
1145 //
1146 // If the histogram contains the distribution of values, then both
1147 // "explicit_bounds" and "bucket counts" fields must be defined.
1148 // If the histogram does not contain the distribution of values, then both
1149 // "explicit_bounds" and "bucket_counts" must be omitted and only "count" and
1150 // "sum" are known.
1151 type HistogramDataPoint struct {
1152 state protoimpl.MessageState
1153 sizeCache protoimpl.SizeCache
1154 unknownFields protoimpl.UnknownFields
1155
1156 // The set of key/value pairs that uniquely identify the timeseries from
1157 // where this point belongs. The list may be empty (may contain 0 elements).
1158 // Attribute keys MUST be unique (it is not allowed to have more than one
1159 // attribute with the same key).
1160 // The behavior of software that receives duplicated keys can be unpredictable.
1161 Attributes []*v11.KeyValue `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty"`
1162 // StartTimeUnixNano is optional but strongly encouraged, see the
1163 // the detailed comments above Metric.
1164 //
1165 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
1166 // 1970.
1167 StartTimeUnixNano uint64 `protobuf:"fixed64,2,opt,name=start_time_unix_nano,json=startTimeUnixNano,proto3" json:"start_time_unix_nano,omitempty"`
1168 // TimeUnixNano is required, see the detailed comments above Metric.
1169 //
1170 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
1171 // 1970.
1172 TimeUnixNano uint64 `protobuf:"fixed64,3,opt,name=time_unix_nano,json=timeUnixNano,proto3" json:"time_unix_nano,omitempty"`
1173 // count is the number of values in the population. Must be non-negative. This
1174 // value must be equal to the sum of the "count" fields in buckets if a
1175 // histogram is provided.
1176 Count uint64 `protobuf:"fixed64,4,opt,name=count,proto3" json:"count,omitempty"`
1177 // sum of the values in the population. If count is zero then this field
1178 // must be zero.
1179 //
1180 // Note: Sum should only be filled out when measuring non-negative discrete
1181 // events, and is assumed to be monotonic over the values of these events.
1182 // Negative events *can* be recorded, but sum should not be filled out when
1183 // doing so. This is specifically to enforce compatibility w/ OpenMetrics,
1184 // see: https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#histogram
1185 Sum *float64 `protobuf:"fixed64,5,opt,name=sum,proto3,oneof" json:"sum,omitempty"`
1186 // bucket_counts is an optional field contains the count values of histogram
1187 // for each bucket.
1188 //
1189 // The sum of the bucket_counts must equal the value in the count field.
1190 //
1191 // The number of elements in bucket_counts array must be by one greater than
1192 // the number of elements in explicit_bounds array. The exception to this rule
1193 // is when the length of bucket_counts is 0, then the length of explicit_bounds
1194 // must also be 0.
1195 BucketCounts []uint64 `protobuf:"fixed64,6,rep,packed,name=bucket_counts,json=bucketCounts,proto3" json:"bucket_counts,omitempty"`
1196 // explicit_bounds specifies buckets with explicitly defined bounds for values.
1197 //
1198 // The boundaries for bucket at index i are:
1199 //
1200 // (-infinity, explicit_bounds[i]] for i == 0
1201 // (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds)
1202 // (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds)
1203 //
1204 // The values in the explicit_bounds array must be strictly increasing.
1205 //
1206 // Histogram buckets are inclusive of their upper boundary, except the last
1207 // bucket where the boundary is at infinity. This format is intentionally
1208 // compatible with the OpenMetrics histogram definition.
1209 //
1210 // If bucket_counts length is 0 then explicit_bounds length must also be 0,
1211 // otherwise the data point is invalid.
1212 ExplicitBounds []float64 `protobuf:"fixed64,7,rep,packed,name=explicit_bounds,json=explicitBounds,proto3" json:"explicit_bounds,omitempty"`
1213 // (Optional) List of exemplars collected from
1214 // measurements that were used to form the data point
1215 Exemplars []*Exemplar `protobuf:"bytes,8,rep,name=exemplars,proto3" json:"exemplars,omitempty"`
1216 // Flags that apply to this specific data point. See DataPointFlags
1217 // for the available flags and their meaning.
1218 Flags uint32 `protobuf:"varint,10,opt,name=flags,proto3" json:"flags,omitempty"`
1219 // min is the minimum value over (start_time, end_time].
1220 Min *float64 `protobuf:"fixed64,11,opt,name=min,proto3,oneof" json:"min,omitempty"`
1221 // max is the maximum value over (start_time, end_time].
1222 Max *float64 `protobuf:"fixed64,12,opt,name=max,proto3,oneof" json:"max,omitempty"`
1223 }
1224
1225 func (x *HistogramDataPoint) Reset() {
1226 *x = HistogramDataPoint{}
1227 if protoimpl.UnsafeEnabled {
1228 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[10]
1229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1230 ms.StoreMessageInfo(mi)
1231 }
1232 }
1233
1234 func (x *HistogramDataPoint) String() string {
1235 return protoimpl.X.MessageStringOf(x)
1236 }
1237
1238 func (*HistogramDataPoint) ProtoMessage() {}
1239
1240 func (x *HistogramDataPoint) ProtoReflect() protoreflect.Message {
1241 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[10]
1242 if protoimpl.UnsafeEnabled && x != nil {
1243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1244 if ms.LoadMessageInfo() == nil {
1245 ms.StoreMessageInfo(mi)
1246 }
1247 return ms
1248 }
1249 return mi.MessageOf(x)
1250 }
1251
1252 // Deprecated: Use HistogramDataPoint.ProtoReflect.Descriptor instead.
1253 func (*HistogramDataPoint) Descriptor() ([]byte, []int) {
1254 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{10}
1255 }
1256
1257 func (x *HistogramDataPoint) GetAttributes() []*v11.KeyValue {
1258 if x != nil {
1259 return x.Attributes
1260 }
1261 return nil
1262 }
1263
1264 func (x *HistogramDataPoint) GetStartTimeUnixNano() uint64 {
1265 if x != nil {
1266 return x.StartTimeUnixNano
1267 }
1268 return 0
1269 }
1270
1271 func (x *HistogramDataPoint) GetTimeUnixNano() uint64 {
1272 if x != nil {
1273 return x.TimeUnixNano
1274 }
1275 return 0
1276 }
1277
1278 func (x *HistogramDataPoint) GetCount() uint64 {
1279 if x != nil {
1280 return x.Count
1281 }
1282 return 0
1283 }
1284
1285 func (x *HistogramDataPoint) GetSum() float64 {
1286 if x != nil && x.Sum != nil {
1287 return *x.Sum
1288 }
1289 return 0
1290 }
1291
1292 func (x *HistogramDataPoint) GetBucketCounts() []uint64 {
1293 if x != nil {
1294 return x.BucketCounts
1295 }
1296 return nil
1297 }
1298
1299 func (x *HistogramDataPoint) GetExplicitBounds() []float64 {
1300 if x != nil {
1301 return x.ExplicitBounds
1302 }
1303 return nil
1304 }
1305
1306 func (x *HistogramDataPoint) GetExemplars() []*Exemplar {
1307 if x != nil {
1308 return x.Exemplars
1309 }
1310 return nil
1311 }
1312
1313 func (x *HistogramDataPoint) GetFlags() uint32 {
1314 if x != nil {
1315 return x.Flags
1316 }
1317 return 0
1318 }
1319
1320 func (x *HistogramDataPoint) GetMin() float64 {
1321 if x != nil && x.Min != nil {
1322 return *x.Min
1323 }
1324 return 0
1325 }
1326
1327 func (x *HistogramDataPoint) GetMax() float64 {
1328 if x != nil && x.Max != nil {
1329 return *x.Max
1330 }
1331 return 0
1332 }
1333
1334 // ExponentialHistogramDataPoint is a single data point in a timeseries that describes the
1335 // time-varying values of a ExponentialHistogram of double values. A ExponentialHistogram contains
1336 // summary statistics for a population of values, it may optionally contain the
1337 // distribution of those values across a set of buckets.
1338 //
1339 type ExponentialHistogramDataPoint struct {
1340 state protoimpl.MessageState
1341 sizeCache protoimpl.SizeCache
1342 unknownFields protoimpl.UnknownFields
1343
1344 // The set of key/value pairs that uniquely identify the timeseries from
1345 // where this point belongs. The list may be empty (may contain 0 elements).
1346 // Attribute keys MUST be unique (it is not allowed to have more than one
1347 // attribute with the same key).
1348 // The behavior of software that receives duplicated keys can be unpredictable.
1349 Attributes []*v11.KeyValue `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
1350 // StartTimeUnixNano is optional but strongly encouraged, see the
1351 // the detailed comments above Metric.
1352 //
1353 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
1354 // 1970.
1355 StartTimeUnixNano uint64 `protobuf:"fixed64,2,opt,name=start_time_unix_nano,json=startTimeUnixNano,proto3" json:"start_time_unix_nano,omitempty"`
1356 // TimeUnixNano is required, see the detailed comments above Metric.
1357 //
1358 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
1359 // 1970.
1360 TimeUnixNano uint64 `protobuf:"fixed64,3,opt,name=time_unix_nano,json=timeUnixNano,proto3" json:"time_unix_nano,omitempty"`
1361 // The number of values in the population. Must be
1362 // non-negative. This value must be equal to the sum of the "bucket_counts"
1363 // values in the positive and negative Buckets plus the "zero_count" field.
1364 Count uint64 `protobuf:"fixed64,4,opt,name=count,proto3" json:"count,omitempty"`
1365 // The sum of the values in the population. If count is zero then this field
1366 // must be zero.
1367 //
1368 // Note: Sum should only be filled out when measuring non-negative discrete
1369 // events, and is assumed to be monotonic over the values of these events.
1370 // Negative events *can* be recorded, but sum should not be filled out when
1371 // doing so. This is specifically to enforce compatibility w/ OpenMetrics,
1372 // see: https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#histogram
1373 Sum *float64 `protobuf:"fixed64,5,opt,name=sum,proto3,oneof" json:"sum,omitempty"`
1374 // scale describes the resolution of the histogram. Boundaries are
1375 // located at powers of the base, where:
1376 //
1377 // base = (2^(2^-scale))
1378 //
1379 // The histogram bucket identified by `index`, a signed integer,
1380 // contains values that are greater than (base^index) and
1381 // less than or equal to (base^(index+1)).
1382 //
1383 // The positive and negative ranges of the histogram are expressed
1384 // separately. Negative values are mapped by their absolute value
1385 // into the negative range using the same scale as the positive range.
1386 //
1387 // scale is not restricted by the protocol, as the permissible
1388 // values depend on the range of the data.
1389 Scale int32 `protobuf:"zigzag32,6,opt,name=scale,proto3" json:"scale,omitempty"`
1390 // The count of values that are either exactly zero or
1391 // within the region considered zero by the instrumentation at the
1392 // tolerated degree of precision. This bucket stores values that
1393 // cannot be expressed using the standard exponential formula as
1394 // well as values that have been rounded to zero.
1395 //
1396 // Implementations MAY consider the zero bucket to have probability
1397 // mass equal to (zero_count / count).
1398 ZeroCount uint64 `protobuf:"fixed64,7,opt,name=zero_count,json=zeroCount,proto3" json:"zero_count,omitempty"`
1399 // positive carries the positive range of exponential bucket counts.
1400 Positive *ExponentialHistogramDataPoint_Buckets `protobuf:"bytes,8,opt,name=positive,proto3" json:"positive,omitempty"`
1401 // negative carries the negative range of exponential bucket counts.
1402 Negative *ExponentialHistogramDataPoint_Buckets `protobuf:"bytes,9,opt,name=negative,proto3" json:"negative,omitempty"`
1403 // Flags that apply to this specific data point. See DataPointFlags
1404 // for the available flags and their meaning.
1405 Flags uint32 `protobuf:"varint,10,opt,name=flags,proto3" json:"flags,omitempty"`
1406 // (Optional) List of exemplars collected from
1407 // measurements that were used to form the data point
1408 Exemplars []*Exemplar `protobuf:"bytes,11,rep,name=exemplars,proto3" json:"exemplars,omitempty"`
1409 // The minimum value over (start_time, end_time].
1410 Min *float64 `protobuf:"fixed64,12,opt,name=min,proto3,oneof" json:"min,omitempty"`
1411 // The maximum value over (start_time, end_time].
1412 Max *float64 `protobuf:"fixed64,13,opt,name=max,proto3,oneof" json:"max,omitempty"`
1413 // ZeroThreshold may be optionally set to convey the width of the zero
1414 // region. Where the zero region is defined as the closed interval
1415 // [-ZeroThreshold, ZeroThreshold].
1416 // When ZeroThreshold is 0, zero count bucket stores values that cannot be
1417 // expressed using the standard exponential formula as well as values that
1418 // have been rounded to zero.
1419 ZeroThreshold float64 `protobuf:"fixed64,14,opt,name=zero_threshold,json=zeroThreshold,proto3" json:"zero_threshold,omitempty"`
1420 }
1421
1422 func (x *ExponentialHistogramDataPoint) Reset() {
1423 *x = ExponentialHistogramDataPoint{}
1424 if protoimpl.UnsafeEnabled {
1425 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[11]
1426 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1427 ms.StoreMessageInfo(mi)
1428 }
1429 }
1430
1431 func (x *ExponentialHistogramDataPoint) String() string {
1432 return protoimpl.X.MessageStringOf(x)
1433 }
1434
1435 func (*ExponentialHistogramDataPoint) ProtoMessage() {}
1436
1437 func (x *ExponentialHistogramDataPoint) ProtoReflect() protoreflect.Message {
1438 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[11]
1439 if protoimpl.UnsafeEnabled && x != nil {
1440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1441 if ms.LoadMessageInfo() == nil {
1442 ms.StoreMessageInfo(mi)
1443 }
1444 return ms
1445 }
1446 return mi.MessageOf(x)
1447 }
1448
1449 // Deprecated: Use ExponentialHistogramDataPoint.ProtoReflect.Descriptor instead.
1450 func (*ExponentialHistogramDataPoint) Descriptor() ([]byte, []int) {
1451 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{11}
1452 }
1453
1454 func (x *ExponentialHistogramDataPoint) GetAttributes() []*v11.KeyValue {
1455 if x != nil {
1456 return x.Attributes
1457 }
1458 return nil
1459 }
1460
1461 func (x *ExponentialHistogramDataPoint) GetStartTimeUnixNano() uint64 {
1462 if x != nil {
1463 return x.StartTimeUnixNano
1464 }
1465 return 0
1466 }
1467
1468 func (x *ExponentialHistogramDataPoint) GetTimeUnixNano() uint64 {
1469 if x != nil {
1470 return x.TimeUnixNano
1471 }
1472 return 0
1473 }
1474
1475 func (x *ExponentialHistogramDataPoint) GetCount() uint64 {
1476 if x != nil {
1477 return x.Count
1478 }
1479 return 0
1480 }
1481
1482 func (x *ExponentialHistogramDataPoint) GetSum() float64 {
1483 if x != nil && x.Sum != nil {
1484 return *x.Sum
1485 }
1486 return 0
1487 }
1488
1489 func (x *ExponentialHistogramDataPoint) GetScale() int32 {
1490 if x != nil {
1491 return x.Scale
1492 }
1493 return 0
1494 }
1495
1496 func (x *ExponentialHistogramDataPoint) GetZeroCount() uint64 {
1497 if x != nil {
1498 return x.ZeroCount
1499 }
1500 return 0
1501 }
1502
1503 func (x *ExponentialHistogramDataPoint) GetPositive() *ExponentialHistogramDataPoint_Buckets {
1504 if x != nil {
1505 return x.Positive
1506 }
1507 return nil
1508 }
1509
1510 func (x *ExponentialHistogramDataPoint) GetNegative() *ExponentialHistogramDataPoint_Buckets {
1511 if x != nil {
1512 return x.Negative
1513 }
1514 return nil
1515 }
1516
1517 func (x *ExponentialHistogramDataPoint) GetFlags() uint32 {
1518 if x != nil {
1519 return x.Flags
1520 }
1521 return 0
1522 }
1523
1524 func (x *ExponentialHistogramDataPoint) GetExemplars() []*Exemplar {
1525 if x != nil {
1526 return x.Exemplars
1527 }
1528 return nil
1529 }
1530
1531 func (x *ExponentialHistogramDataPoint) GetMin() float64 {
1532 if x != nil && x.Min != nil {
1533 return *x.Min
1534 }
1535 return 0
1536 }
1537
1538 func (x *ExponentialHistogramDataPoint) GetMax() float64 {
1539 if x != nil && x.Max != nil {
1540 return *x.Max
1541 }
1542 return 0
1543 }
1544
1545 func (x *ExponentialHistogramDataPoint) GetZeroThreshold() float64 {
1546 if x != nil {
1547 return x.ZeroThreshold
1548 }
1549 return 0
1550 }
1551
1552 // SummaryDataPoint is a single data point in a timeseries that describes the
1553 // time-varying values of a Summary metric. The count and sum fields represent
1554 // cumulative values.
1555 type SummaryDataPoint struct {
1556 state protoimpl.MessageState
1557 sizeCache protoimpl.SizeCache
1558 unknownFields protoimpl.UnknownFields
1559
1560 // The set of key/value pairs that uniquely identify the timeseries from
1561 // where this point belongs. The list may be empty (may contain 0 elements).
1562 // Attribute keys MUST be unique (it is not allowed to have more than one
1563 // attribute with the same key).
1564 // The behavior of software that receives duplicated keys can be unpredictable.
1565 Attributes []*v11.KeyValue `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty"`
1566 // StartTimeUnixNano is optional but strongly encouraged, see the
1567 // the detailed comments above Metric.
1568 //
1569 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
1570 // 1970.
1571 StartTimeUnixNano uint64 `protobuf:"fixed64,2,opt,name=start_time_unix_nano,json=startTimeUnixNano,proto3" json:"start_time_unix_nano,omitempty"`
1572 // TimeUnixNano is required, see the detailed comments above Metric.
1573 //
1574 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
1575 // 1970.
1576 TimeUnixNano uint64 `protobuf:"fixed64,3,opt,name=time_unix_nano,json=timeUnixNano,proto3" json:"time_unix_nano,omitempty"`
1577 // count is the number of values in the population. Must be non-negative.
1578 Count uint64 `protobuf:"fixed64,4,opt,name=count,proto3" json:"count,omitempty"`
1579 // sum of the values in the population. If count is zero then this field
1580 // must be zero.
1581 //
1582 // Note: Sum should only be filled out when measuring non-negative discrete
1583 // events, and is assumed to be monotonic over the values of these events.
1584 // Negative events *can* be recorded, but sum should not be filled out when
1585 // doing so. This is specifically to enforce compatibility w/ OpenMetrics,
1586 // see: https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#summary
1587 Sum float64 `protobuf:"fixed64,5,opt,name=sum,proto3" json:"sum,omitempty"`
1588 // (Optional) list of values at different quantiles of the distribution calculated
1589 // from the current snapshot. The quantiles must be strictly increasing.
1590 QuantileValues []*SummaryDataPoint_ValueAtQuantile `protobuf:"bytes,6,rep,name=quantile_values,json=quantileValues,proto3" json:"quantile_values,omitempty"`
1591 // Flags that apply to this specific data point. See DataPointFlags
1592 // for the available flags and their meaning.
1593 Flags uint32 `protobuf:"varint,8,opt,name=flags,proto3" json:"flags,omitempty"`
1594 }
1595
1596 func (x *SummaryDataPoint) Reset() {
1597 *x = SummaryDataPoint{}
1598 if protoimpl.UnsafeEnabled {
1599 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[12]
1600 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1601 ms.StoreMessageInfo(mi)
1602 }
1603 }
1604
1605 func (x *SummaryDataPoint) String() string {
1606 return protoimpl.X.MessageStringOf(x)
1607 }
1608
1609 func (*SummaryDataPoint) ProtoMessage() {}
1610
1611 func (x *SummaryDataPoint) ProtoReflect() protoreflect.Message {
1612 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[12]
1613 if protoimpl.UnsafeEnabled && x != nil {
1614 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1615 if ms.LoadMessageInfo() == nil {
1616 ms.StoreMessageInfo(mi)
1617 }
1618 return ms
1619 }
1620 return mi.MessageOf(x)
1621 }
1622
1623 // Deprecated: Use SummaryDataPoint.ProtoReflect.Descriptor instead.
1624 func (*SummaryDataPoint) Descriptor() ([]byte, []int) {
1625 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{12}
1626 }
1627
1628 func (x *SummaryDataPoint) GetAttributes() []*v11.KeyValue {
1629 if x != nil {
1630 return x.Attributes
1631 }
1632 return nil
1633 }
1634
1635 func (x *SummaryDataPoint) GetStartTimeUnixNano() uint64 {
1636 if x != nil {
1637 return x.StartTimeUnixNano
1638 }
1639 return 0
1640 }
1641
1642 func (x *SummaryDataPoint) GetTimeUnixNano() uint64 {
1643 if x != nil {
1644 return x.TimeUnixNano
1645 }
1646 return 0
1647 }
1648
1649 func (x *SummaryDataPoint) GetCount() uint64 {
1650 if x != nil {
1651 return x.Count
1652 }
1653 return 0
1654 }
1655
1656 func (x *SummaryDataPoint) GetSum() float64 {
1657 if x != nil {
1658 return x.Sum
1659 }
1660 return 0
1661 }
1662
1663 func (x *SummaryDataPoint) GetQuantileValues() []*SummaryDataPoint_ValueAtQuantile {
1664 if x != nil {
1665 return x.QuantileValues
1666 }
1667 return nil
1668 }
1669
1670 func (x *SummaryDataPoint) GetFlags() uint32 {
1671 if x != nil {
1672 return x.Flags
1673 }
1674 return 0
1675 }
1676
1677 // A representation of an exemplar, which is a sample input measurement.
1678 // Exemplars also hold information about the environment when the measurement
1679 // was recorded, for example the span and trace ID of the active span when the
1680 // exemplar was recorded.
1681 type Exemplar struct {
1682 state protoimpl.MessageState
1683 sizeCache protoimpl.SizeCache
1684 unknownFields protoimpl.UnknownFields
1685
1686 // The set of key/value pairs that were filtered out by the aggregator, but
1687 // recorded alongside the original measurement. Only key/value pairs that were
1688 // filtered out by the aggregator should be included
1689 FilteredAttributes []*v11.KeyValue `protobuf:"bytes,7,rep,name=filtered_attributes,json=filteredAttributes,proto3" json:"filtered_attributes,omitempty"`
1690 // time_unix_nano is the exact time when this exemplar was recorded
1691 //
1692 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January
1693 // 1970.
1694 TimeUnixNano uint64 `protobuf:"fixed64,2,opt,name=time_unix_nano,json=timeUnixNano,proto3" json:"time_unix_nano,omitempty"`
1695 // The value of the measurement that was recorded. An exemplar is
1696 // considered invalid when one of the recognized value fields is not present
1697 // inside this oneof.
1698 //
1699 // Types that are assignable to Value:
1700 // *Exemplar_AsDouble
1701 // *Exemplar_AsInt
1702 Value isExemplar_Value `protobuf_oneof:"value"`
1703 // (Optional) Span ID of the exemplar trace.
1704 // span_id may be missing if the measurement is not recorded inside a trace
1705 // or if the trace is not sampled.
1706 SpanId []byte `protobuf:"bytes,4,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
1707 // (Optional) Trace ID of the exemplar trace.
1708 // trace_id may be missing if the measurement is not recorded inside a trace
1709 // or if the trace is not sampled.
1710 TraceId []byte `protobuf:"bytes,5,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
1711 }
1712
1713 func (x *Exemplar) Reset() {
1714 *x = Exemplar{}
1715 if protoimpl.UnsafeEnabled {
1716 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[13]
1717 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1718 ms.StoreMessageInfo(mi)
1719 }
1720 }
1721
1722 func (x *Exemplar) String() string {
1723 return protoimpl.X.MessageStringOf(x)
1724 }
1725
1726 func (*Exemplar) ProtoMessage() {}
1727
1728 func (x *Exemplar) ProtoReflect() protoreflect.Message {
1729 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[13]
1730 if protoimpl.UnsafeEnabled && x != nil {
1731 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1732 if ms.LoadMessageInfo() == nil {
1733 ms.StoreMessageInfo(mi)
1734 }
1735 return ms
1736 }
1737 return mi.MessageOf(x)
1738 }
1739
1740 // Deprecated: Use Exemplar.ProtoReflect.Descriptor instead.
1741 func (*Exemplar) Descriptor() ([]byte, []int) {
1742 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{13}
1743 }
1744
1745 func (x *Exemplar) GetFilteredAttributes() []*v11.KeyValue {
1746 if x != nil {
1747 return x.FilteredAttributes
1748 }
1749 return nil
1750 }
1751
1752 func (x *Exemplar) GetTimeUnixNano() uint64 {
1753 if x != nil {
1754 return x.TimeUnixNano
1755 }
1756 return 0
1757 }
1758
1759 func (m *Exemplar) GetValue() isExemplar_Value {
1760 if m != nil {
1761 return m.Value
1762 }
1763 return nil
1764 }
1765
1766 func (x *Exemplar) GetAsDouble() float64 {
1767 if x, ok := x.GetValue().(*Exemplar_AsDouble); ok {
1768 return x.AsDouble
1769 }
1770 return 0
1771 }
1772
1773 func (x *Exemplar) GetAsInt() int64 {
1774 if x, ok := x.GetValue().(*Exemplar_AsInt); ok {
1775 return x.AsInt
1776 }
1777 return 0
1778 }
1779
1780 func (x *Exemplar) GetSpanId() []byte {
1781 if x != nil {
1782 return x.SpanId
1783 }
1784 return nil
1785 }
1786
1787 func (x *Exemplar) GetTraceId() []byte {
1788 if x != nil {
1789 return x.TraceId
1790 }
1791 return nil
1792 }
1793
1794 type isExemplar_Value interface {
1795 isExemplar_Value()
1796 }
1797
1798 type Exemplar_AsDouble struct {
1799 AsDouble float64 `protobuf:"fixed64,3,opt,name=as_double,json=asDouble,proto3,oneof"`
1800 }
1801
1802 type Exemplar_AsInt struct {
1803 AsInt int64 `protobuf:"fixed64,6,opt,name=as_int,json=asInt,proto3,oneof"`
1804 }
1805
1806 func (*Exemplar_AsDouble) isExemplar_Value() {}
1807
1808 func (*Exemplar_AsInt) isExemplar_Value() {}
1809
1810 // Buckets are a set of bucket counts, encoded in a contiguous array
1811 // of counts.
1812 type ExponentialHistogramDataPoint_Buckets struct {
1813 state protoimpl.MessageState
1814 sizeCache protoimpl.SizeCache
1815 unknownFields protoimpl.UnknownFields
1816
1817 // The bucket index of the first entry in the bucket_counts array.
1818 //
1819 // Note: This uses a varint encoding as a simple form of compression.
1820 Offset int32 `protobuf:"zigzag32,1,opt,name=offset,proto3" json:"offset,omitempty"`
1821 // An array of count values, where bucket_counts[i] carries
1822 // the count of the bucket at index (offset+i). bucket_counts[i] is the count
1823 // of values greater than base^(offset+i) and less than or equal to
1824 // base^(offset+i+1).
1825 //
1826 // Note: By contrast, the explicit HistogramDataPoint uses
1827 // fixed64. This field is expected to have many buckets,
1828 // especially zeros, so uint64 has been selected to ensure
1829 // varint encoding.
1830 BucketCounts []uint64 `protobuf:"varint,2,rep,packed,name=bucket_counts,json=bucketCounts,proto3" json:"bucket_counts,omitempty"`
1831 }
1832
1833 func (x *ExponentialHistogramDataPoint_Buckets) Reset() {
1834 *x = ExponentialHistogramDataPoint_Buckets{}
1835 if protoimpl.UnsafeEnabled {
1836 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[14]
1837 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1838 ms.StoreMessageInfo(mi)
1839 }
1840 }
1841
1842 func (x *ExponentialHistogramDataPoint_Buckets) String() string {
1843 return protoimpl.X.MessageStringOf(x)
1844 }
1845
1846 func (*ExponentialHistogramDataPoint_Buckets) ProtoMessage() {}
1847
1848 func (x *ExponentialHistogramDataPoint_Buckets) ProtoReflect() protoreflect.Message {
1849 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[14]
1850 if protoimpl.UnsafeEnabled && x != nil {
1851 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1852 if ms.LoadMessageInfo() == nil {
1853 ms.StoreMessageInfo(mi)
1854 }
1855 return ms
1856 }
1857 return mi.MessageOf(x)
1858 }
1859
1860 // Deprecated: Use ExponentialHistogramDataPoint_Buckets.ProtoReflect.Descriptor instead.
1861 func (*ExponentialHistogramDataPoint_Buckets) Descriptor() ([]byte, []int) {
1862 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{11, 0}
1863 }
1864
1865 func (x *ExponentialHistogramDataPoint_Buckets) GetOffset() int32 {
1866 if x != nil {
1867 return x.Offset
1868 }
1869 return 0
1870 }
1871
1872 func (x *ExponentialHistogramDataPoint_Buckets) GetBucketCounts() []uint64 {
1873 if x != nil {
1874 return x.BucketCounts
1875 }
1876 return nil
1877 }
1878
1879 // Represents the value at a given quantile of a distribution.
1880 //
1881 // To record Min and Max values following conventions are used:
1882 // - The 1.0 quantile is equivalent to the maximum value observed.
1883 // - The 0.0 quantile is equivalent to the minimum value observed.
1884 //
1885 // See the following issue for more context:
1886 // https://github.com/open-telemetry/opentelemetry-proto/issues/125
1887 type SummaryDataPoint_ValueAtQuantile struct {
1888 state protoimpl.MessageState
1889 sizeCache protoimpl.SizeCache
1890 unknownFields protoimpl.UnknownFields
1891
1892 // The quantile of a distribution. Must be in the interval
1893 // [0.0, 1.0].
1894 Quantile float64 `protobuf:"fixed64,1,opt,name=quantile,proto3" json:"quantile,omitempty"`
1895 // The value at the given quantile of a distribution.
1896 //
1897 // Quantile values must NOT be negative.
1898 Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
1899 }
1900
1901 func (x *SummaryDataPoint_ValueAtQuantile) Reset() {
1902 *x = SummaryDataPoint_ValueAtQuantile{}
1903 if protoimpl.UnsafeEnabled {
1904 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[15]
1905 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1906 ms.StoreMessageInfo(mi)
1907 }
1908 }
1909
1910 func (x *SummaryDataPoint_ValueAtQuantile) String() string {
1911 return protoimpl.X.MessageStringOf(x)
1912 }
1913
1914 func (*SummaryDataPoint_ValueAtQuantile) ProtoMessage() {}
1915
1916 func (x *SummaryDataPoint_ValueAtQuantile) ProtoReflect() protoreflect.Message {
1917 mi := &file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[15]
1918 if protoimpl.UnsafeEnabled && x != nil {
1919 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1920 if ms.LoadMessageInfo() == nil {
1921 ms.StoreMessageInfo(mi)
1922 }
1923 return ms
1924 }
1925 return mi.MessageOf(x)
1926 }
1927
1928 // Deprecated: Use SummaryDataPoint_ValueAtQuantile.ProtoReflect.Descriptor instead.
1929 func (*SummaryDataPoint_ValueAtQuantile) Descriptor() ([]byte, []int) {
1930 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP(), []int{12, 0}
1931 }
1932
1933 func (x *SummaryDataPoint_ValueAtQuantile) GetQuantile() float64 {
1934 if x != nil {
1935 return x.Quantile
1936 }
1937 return 0
1938 }
1939
1940 func (x *SummaryDataPoint_ValueAtQuantile) GetValue() float64 {
1941 if x != nil {
1942 return x.Value
1943 }
1944 return 0
1945 }
1946
1947 var File_opentelemetry_proto_metrics_v1_metrics_proto protoreflect.FileDescriptor
1948
1949 var file_opentelemetry_proto_metrics_v1_metrics_proto_rawDesc = []byte{
1950 0x0a, 0x2c, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f,
1951 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x31,
1952 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e,
1953 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
1954 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x2a,
1955 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x70, 0x72,
1956 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f,
1957 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x6f, 0x70, 0x65, 0x6e,
1958 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
1959 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f,
1960 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x0b, 0x4d, 0x65,
1961 0x74, 0x72, 0x69, 0x63, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0x5a, 0x0a, 0x10, 0x72, 0x65, 0x73,
1962 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20,
1963 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65,
1964 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1965 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74,
1966 0x72, 0x69, 0x63, 0x73, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65,
1967 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
1968 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x45, 0x0a, 0x08, 0x72, 0x65, 0x73,
1969 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x70,
1970 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1971 0x6f, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
1972 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
1973 0x12, 0x51, 0x0a, 0x0d, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1974 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
1975 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65,
1976 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x4d, 0x65,
1977 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x0c, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x72,
1978 0x69, 0x63, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x75, 0x72,
1979 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55,
1980 0x72, 0x6c, 0x4a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0xe9, 0x07, 0x22, 0xba, 0x01, 0x0a, 0x0c, 0x53,
1981 0x63, 0x6f, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x49, 0x0a, 0x05, 0x73,
1982 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6f, 0x70, 0x65,
1983 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1984 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x72,
1985 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52,
1986 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
1987 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
1988 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65,
1989 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52,
1990 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x68, 0x65,
1991 0x6d, 0x61, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x63,
1992 0x68, 0x65, 0x6d, 0x61, 0x55, 0x72, 0x6c, 0x22, 0xa6, 0x04, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x72,
1993 0x69, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1994 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
1995 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
1996 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74,
1997 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x12, 0x3d, 0x0a, 0x05,
1998 0x67, 0x61, 0x75, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x70,
1999 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
2000 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x61, 0x75,
2001 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x03, 0x73,
2002 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74,
2003 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d,
2004 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x6d, 0x48, 0x00, 0x52,
2005 0x03, 0x73, 0x75, 0x6d, 0x12, 0x49, 0x0a, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61,
2006 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
2007 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65,
2008 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72,
2009 0x61, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12,
2010 0x6b, 0x0a, 0x15, 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x68,
2011 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34,
2012 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70,
2013 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e,
2014 0x45, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x48, 0x69, 0x73, 0x74, 0x6f,
2015 0x67, 0x72, 0x61, 0x6d, 0x48, 0x00, 0x52, 0x14, 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74,
2016 0x69, 0x61, 0x6c, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x43, 0x0a, 0x07,
2017 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
2018 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
2019 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53,
2020 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x48, 0x00, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72,
2021 0x79, 0x12, 0x43, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20,
2022 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65,
2023 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
2024 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6d, 0x65,
2025 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x4a, 0x04,
2026 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09,
2027 0x22, 0x59, 0x0a, 0x05, 0x47, 0x61, 0x75, 0x67, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x64, 0x61, 0x74,
2028 0x61, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f,
2029 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70,
2030 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e,
2031 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52,
2032 0x0a, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0xeb, 0x01, 0x0a, 0x03,
2033 0x53, 0x75, 0x6d, 0x12, 0x50, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x69, 0x6e,
2034 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74,
2035 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d,
2036 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
2037 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x50,
2038 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x6f, 0x0a, 0x17, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61,
2039 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x69, 0x74, 0x79,
2040 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c,
2041 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74,
2042 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74,
2043 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x16,
2044 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6f,
2045 0x72, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x6d, 0x6f, 0x6e,
2046 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73,
2047 0x4d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x22, 0xd1, 0x01, 0x0a, 0x09, 0x48, 0x69,
2048 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x53, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f,
2049 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6f,
2050 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f,
2051 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x69,
2052 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74,
2053 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x6f, 0x0a, 0x17,
2054 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x6d, 0x70,
2055 0x6f, 0x72, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e,
2056 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
2057 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41,
2058 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72,
2059 0x61, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x16, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69,
2060 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x22, 0xe7, 0x01,
2061 0x0a, 0x14, 0x45, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x48, 0x69, 0x73,
2062 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x5e, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70,
2063 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x6f, 0x70,
2064 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
2065 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70,
2066 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61,
2067 0x6d, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61,
2068 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x6f, 0x0a, 0x17, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67,
2069 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x69, 0x74,
2070 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
2071 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65,
2072 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61,
2073 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x52,
2074 0x16, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70,
2075 0x6f, 0x72, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x5c, 0x0a, 0x07, 0x53, 0x75, 0x6d, 0x6d, 0x61,
2076 0x72, 0x79, 0x12, 0x51, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74,
2077 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
2078 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65,
2079 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79,
2080 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x50,
2081 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0xd6, 0x02, 0x0a, 0x0f, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
2082 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74,
2083 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
2084 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
2085 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65,
2086 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
2087 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
2088 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x06,
2089 0x52, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x4e,
2090 0x61, 0x6e, 0x6f, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x78,
2091 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0c, 0x74, 0x69, 0x6d,
2092 0x65, 0x55, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x1d, 0x0a, 0x09, 0x61, 0x73, 0x5f,
2093 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x08,
2094 0x61, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x06, 0x61, 0x73, 0x5f, 0x69,
2095 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x10, 0x48, 0x00, 0x52, 0x05, 0x61, 0x73, 0x49, 0x6e,
2096 0x74, 0x12, 0x46, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x73, 0x18, 0x05,
2097 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d,
2098 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69,
2099 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x09,
2100 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61,
2101 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x42,
2102 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0xd9,
2103 0x03, 0x0a, 0x12, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61,
2104 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
2105 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65, 0x6e,
2106 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
2107 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c,
2108 0x75, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2f,
2109 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69,
2110 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x06, 0x52, 0x11, 0x73, 0x74,
2111 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12,
2112 0x24, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e,
2113 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69,
2114 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04,
2115 0x20, 0x01, 0x28, 0x06, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x03, 0x73,
2116 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x03, 0x73, 0x75, 0x6d, 0x88,
2117 0x01, 0x01, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x75,
2118 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x06, 0x52, 0x0c, 0x62, 0x75, 0x63, 0x6b, 0x65,
2119 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x6c, 0x69,
2120 0x63, 0x69, 0x74, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01,
2121 0x52, 0x0e, 0x65, 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x73,
2122 0x12, 0x46, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x73, 0x18, 0x08, 0x20,
2123 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65,
2124 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
2125 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x09, 0x65,
2126 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67,
2127 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x15,
2128 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x48, 0x01, 0x52, 0x03, 0x6d,
2129 0x69, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18, 0x0c, 0x20, 0x01,
2130 0x28, 0x01, 0x48, 0x02, 0x52, 0x03, 0x6d, 0x61, 0x78, 0x88, 0x01, 0x01, 0x42, 0x06, 0x0a, 0x04,
2131 0x5f, 0x73, 0x75, 0x6d, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x6d, 0x69, 0x6e, 0x42, 0x06, 0x0a, 0x04,
2132 0x5f, 0x6d, 0x61, 0x78, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0xfa, 0x05, 0x0a, 0x1d, 0x45,
2133 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67,
2134 0x72, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x0a,
2135 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
2136 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79,
2137 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
2138 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69,
2139 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,
2140 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x02, 0x20,
2141 0x01, 0x28, 0x06, 0x52, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e,
2142 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75,
2143 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0c,
2144 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x14, 0x0a, 0x05,
2145 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x06, 0x52, 0x05, 0x63, 0x6f, 0x75,
2146 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x03, 0x73, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x48,
2147 0x00, 0x52, 0x03, 0x73, 0x75, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61,
2148 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12,
2149 0x1d, 0x0a, 0x0a, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20,
2150 0x01, 0x28, 0x06, 0x52, 0x09, 0x7a, 0x65, 0x72, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x61,
2151 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
2152 0x32, 0x45, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79,
2153 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76,
2154 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x48, 0x69, 0x73,
2155 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e,
2156 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76,
2157 0x65, 0x12, 0x61, 0x0a, 0x08, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x18, 0x09, 0x20,
2158 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65,
2159 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
2160 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
2161 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69,
2162 0x6e, 0x74, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x08, 0x6e, 0x65, 0x67, 0x61,
2163 0x74, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x0a, 0x20,
2164 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x46, 0x0a, 0x09, 0x65, 0x78,
2165 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e,
2166 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
2167 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45,
2168 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x09, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61,
2169 0x72, 0x73, 0x12, 0x15, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x01, 0x48,
2170 0x01, 0x52, 0x03, 0x6d, 0x69, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x6d, 0x61, 0x78,
2171 0x18, 0x0d, 0x20, 0x01, 0x28, 0x01, 0x48, 0x02, 0x52, 0x03, 0x6d, 0x61, 0x78, 0x88, 0x01, 0x01,
2172 0x12, 0x25, 0x0a, 0x0e, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f,
2173 0x6c, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x7a, 0x65, 0x72, 0x6f, 0x54, 0x68,
2174 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x1a, 0x46, 0x0a, 0x07, 0x42, 0x75, 0x63, 0x6b, 0x65,
2175 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01,
2176 0x28, 0x11, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x75,
2177 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
2178 0x04, 0x52, 0x0c, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x42,
2179 0x06, 0x0a, 0x04, 0x5f, 0x73, 0x75, 0x6d, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x6d, 0x69, 0x6e, 0x42,
2180 0x06, 0x0a, 0x04, 0x5f, 0x6d, 0x61, 0x78, 0x22, 0xa6, 0x03, 0x0a, 0x10, 0x53, 0x75, 0x6d, 0x6d,
2181 0x61, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x0a,
2182 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b,
2183 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79,
2184 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
2185 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69,
2186 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,
2187 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x02, 0x20,
2188 0x01, 0x28, 0x06, 0x52, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e,
2189 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75,
2190 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0c,
2191 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x14, 0x0a, 0x05,
2192 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x06, 0x52, 0x05, 0x63, 0x6f, 0x75,
2193 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52,
2194 0x03, 0x73, 0x75, 0x6d, 0x12, 0x69, 0x0a, 0x0f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65,
2195 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e,
2196 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
2197 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53,
2198 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x2e,
2199 0x56, 0x61, 0x6c, 0x75, 0x65, 0x41, 0x74, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x52,
2200 0x0e, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
2201 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05,
2202 0x66, 0x6c, 0x61, 0x67, 0x73, 0x1a, 0x43, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x41, 0x74,
2203 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e,
2204 0x74, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e,
2205 0x74, 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
2206 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02,
2207 0x22, 0x85, 0x02, 0x0a, 0x08, 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x12, 0x58, 0x0a,
2208 0x13, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62,
2209 0x75, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65,
2210 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2211 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61,
2212 0x6c, 0x75, 0x65, 0x52, 0x12, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64, 0x41, 0x74, 0x74,
2213 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f,
2214 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x06, 0x52,
2215 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x1d, 0x0a,
2216 0x09, 0x61, 0x73, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01,
2217 0x48, 0x00, 0x52, 0x08, 0x61, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x06,
2218 0x61, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x10, 0x48, 0x00, 0x52, 0x05,
2219 0x61, 0x73, 0x49, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64,
2220 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x19,
2221 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c,
2222 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c,
2223 0x75, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x2a, 0x8c, 0x01, 0x0a, 0x16, 0x41, 0x67, 0x67,
2224 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c,
2225 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x23, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49,
2226 0x4f, 0x4e, 0x5f, 0x54, 0x45, 0x4d, 0x50, 0x4f, 0x52, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55,
2227 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d,
2228 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x45, 0x4d, 0x50,
2229 0x4f, 0x52, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x54, 0x41, 0x10, 0x01, 0x12,
2230 0x26, 0x0a, 0x22, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54,
2231 0x45, 0x4d, 0x50, 0x4f, 0x52, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x55, 0x4d, 0x55, 0x4c,
2232 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x2a, 0x5e, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x50,
2233 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x1b, 0x44, 0x41, 0x54,
2234 0x41, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x44, 0x4f,
2235 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x00, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x41,
2236 0x54, 0x41, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x4e,
2237 0x4f, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x45, 0x44, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45,
2238 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x01, 0x42, 0x84, 0x01, 0x0a, 0x21, 0x69, 0x6f, 0x2e, 0x6f,
2239 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f,
2240 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d,
2241 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67,
2242 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e,
2243 0x69, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x6c, 0x69, 0x6d, 0x2f, 0x6f, 0x74,
2244 0x6c, 0x70, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x1e,
2245 0x4f, 0x70, 0x65, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x72,
2246 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x56, 0x31, 0x62, 0x06,
2247 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2248 }
2249
2250 var (
2251 file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescOnce sync.Once
2252 file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescData = file_opentelemetry_proto_metrics_v1_metrics_proto_rawDesc
2253 )
2254
2255 func file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescGZIP() []byte {
2256 file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescOnce.Do(func() {
2257 file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescData)
2258 })
2259 return file_opentelemetry_proto_metrics_v1_metrics_proto_rawDescData
2260 }
2261
2262 var file_opentelemetry_proto_metrics_v1_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
2263 var file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
2264 var file_opentelemetry_proto_metrics_v1_metrics_proto_goTypes = []interface{}{
2265 (AggregationTemporality)(0), // 0: opentelemetry.proto.metrics.v1.AggregationTemporality
2266 (DataPointFlags)(0), // 1: opentelemetry.proto.metrics.v1.DataPointFlags
2267 (*MetricsData)(nil), // 2: opentelemetry.proto.metrics.v1.MetricsData
2268 (*ResourceMetrics)(nil), // 3: opentelemetry.proto.metrics.v1.ResourceMetrics
2269 (*ScopeMetrics)(nil), // 4: opentelemetry.proto.metrics.v1.ScopeMetrics
2270 (*Metric)(nil), // 5: opentelemetry.proto.metrics.v1.Metric
2271 (*Gauge)(nil), // 6: opentelemetry.proto.metrics.v1.Gauge
2272 (*Sum)(nil), // 7: opentelemetry.proto.metrics.v1.Sum
2273 (*Histogram)(nil), // 8: opentelemetry.proto.metrics.v1.Histogram
2274 (*ExponentialHistogram)(nil), // 9: opentelemetry.proto.metrics.v1.ExponentialHistogram
2275 (*Summary)(nil), // 10: opentelemetry.proto.metrics.v1.Summary
2276 (*NumberDataPoint)(nil), // 11: opentelemetry.proto.metrics.v1.NumberDataPoint
2277 (*HistogramDataPoint)(nil), // 12: opentelemetry.proto.metrics.v1.HistogramDataPoint
2278 (*ExponentialHistogramDataPoint)(nil), // 13: opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint
2279 (*SummaryDataPoint)(nil), // 14: opentelemetry.proto.metrics.v1.SummaryDataPoint
2280 (*Exemplar)(nil), // 15: opentelemetry.proto.metrics.v1.Exemplar
2281 (*ExponentialHistogramDataPoint_Buckets)(nil), // 16: opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets
2282 (*SummaryDataPoint_ValueAtQuantile)(nil), // 17: opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile
2283 (*v1.Resource)(nil), // 18: opentelemetry.proto.resource.v1.Resource
2284 (*v11.InstrumentationScope)(nil), // 19: opentelemetry.proto.common.v1.InstrumentationScope
2285 (*v11.KeyValue)(nil), // 20: opentelemetry.proto.common.v1.KeyValue
2286 }
2287 var file_opentelemetry_proto_metrics_v1_metrics_proto_depIdxs = []int32{
2288 3, // 0: opentelemetry.proto.metrics.v1.MetricsData.resource_metrics:type_name -> opentelemetry.proto.metrics.v1.ResourceMetrics
2289 18, // 1: opentelemetry.proto.metrics.v1.ResourceMetrics.resource:type_name -> opentelemetry.proto.resource.v1.Resource
2290 4, // 2: opentelemetry.proto.metrics.v1.ResourceMetrics.scope_metrics:type_name -> opentelemetry.proto.metrics.v1.ScopeMetrics
2291 19, // 3: opentelemetry.proto.metrics.v1.ScopeMetrics.scope:type_name -> opentelemetry.proto.common.v1.InstrumentationScope
2292 5, // 4: opentelemetry.proto.metrics.v1.ScopeMetrics.metrics:type_name -> opentelemetry.proto.metrics.v1.Metric
2293 6, // 5: opentelemetry.proto.metrics.v1.Metric.gauge:type_name -> opentelemetry.proto.metrics.v1.Gauge
2294 7, // 6: opentelemetry.proto.metrics.v1.Metric.sum:type_name -> opentelemetry.proto.metrics.v1.Sum
2295 8, // 7: opentelemetry.proto.metrics.v1.Metric.histogram:type_name -> opentelemetry.proto.metrics.v1.Histogram
2296 9, // 8: opentelemetry.proto.metrics.v1.Metric.exponential_histogram:type_name -> opentelemetry.proto.metrics.v1.ExponentialHistogram
2297 10, // 9: opentelemetry.proto.metrics.v1.Metric.summary:type_name -> opentelemetry.proto.metrics.v1.Summary
2298 20, // 10: opentelemetry.proto.metrics.v1.Metric.metadata:type_name -> opentelemetry.proto.common.v1.KeyValue
2299 11, // 11: opentelemetry.proto.metrics.v1.Gauge.data_points:type_name -> opentelemetry.proto.metrics.v1.NumberDataPoint
2300 11, // 12: opentelemetry.proto.metrics.v1.Sum.data_points:type_name -> opentelemetry.proto.metrics.v1.NumberDataPoint
2301 0, // 13: opentelemetry.proto.metrics.v1.Sum.aggregation_temporality:type_name -> opentelemetry.proto.metrics.v1.AggregationTemporality
2302 12, // 14: opentelemetry.proto.metrics.v1.Histogram.data_points:type_name -> opentelemetry.proto.metrics.v1.HistogramDataPoint
2303 0, // 15: opentelemetry.proto.metrics.v1.Histogram.aggregation_temporality:type_name -> opentelemetry.proto.metrics.v1.AggregationTemporality
2304 13, // 16: opentelemetry.proto.metrics.v1.ExponentialHistogram.data_points:type_name -> opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint
2305 0, // 17: opentelemetry.proto.metrics.v1.ExponentialHistogram.aggregation_temporality:type_name -> opentelemetry.proto.metrics.v1.AggregationTemporality
2306 14, // 18: opentelemetry.proto.metrics.v1.Summary.data_points:type_name -> opentelemetry.proto.metrics.v1.SummaryDataPoint
2307 20, // 19: opentelemetry.proto.metrics.v1.NumberDataPoint.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
2308 15, // 20: opentelemetry.proto.metrics.v1.NumberDataPoint.exemplars:type_name -> opentelemetry.proto.metrics.v1.Exemplar
2309 20, // 21: opentelemetry.proto.metrics.v1.HistogramDataPoint.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
2310 15, // 22: opentelemetry.proto.metrics.v1.HistogramDataPoint.exemplars:type_name -> opentelemetry.proto.metrics.v1.Exemplar
2311 20, // 23: opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
2312 16, // 24: opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.positive:type_name -> opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets
2313 16, // 25: opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.negative:type_name -> opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets
2314 15, // 26: opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.exemplars:type_name -> opentelemetry.proto.metrics.v1.Exemplar
2315 20, // 27: opentelemetry.proto.metrics.v1.SummaryDataPoint.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
2316 17, // 28: opentelemetry.proto.metrics.v1.SummaryDataPoint.quantile_values:type_name -> opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile
2317 20, // 29: opentelemetry.proto.metrics.v1.Exemplar.filtered_attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
2318 30, // [30:30] is the sub-list for method output_type
2319 30, // [30:30] is the sub-list for method input_type
2320 30, // [30:30] is the sub-list for extension type_name
2321 30, // [30:30] is the sub-list for extension extendee
2322 0, // [0:30] is the sub-list for field type_name
2323 }
2324
2325 func init() { file_opentelemetry_proto_metrics_v1_metrics_proto_init() }
2326 func file_opentelemetry_proto_metrics_v1_metrics_proto_init() {
2327 if File_opentelemetry_proto_metrics_v1_metrics_proto != nil {
2328 return
2329 }
2330 if !protoimpl.UnsafeEnabled {
2331 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2332 switch v := v.(*MetricsData); i {
2333 case 0:
2334 return &v.state
2335 case 1:
2336 return &v.sizeCache
2337 case 2:
2338 return &v.unknownFields
2339 default:
2340 return nil
2341 }
2342 }
2343 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2344 switch v := v.(*ResourceMetrics); i {
2345 case 0:
2346 return &v.state
2347 case 1:
2348 return &v.sizeCache
2349 case 2:
2350 return &v.unknownFields
2351 default:
2352 return nil
2353 }
2354 }
2355 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2356 switch v := v.(*ScopeMetrics); i {
2357 case 0:
2358 return &v.state
2359 case 1:
2360 return &v.sizeCache
2361 case 2:
2362 return &v.unknownFields
2363 default:
2364 return nil
2365 }
2366 }
2367 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2368 switch v := v.(*Metric); i {
2369 case 0:
2370 return &v.state
2371 case 1:
2372 return &v.sizeCache
2373 case 2:
2374 return &v.unknownFields
2375 default:
2376 return nil
2377 }
2378 }
2379 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2380 switch v := v.(*Gauge); i {
2381 case 0:
2382 return &v.state
2383 case 1:
2384 return &v.sizeCache
2385 case 2:
2386 return &v.unknownFields
2387 default:
2388 return nil
2389 }
2390 }
2391 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2392 switch v := v.(*Sum); i {
2393 case 0:
2394 return &v.state
2395 case 1:
2396 return &v.sizeCache
2397 case 2:
2398 return &v.unknownFields
2399 default:
2400 return nil
2401 }
2402 }
2403 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2404 switch v := v.(*Histogram); i {
2405 case 0:
2406 return &v.state
2407 case 1:
2408 return &v.sizeCache
2409 case 2:
2410 return &v.unknownFields
2411 default:
2412 return nil
2413 }
2414 }
2415 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2416 switch v := v.(*ExponentialHistogram); i {
2417 case 0:
2418 return &v.state
2419 case 1:
2420 return &v.sizeCache
2421 case 2:
2422 return &v.unknownFields
2423 default:
2424 return nil
2425 }
2426 }
2427 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2428 switch v := v.(*Summary); i {
2429 case 0:
2430 return &v.state
2431 case 1:
2432 return &v.sizeCache
2433 case 2:
2434 return &v.unknownFields
2435 default:
2436 return nil
2437 }
2438 }
2439 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2440 switch v := v.(*NumberDataPoint); i {
2441 case 0:
2442 return &v.state
2443 case 1:
2444 return &v.sizeCache
2445 case 2:
2446 return &v.unknownFields
2447 default:
2448 return nil
2449 }
2450 }
2451 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2452 switch v := v.(*HistogramDataPoint); i {
2453 case 0:
2454 return &v.state
2455 case 1:
2456 return &v.sizeCache
2457 case 2:
2458 return &v.unknownFields
2459 default:
2460 return nil
2461 }
2462 }
2463 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2464 switch v := v.(*ExponentialHistogramDataPoint); i {
2465 case 0:
2466 return &v.state
2467 case 1:
2468 return &v.sizeCache
2469 case 2:
2470 return &v.unknownFields
2471 default:
2472 return nil
2473 }
2474 }
2475 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2476 switch v := v.(*SummaryDataPoint); i {
2477 case 0:
2478 return &v.state
2479 case 1:
2480 return &v.sizeCache
2481 case 2:
2482 return &v.unknownFields
2483 default:
2484 return nil
2485 }
2486 }
2487 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2488 switch v := v.(*Exemplar); i {
2489 case 0:
2490 return &v.state
2491 case 1:
2492 return &v.sizeCache
2493 case 2:
2494 return &v.unknownFields
2495 default:
2496 return nil
2497 }
2498 }
2499 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2500 switch v := v.(*ExponentialHistogramDataPoint_Buckets); i {
2501 case 0:
2502 return &v.state
2503 case 1:
2504 return &v.sizeCache
2505 case 2:
2506 return &v.unknownFields
2507 default:
2508 return nil
2509 }
2510 }
2511 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2512 switch v := v.(*SummaryDataPoint_ValueAtQuantile); i {
2513 case 0:
2514 return &v.state
2515 case 1:
2516 return &v.sizeCache
2517 case 2:
2518 return &v.unknownFields
2519 default:
2520 return nil
2521 }
2522 }
2523 }
2524 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[3].OneofWrappers = []interface{}{
2525 (*Metric_Gauge)(nil),
2526 (*Metric_Sum)(nil),
2527 (*Metric_Histogram)(nil),
2528 (*Metric_ExponentialHistogram)(nil),
2529 (*Metric_Summary)(nil),
2530 }
2531 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[9].OneofWrappers = []interface{}{
2532 (*NumberDataPoint_AsDouble)(nil),
2533 (*NumberDataPoint_AsInt)(nil),
2534 }
2535 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[10].OneofWrappers = []interface{}{}
2536 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[11].OneofWrappers = []interface{}{}
2537 file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes[13].OneofWrappers = []interface{}{
2538 (*Exemplar_AsDouble)(nil),
2539 (*Exemplar_AsInt)(nil),
2540 }
2541 type x struct{}
2542 out := protoimpl.TypeBuilder{
2543 File: protoimpl.DescBuilder{
2544 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2545 RawDescriptor: file_opentelemetry_proto_metrics_v1_metrics_proto_rawDesc,
2546 NumEnums: 2,
2547 NumMessages: 16,
2548 NumExtensions: 0,
2549 NumServices: 0,
2550 },
2551 GoTypes: file_opentelemetry_proto_metrics_v1_metrics_proto_goTypes,
2552 DependencyIndexes: file_opentelemetry_proto_metrics_v1_metrics_proto_depIdxs,
2553 EnumInfos: file_opentelemetry_proto_metrics_v1_metrics_proto_enumTypes,
2554 MessageInfos: file_opentelemetry_proto_metrics_v1_metrics_proto_msgTypes,
2555 }.Build()
2556 File_opentelemetry_proto_metrics_v1_metrics_proto = out.File
2557 file_opentelemetry_proto_metrics_v1_metrics_proto_rawDesc = nil
2558 file_opentelemetry_proto_metrics_v1_metrics_proto_goTypes = nil
2559 file_opentelemetry_proto_metrics_v1_metrics_proto_depIdxs = nil
2560 }