wire

package
v0.0.0-...-e2786a6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package wire is a generated protocol buffer package.

It is generated from these files:

collector.proto

It has these top-level messages:

CollectPacket

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectPacket

type CollectPacket struct {
	Spanid           *CollectPacket_SpanID       `protobuf:"group,1,req,name=SpanID" json:"spanid,omitempty"`
	Annotation       []*CollectPacket_Annotation `protobuf:"group,5,rep,name=Annotation" json:"annotation,omitempty"`
	XXX_unrecognized []byte                      `json:"-"`
}

CollectPacket is the message sent to a remote collector server by one of it's clients.

func (*CollectPacket) GetAnnotation

func (m *CollectPacket) GetAnnotation() []*CollectPacket_Annotation

func (*CollectPacket) GetSpanid

func (m *CollectPacket) GetSpanid() *CollectPacket_SpanID

func (*CollectPacket) ProtoMessage

func (*CollectPacket) ProtoMessage()

func (*CollectPacket) Reset

func (m *CollectPacket) Reset()

func (*CollectPacket) String

func (m *CollectPacket) String() string

type CollectPacket_Annotation

type CollectPacket_Annotation struct {
	// key is the annotation's key.
	Key *string `protobuf:"bytes,6,req,name=key" json:"key,omitempty"`
	// value is the annotation's value, which may be either human or
	// machine readable, depending on the schema of the event that
	// generated it.
	Value            []byte `protobuf:"bytes,7,opt,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Annotation is any number of annotations for the span to be collected.

func (*CollectPacket_Annotation) GetKey

func (m *CollectPacket_Annotation) GetKey() string

func (*CollectPacket_Annotation) GetValue

func (m *CollectPacket_Annotation) GetValue() []byte

func (*CollectPacket_Annotation) ProtoMessage

func (*CollectPacket_Annotation) ProtoMessage()

func (*CollectPacket_Annotation) Reset

func (m *CollectPacket_Annotation) Reset()

func (*CollectPacket_Annotation) String

func (m *CollectPacket_Annotation) String() string

type CollectPacket_SpanID

type CollectPacket_SpanID struct {
	// trace is the root ID of the tree that contains all of the spans
	// related to this one.
	Trace *uint64 `protobuf:"fixed64,2,req,name=trace" json:"trace,omitempty"`
	// span is an ID that probabilistically uniquely identifies this span.
	Span *uint64 `protobuf:"fixed64,3,req,name=span" json:"span,omitempty"`
	// parent is the ID of the parent span, if any.
	Parent           *uint64 `protobuf:"fixed64,4,opt,name=parent" json:"parent,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

SpanID is the group of information which can uniquely identify the exact span being collected.

func (*CollectPacket_SpanID) GetParent

func (m *CollectPacket_SpanID) GetParent() uint64

func (*CollectPacket_SpanID) GetSpan

func (m *CollectPacket_SpanID) GetSpan() uint64

func (*CollectPacket_SpanID) GetTrace

func (m *CollectPacket_SpanID) GetTrace() uint64

func (*CollectPacket_SpanID) ProtoMessage

func (*CollectPacket_SpanID) ProtoMessage()

func (*CollectPacket_SpanID) Reset

func (m *CollectPacket_SpanID) Reset()

func (*CollectPacket_SpanID) String

func (m *CollectPacket_SpanID) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL