| 1 | // Copyright 2019 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package wirescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ |
| 6 | |
| 7 | type ExportTraceServiceRequestscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ExportTraceServiceRequest# struct { |
| 8 | Nodescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ExportTraceServiceRequest#Node. *Nodescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Node# `json:"node,omitempty"` |
| 9 | Spansscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ExportTraceServiceRequest#Spans. []*Spanscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span# `json:"spans,omitempty"` |
| 10 | Resourcescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ExportTraceServiceRequest#Resource. *Resourcescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Resource# `json:"resource,omitempty"` |
| 11 | } |
| 12 | |
| 13 | type Spanscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span# struct { |
| 14 | TraceIDscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#TraceID. []byte `json:"trace_id,omitempty"` |
| 15 | SpanIDscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#SpanID. []byte `json:"span_id,omitempty"` |
| 16 | TraceStatescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#TraceState. *TraceStatescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TraceState# `json:"tracestate,omitempty"` |
| 17 | ParentSpanIDscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#ParentSpanID. []byte `json:"parent_span_id,omitempty"` |
| 18 | Namescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#Name. *TruncatableStringscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString# `json:"name,omitempty"` |
| 19 | Kindscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#Kind. SpanKindscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/SpanKind# `json:"kind,omitempty"` |
| 20 | StartTimescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#StartTime. Timestampscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Timestamp# `json:"start_time,omitempty"` |
| 21 | EndTimescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#EndTime. Timestampscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Timestamp# `json:"end_time,omitempty"` |
| 22 | Attributesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#Attributes. *Attributesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Attributes# `json:"attributes,omitempty"` |
| 23 | StackTracescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#StackTrace. *StackTracescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackTrace# `json:"stack_trace,omitempty"` |
| 24 | TimeEventsscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#TimeEvents. *TimeEventsscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEvents# `json:"time_events,omitempty"` |
| 25 | Linksscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#Links. *Linksscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Links# `json:"links,omitempty"` |
| 26 | Statusscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#Status. *Statusscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Status# `json:"status,omitempty"` |
| 27 | Resourcescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#Resource. *Resourcescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Resource# `json:"resource,omitempty"` |
| 28 | SameProcessAsParentSpanscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#SameProcessAsParentSpan. bool `json:"same_process_as_parent_span,omitempty"` |
| 29 | ChildSpanCountscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Span#ChildSpanCount. bool `json:"child_span_count,omitempty"` |
| 30 | } |
| 31 | |
| 32 | type TraceStatescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TraceState# struct { |
| 33 | Entriesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TraceState#Entries. []*TraceStateEntryscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TraceStateEntry# `json:"entries,omitempty"` |
| 34 | } |
| 35 | |
| 36 | type TraceStateEntryscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TraceStateEntry# struct { |
| 37 | Keyscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TraceStateEntry#Key. string `json:"key,omitempty"` |
| 38 | Valuescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TraceStateEntry#Value. string `json:"value,omitempty"` |
| 39 | } |
| 40 | |
| 41 | type SpanKindscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/SpanKind# int32 |
| 42 | |
| 43 | const ( |
| 44 | UnspecifiedSpanKindscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/UnspecifiedSpanKind. SpanKindscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/SpanKind# = 0 |
| 45 | ServerSpanKindscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ServerSpanKind. SpanKindscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/SpanKind# = 1 |
| 46 | ClientSpanKindscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ClientSpanKind. SpanKindscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/SpanKind# = 2 |
| 47 | ) |
| 48 | |
| 49 | type TimeEventsscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEvents# struct { |
| 50 | TimeEventscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEvents#TimeEvent. []TimeEventscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEvent# `json:"timeEvent,omitempty"` |
| 51 | DroppedAnnotationsCountscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEvents#DroppedAnnotationsCount. int32 `json:"dropped_annotations_count,omitempty"` |
| 52 | DroppedMessageEventsCountscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEvents#DroppedMessageEventsCount. int32 `json:"dropped_message_events_count,omitempty"` |
| 53 | } |
| 54 | |
| 55 | type TimeEventscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEvent# struct { |
| 56 | Timescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEvent#Time. Timestampscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Timestamp# `json:"time,omitempty"` |
| 57 | MessageEventscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEvent#MessageEvent. *MessageEventscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/MessageEvent# `json:"messageEvent,omitempty"` |
| 58 | Annotationscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEvent#Annotation. *Annotationscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Annotation# `json:"annotation,omitempty"` |
| 59 | } |
| 60 | |
| 61 | type Annotationscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Annotation# struct { |
| 62 | Descriptionscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Annotation#Description. *TruncatableStringscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString# `json:"description,omitempty"` |
| 63 | Attributesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Annotation#Attributes. *Attributesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Attributes# `json:"attributes,omitempty"` |
| 64 | } |
| 65 | |
| 66 | type MessageEventscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/MessageEvent# struct { |
| 67 | Typescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/MessageEvent#Type. MessageEventTypescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/MessageEventType# `json:"type,omitempty"` |
| 68 | IDscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/MessageEvent#ID. uint64 `json:"id,omitempty"` |
| 69 | UncompressedSizescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/MessageEvent#UncompressedSize. uint64 `json:"uncompressed_size,omitempty"` |
| 70 | CompressedSizescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/MessageEvent#CompressedSize. uint64 `json:"compressed_size,omitempty"` |
| 71 | } |
| 72 | |
| 73 | type MessageEventTypescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/MessageEventType# int32 |
| 74 | |
| 75 | const ( |
| 76 | UnspecifiedMessageEventscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/UnspecifiedMessageEvent. MessageEventTypescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/MessageEventType# = iota |
| 77 | SentMessageEventscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/SentMessageEvent. |
| 78 | ReceivedMessageEventscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ReceivedMessageEvent. |
| 79 | ) |
| 80 | |
| 81 | type TimeEventValuescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEventValue# interface { |
| 82 | labelTimeEventValuescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TimeEventValue#labelTimeEventValue.() |
| 83 | } |
| 84 | |
| 85 | func (Annotationscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Annotation#) labelTimeEventValuescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Annotation#labelTimeEventValue().() {} |
| 86 | func (MessageEventscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/MessageEvent#) labelTimeEventValuescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/MessageEvent#labelTimeEventValue().() {} |
| 87 | |
| 88 | type Linksscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Links# struct { |
| 89 | Linkscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Links#Link. []*Linkscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Link# `json:"link,omitempty"` |
| 90 | DroppedLinksCountscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Links#DroppedLinksCount. int32 `json:"dropped_links_count,omitempty"` |
| 91 | } |
| 92 | |
| 93 | type Linkscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Link# struct { |
| 94 | TraceIDscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Link#TraceID. []byte `json:"trace_id,omitempty"` |
| 95 | SpanIDscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Link#SpanID. []byte `json:"span_id,omitempty"` |
| 96 | Typescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Link#Type. LinkTypescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/LinkType# `json:"type,omitempty"` |
| 97 | Attributesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Link#Attributes. *Attributesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Attributes# `json:"attributes,omitempty"` |
| 98 | TraceStatescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Link#TraceState. *TraceStatescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TraceState# `json:"tracestate,omitempty"` |
| 99 | } |
| 100 | |
| 101 | type LinkTypescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/LinkType# int32 |
| 102 | |
| 103 | const ( |
| 104 | UnspecifiedLinkTypescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/UnspecifiedLinkType. LinkTypescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/LinkType# = 0 |
| 105 | ChildLinkTypescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ChildLinkType. LinkTypescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/LinkType# = 1 |
| 106 | ParentLinkTypescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ParentLinkType. LinkTypescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/LinkType# = 2 |
| 107 | ) |
| 108 | |
| 109 | type Statusscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Status# struct { |
| 110 | Codescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Status#Code. int32 `json:"code,omitempty"` |
| 111 | Messagescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Status#Message. string `json:"message,omitempty"` |
| 112 | } |