Debian Codegraph @

slim/otlp/trace/v1/trace.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/trace/v1/trace.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 // SpanFlags represents constants used to interpret the
40 // Span.flags field, which is protobuf 'fixed32' type and is to
41 // be used as bit-fields. Each non-zero value defined in this enum is
42 // a bit-mask. To extract the bit-field, for example, use an
43 // expression like:
44 //
45 // (span.flags & SPAN_FLAGS_TRACE_FLAGS_MASK)
46 //
47 // See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
48 //
49 // Note that Span flags were introduced in version 1.1 of the
50 // OpenTelemetry protocol. Older Span producers do not set this
51 // field, consequently consumers should not rely on the absence of a
52 // particular flag bit to indicate the presence of a particular feature.
53 type SpanFlags int32
54
55 const (
56 // The zero value for the enum. Should not be used for comparisons.
57 // Instead use bitwise "and" with the appropriate mask as shown above.
58 SpanFlags_SPAN_FLAGS_DO_NOT_USE SpanFlags = 0
59 // Bits 0-7 are used for trace flags.
60 SpanFlags_SPAN_FLAGS_TRACE_FLAGS_MASK SpanFlags = 255
61 // Bits 8 and 9 are used to indicate that the parent span or link span is remote.
62 // Bit 8 (`HAS_IS_REMOTE`) indicates whether the value is known.
63 // Bit 9 (`IS_REMOTE`) indicates whether the span or link is remote.
64 SpanFlags_SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK SpanFlags = 256
65 SpanFlags_SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK SpanFlags = 512
66 )
67
68 // Enum value maps for SpanFlags.
69 var (
70 SpanFlags_name = map[int32]string{
71 0: "SPAN_FLAGS_DO_NOT_USE",
72 255: "SPAN_FLAGS_TRACE_FLAGS_MASK",
73 256: "SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK",
74 512: "SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK",
75 }
76 SpanFlags_value = map[string]int32{
77 "SPAN_FLAGS_DO_NOT_USE": 0,
78 "SPAN_FLAGS_TRACE_FLAGS_MASK": 255,
79 "SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK": 256,
80 "SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK": 512,
81 }
82 )
83
84 func (x SpanFlags) Enum() *SpanFlags {
85 p := new(SpanFlags)
86 *p = x
87 return p
88 }
89
90 func (x SpanFlags) String() string {
91 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
92 }
93
94 func (SpanFlags) Descriptor() protoreflect.EnumDescriptor {
95 return file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[0].Descriptor()
96 }
97
98 func (SpanFlags) Type() protoreflect.EnumType {
99 return &file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[0]
100 }
101
102 func (x SpanFlags) Number() protoreflect.EnumNumber {
103 return protoreflect.EnumNumber(x)
104 }
105
106 // Deprecated: Use SpanFlags.Descriptor instead.
107 func (SpanFlags) EnumDescriptor() ([]byte, []int) {
108 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0}
109 }
110
111 // SpanKind is the type of span. Can be used to specify additional relationships between spans
112 // in addition to a parent/child relationship.
113 type Span_SpanKind int32
114
115 const (
116 // Unspecified. Do NOT use as default.
117 // Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED.
118 Span_SPAN_KIND_UNSPECIFIED Span_SpanKind = 0
119 // Indicates that the span represents an internal operation within an application,
120 // as opposed to an operation happening at the boundaries. Default value.
121 Span_SPAN_KIND_INTERNAL Span_SpanKind = 1
122 // Indicates that the span covers server-side handling of an RPC or other
123 // remote network request.
124 Span_SPAN_KIND_SERVER Span_SpanKind = 2
125 // Indicates that the span describes a request to some remote service.
126 Span_SPAN_KIND_CLIENT Span_SpanKind = 3
127 // Indicates that the span describes a producer sending a message to a broker.
128 // Unlike CLIENT and SERVER, there is often no direct critical path latency relationship
129 // between producer and consumer spans. A PRODUCER span ends when the message was accepted
130 // by the broker while the logical processing of the message might span a much longer time.
131 Span_SPAN_KIND_PRODUCER Span_SpanKind = 4
132 // Indicates that the span describes consumer receiving a message from a broker.
133 // Like the PRODUCER kind, there is often no direct critical path latency relationship
134 // between producer and consumer spans.
135 Span_SPAN_KIND_CONSUMER Span_SpanKind = 5
136 )
137
138 // Enum value maps for Span_SpanKind.
139 var (
140 Span_SpanKind_name = map[int32]string{
141 0: "SPAN_KIND_UNSPECIFIED",
142 1: "SPAN_KIND_INTERNAL",
143 2: "SPAN_KIND_SERVER",
144 3: "SPAN_KIND_CLIENT",
145 4: "SPAN_KIND_PRODUCER",
146 5: "SPAN_KIND_CONSUMER",
147 }
148 Span_SpanKind_value = map[string]int32{
149 "SPAN_KIND_UNSPECIFIED": 0,
150 "SPAN_KIND_INTERNAL": 1,
151 "SPAN_KIND_SERVER": 2,
152 "SPAN_KIND_CLIENT": 3,
153 "SPAN_KIND_PRODUCER": 4,
154 "SPAN_KIND_CONSUMER": 5,
155 }
156 )
157
158 func (x Span_SpanKind) Enum() *Span_SpanKind {
159 p := new(Span_SpanKind)
160 *p = x
161 return p
162 }
163
164 func (x Span_SpanKind) String() string {
165 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
166 }
167
168 func (Span_SpanKind) Descriptor() protoreflect.EnumDescriptor {
169 return file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[1].Descriptor()
170 }
171
172 func (Span_SpanKind) Type() protoreflect.EnumType {
173 return &file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[1]
174 }
175
176 func (x Span_SpanKind) Number() protoreflect.EnumNumber {
177 return protoreflect.EnumNumber(x)
178 }
179
180 // Deprecated: Use Span_SpanKind.Descriptor instead.
181 func (Span_SpanKind) EnumDescriptor() ([]byte, []int) {
182 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{3, 0}
183 }
184
185 // For the semantics of status codes see
186 // https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status
187 type Status_StatusCode int32
188
189 const (
190 // The default status.
191 Status_STATUS_CODE_UNSET Status_StatusCode = 0
192 // The Span has been validated by an Application developer or Operator to
193 // have completed successfully.
194 Status_STATUS_CODE_OK Status_StatusCode = 1
195 // The Span contains an error.
196 Status_STATUS_CODE_ERROR Status_StatusCode = 2
197 )
198
199 // Enum value maps for Status_StatusCode.
200 var (
201 Status_StatusCode_name = map[int32]string{
202 0: "STATUS_CODE_UNSET",
203 1: "STATUS_CODE_OK",
204 2: "STATUS_CODE_ERROR",
205 }
206 Status_StatusCode_value = map[string]int32{
207 "STATUS_CODE_UNSET": 0,
208 "STATUS_CODE_OK": 1,
209 "STATUS_CODE_ERROR": 2,
210 }
211 )
212
213 func (x Status_StatusCode) Enum() *Status_StatusCode {
214 p := new(Status_StatusCode)
215 *p = x
216 return p
217 }
218
219 func (x Status_StatusCode) String() string {
220 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
221 }
222
223 func (Status_StatusCode) Descriptor() protoreflect.EnumDescriptor {
224 return file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[2].Descriptor()
225 }
226
227 func (Status_StatusCode) Type() protoreflect.EnumType {
228 return &file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[2]
229 }
230
231 func (x Status_StatusCode) Number() protoreflect.EnumNumber {
232 return protoreflect.EnumNumber(x)
233 }
234
235 // Deprecated: Use Status_StatusCode.Descriptor instead.
236 func (Status_StatusCode) EnumDescriptor() ([]byte, []int) {
237 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{4, 0}
238 }
239
240 // TracesData represents the traces data that can be stored in a persistent storage,
241 // OR can be embedded by other protocols that transfer OTLP traces data but do
242 // not implement the OTLP protocol.
243 //
244 // The main difference between this message and collector protocol is that
245 // in this message there will not be any "control" or "metadata" specific to
246 // OTLP protocol.
247 //
248 // When new fields are added into this message, the OTLP request MUST be updated
249 // as well.
250 type TracesData struct {
251 state protoimpl.MessageState
252 sizeCache protoimpl.SizeCache
253 unknownFields protoimpl.UnknownFields
254
255 // An array of ResourceSpans.
256 // For data coming from a single resource this array will typically contain
257 // one element. Intermediary nodes that receive data from multiple origins
258 // typically batch the data before forwarding further and in that case this
259 // array will contain multiple elements.
260 ResourceSpans []*ResourceSpans `protobuf:"bytes,1,rep,name=resource_spans,json=resourceSpans,proto3" json:"resource_spans,omitempty"`
261 }
262
263 func (x *TracesData) Reset() {
264 *x = TracesData{}
265 if protoimpl.UnsafeEnabled {
266 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[0]
267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268 ms.StoreMessageInfo(mi)
269 }
270 }
271
272 func (x *TracesData) String() string {
273 return protoimpl.X.MessageStringOf(x)
274 }
275
276 func (*TracesData) ProtoMessage() {}
277
278 func (x *TracesData) ProtoReflect() protoreflect.Message {
279 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[0]
280 if protoimpl.UnsafeEnabled && x != nil {
281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
282 if ms.LoadMessageInfo() == nil {
283 ms.StoreMessageInfo(mi)
284 }
285 return ms
286 }
287 return mi.MessageOf(x)
288 }
289
290 // Deprecated: Use TracesData.ProtoReflect.Descriptor instead.
291 func (*TracesData) Descriptor() ([]byte, []int) {
292 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0}
293 }
294
295 func (x *TracesData) GetResourceSpans() []*ResourceSpans {
296 if x != nil {
297 return x.ResourceSpans
298 }
299 return nil
300 }
301
302 // A collection of ScopeSpans from a Resource.
303 type ResourceSpans struct {
304 state protoimpl.MessageState
305 sizeCache protoimpl.SizeCache
306 unknownFields protoimpl.UnknownFields
307
308 // The resource for the spans in this message.
309 // If this field is not set then no resource info is known.
310 Resource *v1.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
311 // A list of ScopeSpans that originate from a resource.
312 ScopeSpans []*ScopeSpans `protobuf:"bytes,2,rep,name=scope_spans,json=scopeSpans,proto3" json:"scope_spans,omitempty"`
313 // The Schema URL, if known. This is the identifier of the Schema that the resource data
314 // is recorded in. Notably, the last part of the URL path is the version number of the
315 // schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see
316 // https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
317 // This schema_url applies to the data in the "resource" field. It does not apply
318 // to the data in the "scope_spans" field which have their own schema_url field.
319 SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
320 }
321
322 func (x *ResourceSpans) Reset() {
323 *x = ResourceSpans{}
324 if protoimpl.UnsafeEnabled {
325 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[1]
326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
327 ms.StoreMessageInfo(mi)
328 }
329 }
330
331 func (x *ResourceSpans) String() string {
332 return protoimpl.X.MessageStringOf(x)
333 }
334
335 func (*ResourceSpans) ProtoMessage() {}
336
337 func (x *ResourceSpans) ProtoReflect() protoreflect.Message {
338 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[1]
339 if protoimpl.UnsafeEnabled && x != nil {
340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
341 if ms.LoadMessageInfo() == nil {
342 ms.StoreMessageInfo(mi)
343 }
344 return ms
345 }
346 return mi.MessageOf(x)
347 }
348
349 // Deprecated: Use ResourceSpans.ProtoReflect.Descriptor instead.
350 func (*ResourceSpans) Descriptor() ([]byte, []int) {
351 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{1}
352 }
353
354 func (x *ResourceSpans) GetResource() *v1.Resource {
355 if x != nil {
356 return x.Resource
357 }
358 return nil
359 }
360
361 func (x *ResourceSpans) GetScopeSpans() []*ScopeSpans {
362 if x != nil {
363 return x.ScopeSpans
364 }
365 return nil
366 }
367
368 func (x *ResourceSpans) GetSchemaUrl() string {
369 if x != nil {
370 return x.SchemaUrl
371 }
372 return ""
373 }
374
375 // A collection of Spans produced by an InstrumentationScope.
376 type ScopeSpans struct {
377 state protoimpl.MessageState
378 sizeCache protoimpl.SizeCache
379 unknownFields protoimpl.UnknownFields
380
381 // The instrumentation scope information for the spans in this message.
382 // Semantically when InstrumentationScope isn't set, it is equivalent with
383 // an empty instrumentation scope name (unknown).
384 Scope *v11.InstrumentationScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
385 // A list of Spans that originate from an instrumentation scope.
386 Spans []*Span `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"`
387 // The Schema URL, if known. This is the identifier of the Schema that the span data
388 // is recorded in. Notably, the last part of the URL path is the version number of the
389 // schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see
390 // https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
391 // This schema_url applies to the data in the "scope" field and all spans and span
392 // events in the "spans" field.
393 SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
394 }
395
396 func (x *ScopeSpans) Reset() {
397 *x = ScopeSpans{}
398 if protoimpl.UnsafeEnabled {
399 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[2]
400 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
401 ms.StoreMessageInfo(mi)
402 }
403 }
404
405 func (x *ScopeSpans) String() string {
406 return protoimpl.X.MessageStringOf(x)
407 }
408
409 func (*ScopeSpans) ProtoMessage() {}
410
411 func (x *ScopeSpans) ProtoReflect() protoreflect.Message {
412 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[2]
413 if protoimpl.UnsafeEnabled && x != nil {
414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
415 if ms.LoadMessageInfo() == nil {
416 ms.StoreMessageInfo(mi)
417 }
418 return ms
419 }
420 return mi.MessageOf(x)
421 }
422
423 // Deprecated: Use ScopeSpans.ProtoReflect.Descriptor instead.
424 func (*ScopeSpans) Descriptor() ([]byte, []int) {
425 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{2}
426 }
427
428 func (x *ScopeSpans) GetScope() *v11.InstrumentationScope {
429 if x != nil {
430 return x.Scope
431 }
432 return nil
433 }
434
435 func (x *ScopeSpans) GetSpans() []*Span {
436 if x != nil {
437 return x.Spans
438 }
439 return nil
440 }
441
442 func (x *ScopeSpans) GetSchemaUrl() string {
443 if x != nil {
444 return x.SchemaUrl
445 }
446 return ""
447 }
448
449 // A Span represents a single operation performed by a single component of the system.
450 //
451 // The next available field id is 17.
452 type Span struct {
453 state protoimpl.MessageState
454 sizeCache protoimpl.SizeCache
455 unknownFields protoimpl.UnknownFields
456
457 // A unique identifier for a trace. All spans from the same trace share
458 // the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
459 // of length other than 16 bytes is considered invalid (empty string in OTLP/JSON
460 // is zero-length and thus is also invalid).
461 //
462 // This field is required.
463 TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
464 // A unique identifier for a span within a trace, assigned when the span
465 // is created. The ID is an 8-byte array. An ID with all zeroes OR of length
466 // other than 8 bytes is considered invalid (empty string in OTLP/JSON
467 // is zero-length and thus is also invalid).
468 //
469 // This field is required.
470 SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
471 // trace_state conveys information about request position in multiple distributed tracing graphs.
472 // It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header
473 // See also https://github.com/w3c/distributed-tracing for more details about this field.
474 TraceState string `protobuf:"bytes,3,opt,name=trace_state,json=traceState,proto3" json:"trace_state,omitempty"`
475 // The `span_id` of this span's parent span. If this is a root span, then this
476 // field must be empty. The ID is an 8-byte array.
477 ParentSpanId []byte `protobuf:"bytes,4,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"`
478 // Flags, a bit field.
479 //
480 // Bits 0-7 (8 least significant bits) are the trace flags as defined in W3C Trace
481 // Context specification. To read the 8-bit W3C trace flag, use
482 // `flags & SPAN_FLAGS_TRACE_FLAGS_MASK`.
483 //
484 // See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
485 //
486 // Bits 8 and 9 represent the 3 states of whether a span's parent
487 // is remote. The states are (unknown, is not remote, is remote).
488 // To read whether the value is known, use `(flags & SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK) != 0`.
489 // To read whether the span is remote, use `(flags & SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK) != 0`.
490 //
491 // When creating span messages, if the message is logically forwarded from another source
492 // with an equivalent flags fields (i.e., usually another OTLP span message), the field SHOULD
493 // be copied as-is. If creating from a source that does not have an equivalent flags field
494 // (such as a runtime representation of an OpenTelemetry span), the high 22 bits MUST
495 // be set to zero.
496 // Readers MUST NOT assume that bits 10-31 (22 most significant bits) will be zero.
497 //
498 // [Optional].
499 Flags uint32 `protobuf:"fixed32,16,opt,name=flags,proto3" json:"flags,omitempty"`
500 // A description of the span's operation.
501 //
502 // For example, the name can be a qualified method name or a file name
503 // and a line number where the operation is called. A best practice is to use
504 // the same display name at the same call point in an application.
505 // This makes it easier to correlate spans in different traces.
506 //
507 // This field is semantically required to be set to non-empty string.
508 // Empty value is equivalent to an unknown span name.
509 //
510 // This field is required.
511 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
512 // Distinguishes between spans generated in a particular context. For example,
513 // two spans with the same name may be distinguished using `CLIENT` (caller)
514 // and `SERVER` (callee) to identify queueing latency associated with the span.
515 Kind Span_SpanKind `protobuf:"varint,6,opt,name=kind,proto3,enum=opentelemetry.proto.trace.v1.Span_SpanKind" json:"kind,omitempty"`
516 // The start time of the span. On the client side, this is the time
517 // kept by the local machine where the span execution starts. On the server side, this
518 // is the time when the server's application handler starts running.
519 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
520 //
521 // This field is semantically required and it is expected that end_time >= start_time.
522 StartTimeUnixNano uint64 `protobuf:"fixed64,7,opt,name=start_time_unix_nano,json=startTimeUnixNano,proto3" json:"start_time_unix_nano,omitempty"`
523 // The end time of the span. On the client side, this is the time
524 // kept by the local machine where the span execution ends. On the server side, this
525 // is the time when the server application handler stops running.
526 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
527 //
528 // This field is semantically required and it is expected that end_time >= start_time.
529 EndTimeUnixNano uint64 `protobuf:"fixed64,8,opt,name=end_time_unix_nano,json=endTimeUnixNano,proto3" json:"end_time_unix_nano,omitempty"`
530 // A collection of key/value pairs. Note, global attributes
531 // like server name can be set using the resource API. Examples of attributes:
532 //
533 // "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
534 // "/http/server_latency": 300
535 // "example.com/myattribute": true
536 // "example.com/score": 10.239
537 //
538 // Attribute keys MUST be unique (it is not allowed to have more than one
539 // attribute with the same key).
540 // The behavior of software that receives duplicated keys can be unpredictable.
541 Attributes []*v11.KeyValue `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty"`
542 // The number of attributes that were discarded. Attributes
543 // can be discarded because their keys are too long or because there are too many
544 // attributes. If this value is 0, then no attributes were dropped.
545 DroppedAttributesCount uint32 `protobuf:"varint,10,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
546 // A collection of Event items.
547 Events []*Span_Event `protobuf:"bytes,11,rep,name=events,proto3" json:"events,omitempty"`
548 // The number of dropped events. If the value is 0, then no
549 // events were dropped.
550 DroppedEventsCount uint32 `protobuf:"varint,12,opt,name=dropped_events_count,json=droppedEventsCount,proto3" json:"dropped_events_count,omitempty"`
551 // A collection of Links, which are references from this span to a span
552 // in the same or different trace.
553 Links []*Span_Link `protobuf:"bytes,13,rep,name=links,proto3" json:"links,omitempty"`
554 // The number of dropped links after the maximum size was
555 // enforced. If this value is 0, then no links were dropped.
556 DroppedLinksCount uint32 `protobuf:"varint,14,opt,name=dropped_links_count,json=droppedLinksCount,proto3" json:"dropped_links_count,omitempty"`
557 // An optional final status for this span. Semantically when Status isn't set, it means
558 // span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).
559 Status *Status `protobuf:"bytes,15,opt,name=status,proto3" json:"status,omitempty"`
560 }
561
562 func (x *Span) Reset() {
563 *x = Span{}
564 if protoimpl.UnsafeEnabled {
565 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[3]
566 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
567 ms.StoreMessageInfo(mi)
568 }
569 }
570
571 func (x *Span) String() string {
572 return protoimpl.X.MessageStringOf(x)
573 }
574
575 func (*Span) ProtoMessage() {}
576
577 func (x *Span) ProtoReflect() protoreflect.Message {
578 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[3]
579 if protoimpl.UnsafeEnabled && x != nil {
580 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
581 if ms.LoadMessageInfo() == nil {
582 ms.StoreMessageInfo(mi)
583 }
584 return ms
585 }
586 return mi.MessageOf(x)
587 }
588
589 // Deprecated: Use Span.ProtoReflect.Descriptor instead.
590 func (*Span) Descriptor() ([]byte, []int) {
591 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{3}
592 }
593
594 func (x *Span) GetTraceId() []byte {
595 if x != nil {
596 return x.TraceId
597 }
598 return nil
599 }
600
601 func (x *Span) GetSpanId() []byte {
602 if x != nil {
603 return x.SpanId
604 }
605 return nil
606 }
607
608 func (x *Span) GetTraceState() string {
609 if x != nil {
610 return x.TraceState
611 }
612 return ""
613 }
614
615 func (x *Span) GetParentSpanId() []byte {
616 if x != nil {
617 return x.ParentSpanId
618 }
619 return nil
620 }
621
622 func (x *Span) GetFlags() uint32 {
623 if x != nil {
624 return x.Flags
625 }
626 return 0
627 }
628
629 func (x *Span) GetName() string {
630 if x != nil {
631 return x.Name
632 }
633 return ""
634 }
635
636 func (x *Span) GetKind() Span_SpanKind {
637 if x != nil {
638 return x.Kind
639 }
640 return Span_SPAN_KIND_UNSPECIFIED
641 }
642
643 func (x *Span) GetStartTimeUnixNano() uint64 {
644 if x != nil {
645 return x.StartTimeUnixNano
646 }
647 return 0
648 }
649
650 func (x *Span) GetEndTimeUnixNano() uint64 {
651 if x != nil {
652 return x.EndTimeUnixNano
653 }
654 return 0
655 }
656
657 func (x *Span) GetAttributes() []*v11.KeyValue {
658 if x != nil {
659 return x.Attributes
660 }
661 return nil
662 }
663
664 func (x *Span) GetDroppedAttributesCount() uint32 {
665 if x != nil {
666 return x.DroppedAttributesCount
667 }
668 return 0
669 }
670
671 func (x *Span) GetEvents() []*Span_Event {
672 if x != nil {
673 return x.Events
674 }
675 return nil
676 }
677
678 func (x *Span) GetDroppedEventsCount() uint32 {
679 if x != nil {
680 return x.DroppedEventsCount
681 }
682 return 0
683 }
684
685 func (x *Span) GetLinks() []*Span_Link {
686 if x != nil {
687 return x.Links
688 }
689 return nil
690 }
691
692 func (x *Span) GetDroppedLinksCount() uint32 {
693 if x != nil {
694 return x.DroppedLinksCount
695 }
696 return 0
697 }
698
699 func (x *Span) GetStatus() *Status {
700 if x != nil {
701 return x.Status
702 }
703 return nil
704 }
705
706 // The Status type defines a logical error model that is suitable for different
707 // programming environments, including REST APIs and RPC APIs.
708 type Status struct {
709 state protoimpl.MessageState
710 sizeCache protoimpl.SizeCache
711 unknownFields protoimpl.UnknownFields
712
713 // A developer-facing human readable error message.
714 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
715 // The status code.
716 Code Status_StatusCode `protobuf:"varint,3,opt,name=code,proto3,enum=opentelemetry.proto.trace.v1.Status_StatusCode" json:"code,omitempty"`
717 }
718
719 func (x *Status) Reset() {
720 *x = Status{}
721 if protoimpl.UnsafeEnabled {
722 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[4]
723 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
724 ms.StoreMessageInfo(mi)
725 }
726 }
727
728 func (x *Status) String() string {
729 return protoimpl.X.MessageStringOf(x)
730 }
731
732 func (*Status) ProtoMessage() {}
733
734 func (x *Status) ProtoReflect() protoreflect.Message {
735 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[4]
736 if protoimpl.UnsafeEnabled && x != nil {
737 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
738 if ms.LoadMessageInfo() == nil {
739 ms.StoreMessageInfo(mi)
740 }
741 return ms
742 }
743 return mi.MessageOf(x)
744 }
745
746 // Deprecated: Use Status.ProtoReflect.Descriptor instead.
747 func (*Status) Descriptor() ([]byte, []int) {
748 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{4}
749 }
750
751 func (x *Status) GetMessage() string {
752 if x != nil {
753 return x.Message
754 }
755 return ""
756 }
757
758 func (x *Status) GetCode() Status_StatusCode {
759 if x != nil {
760 return x.Code
761 }
762 return Status_STATUS_CODE_UNSET
763 }
764
765 // Event is a time-stamped annotation of the span, consisting of user-supplied
766 // text description and key-value pairs.
767 type Span_Event struct {
768 state protoimpl.MessageState
769 sizeCache protoimpl.SizeCache
770 unknownFields protoimpl.UnknownFields
771
772 // The time the event occurred.
773 TimeUnixNano uint64 `protobuf:"fixed64,1,opt,name=time_unix_nano,json=timeUnixNano,proto3" json:"time_unix_nano,omitempty"`
774 // The name of the event.
775 // This field is semantically required to be set to non-empty string.
776 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
777 // A collection of attribute key/value pairs on the event.
778 // Attribute keys MUST be unique (it is not allowed to have more than one
779 // attribute with the same key).
780 // The behavior of software that receives duplicated keys can be unpredictable.
781 Attributes []*v11.KeyValue `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
782 // The number of dropped attributes. If the value is 0,
783 // then no attributes were dropped.
784 DroppedAttributesCount uint32 `protobuf:"varint,4,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
785 }
786
787 func (x *Span_Event) Reset() {
788 *x = Span_Event{}
789 if protoimpl.UnsafeEnabled {
790 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[5]
791 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
792 ms.StoreMessageInfo(mi)
793 }
794 }
795
796 func (x *Span_Event) String() string {
797 return protoimpl.X.MessageStringOf(x)
798 }
799
800 func (*Span_Event) ProtoMessage() {}
801
802 func (x *Span_Event) ProtoReflect() protoreflect.Message {
803 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[5]
804 if protoimpl.UnsafeEnabled && x != nil {
805 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
806 if ms.LoadMessageInfo() == nil {
807 ms.StoreMessageInfo(mi)
808 }
809 return ms
810 }
811 return mi.MessageOf(x)
812 }
813
814 // Deprecated: Use Span_Event.ProtoReflect.Descriptor instead.
815 func (*Span_Event) Descriptor() ([]byte, []int) {
816 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{3, 0}
817 }
818
819 func (x *Span_Event) GetTimeUnixNano() uint64 {
820 if x != nil {
821 return x.TimeUnixNano
822 }
823 return 0
824 }
825
826 func (x *Span_Event) GetName() string {
827 if x != nil {
828 return x.Name
829 }
830 return ""
831 }
832
833 func (x *Span_Event) GetAttributes() []*v11.KeyValue {
834 if x != nil {
835 return x.Attributes
836 }
837 return nil
838 }
839
840 func (x *Span_Event) GetDroppedAttributesCount() uint32 {
841 if x != nil {
842 return x.DroppedAttributesCount
843 }
844 return 0
845 }
846
847 // A pointer from the current span to another span in the same trace or in a
848 // different trace. For example, this can be used in batching operations,
849 // where a single batch handler processes multiple requests from different
850 // traces or when the handler receives a request from a different project.
851 type Span_Link struct {
852 state protoimpl.MessageState
853 sizeCache protoimpl.SizeCache
854 unknownFields protoimpl.UnknownFields
855
856 // A unique identifier of a trace that this linked span is part of. The ID is a
857 // 16-byte array.
858 TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
859 // A unique identifier for the linked span. The ID is an 8-byte array.
860 SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
861 // The trace_state associated with the link.
862 TraceState string `protobuf:"bytes,3,opt,name=trace_state,json=traceState,proto3" json:"trace_state,omitempty"`
863 // A collection of attribute key/value pairs on the link.
864 // Attribute keys MUST be unique (it is not allowed to have more than one
865 // attribute with the same key).
866 // The behavior of software that receives duplicated keys can be unpredictable.
867 Attributes []*v11.KeyValue `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`
868 // The number of dropped attributes. If the value is 0,
869 // then no attributes were dropped.
870 DroppedAttributesCount uint32 `protobuf:"varint,5,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
871 // Flags, a bit field.
872 //
873 // Bits 0-7 (8 least significant bits) are the trace flags as defined in W3C Trace
874 // Context specification. To read the 8-bit W3C trace flag, use
875 // `flags & SPAN_FLAGS_TRACE_FLAGS_MASK`.
876 //
877 // See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
878 //
879 // Bits 8 and 9 represent the 3 states of whether the link is remote.
880 // The states are (unknown, is not remote, is remote).
881 // To read whether the value is known, use `(flags & SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK) != 0`.
882 // To read whether the link is remote, use `(flags & SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK) != 0`.
883 //
884 // Readers MUST NOT assume that bits 10-31 (22 most significant bits) will be zero.
885 // When creating new spans, bits 10-31 (most-significant 22-bits) MUST be zero.
886 //
887 // [Optional].
888 Flags uint32 `protobuf:"fixed32,6,opt,name=flags,proto3" json:"flags,omitempty"`
889 }
890
891 func (x *Span_Link) Reset() {
892 *x = Span_Link{}
893 if protoimpl.UnsafeEnabled {
894 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[6]
895 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
896 ms.StoreMessageInfo(mi)
897 }
898 }
899
900 func (x *Span_Link) String() string {
901 return protoimpl.X.MessageStringOf(x)
902 }
903
904 func (*Span_Link) ProtoMessage() {}
905
906 func (x *Span_Link) ProtoReflect() protoreflect.Message {
907 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[6]
908 if protoimpl.UnsafeEnabled && x != nil {
909 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
910 if ms.LoadMessageInfo() == nil {
911 ms.StoreMessageInfo(mi)
912 }
913 return ms
914 }
915 return mi.MessageOf(x)
916 }
917
918 // Deprecated: Use Span_Link.ProtoReflect.Descriptor instead.
919 func (*Span_Link) Descriptor() ([]byte, []int) {
920 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{3, 1}
921 }
922
923 func (x *Span_Link) GetTraceId() []byte {
924 if x != nil {
925 return x.TraceId
926 }
927 return nil
928 }
929
930 func (x *Span_Link) GetSpanId() []byte {
931 if x != nil {
932 return x.SpanId
933 }
934 return nil
935 }
936
937 func (x *Span_Link) GetTraceState() string {
938 if x != nil {
939 return x.TraceState
940 }
941 return ""
942 }
943
944 func (x *Span_Link) GetAttributes() []*v11.KeyValue {
945 if x != nil {
946 return x.Attributes
947 }
948 return nil
949 }
950
951 func (x *Span_Link) GetDroppedAttributesCount() uint32 {
952 if x != nil {
953 return x.DroppedAttributesCount
954 }
955 return 0
956 }
957
958 func (x *Span_Link) GetFlags() uint32 {
959 if x != nil {
960 return x.Flags
961 }
962 return 0
963 }
964
965 var File_opentelemetry_proto_trace_v1_trace_proto protoreflect.FileDescriptor
966
967 var file_opentelemetry_proto_trace_v1_trace_proto_rawDesc = []byte{
968 0x0a, 0x28, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f,
969 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74,
970 0x72, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x6f, 0x70, 0x65, 0x6e,
971 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
972 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x2a, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
973 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f,
974 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
975 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65,
976 0x74, 0x72, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
977 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
978 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x63, 0x65, 0x73, 0x44, 0x61,
979 0x74, 0x61, 0x12, 0x52, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73,
980 0x70, 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6f, 0x70, 0x65,
981 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
982 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
983 0x63, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
984 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x22, 0xc8, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75,
985 0x72, 0x63, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f,
986 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x70, 0x65,
987 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
988 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73,
989 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,
990 0x49, 0x0a, 0x0b, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x18, 0x02,
991 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d,
992 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65,
993 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x52, 0x0a,
994 0x73, 0x63, 0x6f, 0x70, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63,
995 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
996 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55, 0x72, 0x6c, 0x4a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0xe9,
997 0x07, 0x22, 0xb0, 0x01, 0x0a, 0x0a, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73,
998 0x12, 0x49, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
999 0x33, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e,
1000 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e,
1001 0x49, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
1002 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x05, 0x73,
1003 0x70, 0x61, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x70, 0x65,
1004 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1005 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x05,
1006 0x73, 0x70, 0x61, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,
1007 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x6d,
1008 0x61, 0x55, 0x72, 0x6c, 0x22, 0xc8, 0x0a, 0x0a, 0x04, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x19, 0x0a,
1009 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
1010 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e,
1011 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e, 0x49,
1012 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65,
1013 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61,
1014 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x70, 0x61,
1015 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x65,
1016 0x6e, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67,
1017 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x07, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x12,
1018 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
1019 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e,
1020 0x32, 0x2b, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79,
1021 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
1022 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b,
1023 0x69, 0x6e, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d,
1024 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28,
1025 0x06, 0x52, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78,
1026 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x2b, 0x0a, 0x12, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1027 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x06,
1028 0x52, 0x0f, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e,
1029 0x6f, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18,
1030 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65,
1031 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
1032 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a,
1033 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x64, 0x72,
1034 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
1035 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x64, 0x72,
1036 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x43,
1037 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0b,
1038 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d,
1039 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65,
1040 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06,
1041 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65,
1042 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c,
1043 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x45, 0x76, 0x65,
1044 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x6b,
1045 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
1046 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72,
1047 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x4c, 0x69, 0x6e, 0x6b,
1048 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x72, 0x6f, 0x70, 0x70,
1049 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e,
1050 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x4c, 0x69, 0x6e,
1051 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
1052 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
1053 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72,
1054 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
1055 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0xc4, 0x01, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12,
1056 0x24, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e,
1057 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69,
1058 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
1059 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74,
1060 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
1061 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
1062 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65,
1063 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
1064 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x74,
1065 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04,
1066 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x74,
1067 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xf4, 0x01, 0x0a,
1068 0x04, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69,
1069 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64,
1070 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
1071 0x0c, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x72, 0x61,
1072 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
1073 0x74, 0x72, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74,
1074 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27,
1075 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70,
1076 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b,
1077 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
1078 0x74, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61,
1079 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
1080 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74,
1081 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a,
1082 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x07, 0x52, 0x05, 0x66, 0x6c,
1083 0x61, 0x67, 0x73, 0x22, 0x99, 0x01, 0x0a, 0x08, 0x53, 0x70, 0x61, 0x6e, 0x4b, 0x69, 0x6e, 0x64,
1084 0x12, 0x19, 0x0a, 0x15, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e,
1085 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53,
1086 0x50, 0x41, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41,
1087 0x4c, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44,
1088 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x50, 0x41,
1089 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12,
1090 0x16, 0x0a, 0x12, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x50, 0x52, 0x4f,
1091 0x44, 0x55, 0x43, 0x45, 0x52, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x50, 0x41, 0x4e, 0x5f,
1092 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x55, 0x4d, 0x45, 0x52, 0x10, 0x05, 0x22,
1093 0xbd, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65,
1094 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73,
1095 0x73, 0x61, 0x67, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01,
1096 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74,
1097 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
1098 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43,
1099 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x4e, 0x0a, 0x0a, 0x53, 0x74, 0x61,
1100 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x55,
1101 0x53, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x45, 0x54, 0x10, 0x00, 0x12, 0x12,
1102 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4f, 0x4b,
1103 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x44,
1104 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x2a,
1105 0x9c, 0x01, 0x0a, 0x09, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x19, 0x0a,
1106 0x15, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x44, 0x4f, 0x5f, 0x4e,
1107 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1b, 0x53, 0x50, 0x41, 0x4e,
1108 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x46, 0x4c, 0x41,
1109 0x47, 0x53, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0xff, 0x01, 0x12, 0x2a, 0x0a, 0x25, 0x53, 0x50,
1110 0x41, 0x4e, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54,
1111 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x49, 0x53, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x4d,
1112 0x41, 0x53, 0x4b, 0x10, 0x80, 0x02, 0x12, 0x26, 0x0a, 0x21, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x46,
1113 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x49, 0x53, 0x5f,
1114 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x80, 0x04, 0x42, 0x7c,
1115 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74,
1116 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
1117 0x31, 0x42, 0x0a, 0x54, 0x72, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
1118 0x2c, 0x67, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72,
1119 0x79, 0x2e, 0x69, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x6c, 0x69, 0x6d, 0x2f,
1120 0x6f, 0x74, 0x6c, 0x70, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x1c,
1121 0x4f, 0x70, 0x65, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x72,
1122 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
1123 0x6f, 0x74, 0x6f, 0x33,
1124 }
1125
1126 var (
1127 file_opentelemetry_proto_trace_v1_trace_proto_rawDescOnce sync.Once
1128 file_opentelemetry_proto_trace_v1_trace_proto_rawDescData = file_opentelemetry_proto_trace_v1_trace_proto_rawDesc
1129 )
1130
1131 func file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP() []byte {
1132 file_opentelemetry_proto_trace_v1_trace_proto_rawDescOnce.Do(func() {
1133 file_opentelemetry_proto_trace_v1_trace_proto_rawDescData = protoimpl.X.CompressGZIP(file_opentelemetry_proto_trace_v1_trace_proto_rawDescData)
1134 })
1135 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescData
1136 }
1137
1138 var file_opentelemetry_proto_trace_v1_trace_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
1139 var file_opentelemetry_proto_trace_v1_trace_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
1140 var file_opentelemetry_proto_trace_v1_trace_proto_goTypes = []interface{}{
1141 (SpanFlags)(0), // 0: opentelemetry.proto.trace.v1.SpanFlags
1142 (Span_SpanKind)(0), // 1: opentelemetry.proto.trace.v1.Span.SpanKind
1143 (Status_StatusCode)(0), // 2: opentelemetry.proto.trace.v1.Status.StatusCode
1144 (*TracesData)(nil), // 3: opentelemetry.proto.trace.v1.TracesData
1145 (*ResourceSpans)(nil), // 4: opentelemetry.proto.trace.v1.ResourceSpans
1146 (*ScopeSpans)(nil), // 5: opentelemetry.proto.trace.v1.ScopeSpans
1147 (*Span)(nil), // 6: opentelemetry.proto.trace.v1.Span
1148 (*Status)(nil), // 7: opentelemetry.proto.trace.v1.Status
1149 (*Span_Event)(nil), // 8: opentelemetry.proto.trace.v1.Span.Event
1150 (*Span_Link)(nil), // 9: opentelemetry.proto.trace.v1.Span.Link
1151 (*v1.Resource)(nil), // 10: opentelemetry.proto.resource.v1.Resource
1152 (*v11.InstrumentationScope)(nil), // 11: opentelemetry.proto.common.v1.InstrumentationScope
1153 (*v11.KeyValue)(nil), // 12: opentelemetry.proto.common.v1.KeyValue
1154 }
1155 var file_opentelemetry_proto_trace_v1_trace_proto_depIdxs = []int32{
1156 4, // 0: opentelemetry.proto.trace.v1.TracesData.resource_spans:type_name -> opentelemetry.proto.trace.v1.ResourceSpans
1157 10, // 1: opentelemetry.proto.trace.v1.ResourceSpans.resource:type_name -> opentelemetry.proto.resource.v1.Resource
1158 5, // 2: opentelemetry.proto.trace.v1.ResourceSpans.scope_spans:type_name -> opentelemetry.proto.trace.v1.ScopeSpans
1159 11, // 3: opentelemetry.proto.trace.v1.ScopeSpans.scope:type_name -> opentelemetry.proto.common.v1.InstrumentationScope
1160 6, // 4: opentelemetry.proto.trace.v1.ScopeSpans.spans:type_name -> opentelemetry.proto.trace.v1.Span
1161 1, // 5: opentelemetry.proto.trace.v1.Span.kind:type_name -> opentelemetry.proto.trace.v1.Span.SpanKind
1162 12, // 6: opentelemetry.proto.trace.v1.Span.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
1163 8, // 7: opentelemetry.proto.trace.v1.Span.events:type_name -> opentelemetry.proto.trace.v1.Span.Event
1164 9, // 8: opentelemetry.proto.trace.v1.Span.links:type_name -> opentelemetry.proto.trace.v1.Span.Link
1165 7, // 9: opentelemetry.proto.trace.v1.Span.status:type_name -> opentelemetry.proto.trace.v1.Status
1166 2, // 10: opentelemetry.proto.trace.v1.Status.code:type_name -> opentelemetry.proto.trace.v1.Status.StatusCode
1167 12, // 11: opentelemetry.proto.trace.v1.Span.Event.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
1168 12, // 12: opentelemetry.proto.trace.v1.Span.Link.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
1169 13, // [13:13] is the sub-list for method output_type
1170 13, // [13:13] is the sub-list for method input_type
1171 13, // [13:13] is the sub-list for extension type_name
1172 13, // [13:13] is the sub-list for extension extendee
1173 0, // [0:13] is the sub-list for field type_name
1174 }
1175
1176 func init() { file_opentelemetry_proto_trace_v1_trace_proto_init() }
1177 func file_opentelemetry_proto_trace_v1_trace_proto_init() {
1178 if File_opentelemetry_proto_trace_v1_trace_proto != nil {
1179 return
1180 }
1181 if !protoimpl.UnsafeEnabled {
1182 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1183 switch v := v.(*TracesData); i {
1184 case 0:
1185 return &v.state
1186 case 1:
1187 return &v.sizeCache
1188 case 2:
1189 return &v.unknownFields
1190 default:
1191 return nil
1192 }
1193 }
1194 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1195 switch v := v.(*ResourceSpans); i {
1196 case 0:
1197 return &v.state
1198 case 1:
1199 return &v.sizeCache
1200 case 2:
1201 return &v.unknownFields
1202 default:
1203 return nil
1204 }
1205 }
1206 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1207 switch v := v.(*ScopeSpans); i {
1208 case 0:
1209 return &v.state
1210 case 1:
1211 return &v.sizeCache
1212 case 2:
1213 return &v.unknownFields
1214 default:
1215 return nil
1216 }
1217 }
1218 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1219 switch v := v.(*Span); i {
1220 case 0:
1221 return &v.state
1222 case 1:
1223 return &v.sizeCache
1224 case 2:
1225 return &v.unknownFields
1226 default:
1227 return nil
1228 }
1229 }
1230 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1231 switch v := v.(*Status); i {
1232 case 0:
1233 return &v.state
1234 case 1:
1235 return &v.sizeCache
1236 case 2:
1237 return &v.unknownFields
1238 default:
1239 return nil
1240 }
1241 }
1242 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1243 switch v := v.(*Span_Event); i {
1244 case 0:
1245 return &v.state
1246 case 1:
1247 return &v.sizeCache
1248 case 2:
1249 return &v.unknownFields
1250 default:
1251 return nil
1252 }
1253 }
1254 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1255 switch v := v.(*Span_Link); i {
1256 case 0:
1257 return &v.state
1258 case 1:
1259 return &v.sizeCache
1260 case 2:
1261 return &v.unknownFields
1262 default:
1263 return nil
1264 }
1265 }
1266 }
1267 type x struct{}
1268 out := protoimpl.TypeBuilder{
1269 File: protoimpl.DescBuilder{
1270 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1271 RawDescriptor: file_opentelemetry_proto_trace_v1_trace_proto_rawDesc,
1272 NumEnums: 3,
1273 NumMessages: 7,
1274 NumExtensions: 0,
1275 NumServices: 0,
1276 },
1277 GoTypes: file_opentelemetry_proto_trace_v1_trace_proto_goTypes,
1278 DependencyIndexes: file_opentelemetry_proto_trace_v1_trace_proto_depIdxs,
1279 EnumInfos: file_opentelemetry_proto_trace_v1_trace_proto_enumTypes,
1280 MessageInfos: file_opentelemetry_proto_trace_v1_trace_proto_msgTypes,
1281 }.Build()
1282 File_opentelemetry_proto_trace_v1_trace_proto = out.File
1283 file_opentelemetry_proto_trace_v1_trace_proto_rawDesc = nil
1284 file_opentelemetry_proto_trace_v1_trace_proto_goTypes = nil
1285 file_opentelemetry_proto_trace_v1_trace_proto_depIdxs = nil
1286 }