opencensus_proto_trace_v1

package
v0.0.0-...-940152b Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTrace = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTrace   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTraceConfig = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTraceConfig   = fmt.Errorf("proto: integer overflow")
)
View Source
var ConstantSampler_ConstantDecision_name = map[int32]string{
	0: "ALWAYS_OFF",
	1: "ALWAYS_ON",
	2: "ALWAYS_PARENT",
}
View Source
var ConstantSampler_ConstantDecision_value = map[string]int32{
	"ALWAYS_OFF":    0,
	"ALWAYS_ON":     1,
	"ALWAYS_PARENT": 2,
}
View Source
var Span_Link_Type_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "CHILD_LINKED_SPAN",
	2: "PARENT_LINKED_SPAN",
}
View Source
var Span_Link_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED":   0,
	"CHILD_LINKED_SPAN":  1,
	"PARENT_LINKED_SPAN": 2,
}
View Source
var Span_SpanKind_name = map[int32]string{
	0: "SPAN_KIND_UNSPECIFIED",
	1: "SERVER",
	2: "CLIENT",
}
View Source
var Span_SpanKind_value = map[string]int32{
	"SPAN_KIND_UNSPECIFIED": 0,
	"SERVER":                1,
	"CLIENT":                2,
}
View Source
var Span_TimeEvent_MessageEvent_Type_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "SENT",
	2: "RECEIVED",
}
View Source
var Span_TimeEvent_MessageEvent_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"SENT":             1,
	"RECEIVED":         2,
}

Functions

This section is empty.

Types

type AttributeValue

type AttributeValue struct {
	// The type of the value.
	//
	// Types that are valid to be assigned to Value:
	//	*AttributeValue_StringValue
	//	*AttributeValue_IntValue
	//	*AttributeValue_BoolValue
	//	*AttributeValue_DoubleValue
	Value isAttributeValue_Value `protobuf_oneof:"value"`
}

The value of an Attribute.

func (*AttributeValue) Descriptor

func (*AttributeValue) Descriptor() ([]byte, []int)

func (*AttributeValue) GetBoolValue

func (m *AttributeValue) GetBoolValue() bool

func (*AttributeValue) GetDoubleValue

func (m *AttributeValue) GetDoubleValue() float64

func (*AttributeValue) GetIntValue

func (m *AttributeValue) GetIntValue() int64

func (*AttributeValue) GetStringValue

func (m *AttributeValue) GetStringValue() *TruncatableString

func (*AttributeValue) GetValue

func (m *AttributeValue) GetValue() isAttributeValue_Value

func (*AttributeValue) Marshal

func (m *AttributeValue) Marshal() (dAtA []byte, err error)

func (*AttributeValue) MarshalTo

func (m *AttributeValue) MarshalTo(dAtA []byte) (int, error)

func (*AttributeValue) MarshalToSizedBuffer

func (m *AttributeValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttributeValue) ProtoMessage

func (*AttributeValue) ProtoMessage()

func (*AttributeValue) Reset

func (m *AttributeValue) Reset()

func (*AttributeValue) Size

func (m *AttributeValue) Size() (n int)

func (*AttributeValue) String

func (m *AttributeValue) String() string

func (*AttributeValue) Unmarshal

func (m *AttributeValue) Unmarshal(dAtA []byte) error

func (*AttributeValue) XXX_DiscardUnknown

func (m *AttributeValue) XXX_DiscardUnknown()

func (*AttributeValue) XXX_Marshal

func (m *AttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttributeValue) XXX_Merge

func (m *AttributeValue) XXX_Merge(src proto.Message)

func (*AttributeValue) XXX_OneofWrappers

func (*AttributeValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AttributeValue) XXX_Size

func (m *AttributeValue) XXX_Size() int

func (*AttributeValue) XXX_Unmarshal

func (m *AttributeValue) XXX_Unmarshal(b []byte) error

type AttributeValue_BoolValue

type AttributeValue_BoolValue struct {
	BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

func (*AttributeValue_BoolValue) MarshalTo

func (m *AttributeValue_BoolValue) MarshalTo(dAtA []byte) (int, error)

func (*AttributeValue_BoolValue) MarshalToSizedBuffer

func (m *AttributeValue_BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttributeValue_BoolValue) Size

func (m *AttributeValue_BoolValue) Size() (n int)

type AttributeValue_DoubleValue

type AttributeValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

func (*AttributeValue_DoubleValue) MarshalTo

func (m *AttributeValue_DoubleValue) MarshalTo(dAtA []byte) (int, error)

func (*AttributeValue_DoubleValue) MarshalToSizedBuffer

func (m *AttributeValue_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttributeValue_DoubleValue) Size

func (m *AttributeValue_DoubleValue) Size() (n int)

type AttributeValue_IntValue

type AttributeValue_IntValue struct {
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}

func (*AttributeValue_IntValue) MarshalTo

func (m *AttributeValue_IntValue) MarshalTo(dAtA []byte) (int, error)

func (*AttributeValue_IntValue) MarshalToSizedBuffer

func (m *AttributeValue_IntValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttributeValue_IntValue) Size

func (m *AttributeValue_IntValue) Size() (n int)

type AttributeValue_StringValue

type AttributeValue_StringValue struct {
	StringValue *TruncatableString `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}

func (*AttributeValue_StringValue) MarshalTo

func (m *AttributeValue_StringValue) MarshalTo(dAtA []byte) (int, error)

func (*AttributeValue_StringValue) MarshalToSizedBuffer

func (m *AttributeValue_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttributeValue_StringValue) Size

func (m *AttributeValue_StringValue) Size() (n int)

type ConstantSampler

type ConstantSampler struct {
	Decision ConstantSampler_ConstantDecision `` /* 134-byte string literal not displayed */
}

Sampler that always makes a constant decision on span sampling.

func (*ConstantSampler) Descriptor

func (*ConstantSampler) Descriptor() ([]byte, []int)

func (*ConstantSampler) GetDecision

func (*ConstantSampler) Marshal

func (m *ConstantSampler) Marshal() (dAtA []byte, err error)

func (*ConstantSampler) MarshalTo

func (m *ConstantSampler) MarshalTo(dAtA []byte) (int, error)

func (*ConstantSampler) MarshalToSizedBuffer

func (m *ConstantSampler) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConstantSampler) ProtoMessage

func (*ConstantSampler) ProtoMessage()

func (*ConstantSampler) Reset

func (m *ConstantSampler) Reset()

func (*ConstantSampler) Size

func (m *ConstantSampler) Size() (n int)

func (*ConstantSampler) String

func (m *ConstantSampler) String() string

func (*ConstantSampler) Unmarshal

func (m *ConstantSampler) Unmarshal(dAtA []byte) error

func (*ConstantSampler) XXX_DiscardUnknown

func (m *ConstantSampler) XXX_DiscardUnknown()

func (*ConstantSampler) XXX_Marshal

func (m *ConstantSampler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConstantSampler) XXX_Merge

func (m *ConstantSampler) XXX_Merge(src proto.Message)

func (*ConstantSampler) XXX_Size

func (m *ConstantSampler) XXX_Size() int

func (*ConstantSampler) XXX_Unmarshal

func (m *ConstantSampler) XXX_Unmarshal(b []byte) error

type ConstantSampler_ConstantDecision

type ConstantSampler_ConstantDecision int32

How spans should be sampled: - Always off - Always on - Always follow the parent Span's decision (off if no parent).

const (
	ConstantSampler_ALWAYS_OFF    ConstantSampler_ConstantDecision = 0
	ConstantSampler_ALWAYS_ON     ConstantSampler_ConstantDecision = 1
	ConstantSampler_ALWAYS_PARENT ConstantSampler_ConstantDecision = 2
)

func (ConstantSampler_ConstantDecision) EnumDescriptor

func (ConstantSampler_ConstantDecision) EnumDescriptor() ([]byte, []int)

func (ConstantSampler_ConstantDecision) String

type Module

type Module struct {
	// TODO: document the meaning of this field.
	// For example: main binary, kernel modules, and dynamic libraries
	// such as libc.so, sharedlib.so.
	Module *TruncatableString `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	// A unique identifier for the module, usually a hash of its
	// contents.
	BuildId *TruncatableString `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
}

A description of a binary module.

func (*Module) Descriptor

func (*Module) Descriptor() ([]byte, []int)

func (*Module) GetBuildId

func (m *Module) GetBuildId() *TruncatableString

func (*Module) GetModule

func (m *Module) GetModule() *TruncatableString

func (*Module) Marshal

func (m *Module) Marshal() (dAtA []byte, err error)

func (*Module) MarshalTo

func (m *Module) MarshalTo(dAtA []byte) (int, error)

func (*Module) MarshalToSizedBuffer

func (m *Module) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) Reset

func (m *Module) Reset()

func (*Module) Size

func (m *Module) Size() (n int)

func (*Module) String

func (m *Module) String() string

func (*Module) Unmarshal

func (m *Module) Unmarshal(dAtA []byte) error

func (*Module) XXX_DiscardUnknown

func (m *Module) XXX_DiscardUnknown()

func (*Module) XXX_Marshal

func (m *Module) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Module) XXX_Merge

func (m *Module) XXX_Merge(src proto.Message)

func (*Module) XXX_Size

func (m *Module) XXX_Size() int

func (*Module) XXX_Unmarshal

func (m *Module) XXX_Unmarshal(b []byte) error

type ProbabilitySampler

type ProbabilitySampler struct {
	// The desired probability of sampling. Must be within [0.0, 1.0].
	SamplingProbability float64 `protobuf:"fixed64,1,opt,name=samplingProbability,proto3" json:"samplingProbability,omitempty"`
}

Sampler that tries to uniformly sample traces with a given probability. The probability of sampling a trace is equal to that of the specified probability.

func (*ProbabilitySampler) Descriptor

func (*ProbabilitySampler) Descriptor() ([]byte, []int)

func (*ProbabilitySampler) GetSamplingProbability

func (m *ProbabilitySampler) GetSamplingProbability() float64

func (*ProbabilitySampler) Marshal

func (m *ProbabilitySampler) Marshal() (dAtA []byte, err error)

func (*ProbabilitySampler) MarshalTo

func (m *ProbabilitySampler) MarshalTo(dAtA []byte) (int, error)

func (*ProbabilitySampler) MarshalToSizedBuffer

func (m *ProbabilitySampler) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProbabilitySampler) ProtoMessage

func (*ProbabilitySampler) ProtoMessage()

func (*ProbabilitySampler) Reset

func (m *ProbabilitySampler) Reset()

func (*ProbabilitySampler) Size

func (m *ProbabilitySampler) Size() (n int)

func (*ProbabilitySampler) String

func (m *ProbabilitySampler) String() string

func (*ProbabilitySampler) Unmarshal

func (m *ProbabilitySampler) Unmarshal(dAtA []byte) error

func (*ProbabilitySampler) XXX_DiscardUnknown

func (m *ProbabilitySampler) XXX_DiscardUnknown()

func (*ProbabilitySampler) XXX_Marshal

func (m *ProbabilitySampler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProbabilitySampler) XXX_Merge

func (m *ProbabilitySampler) XXX_Merge(src proto.Message)

func (*ProbabilitySampler) XXX_Size

func (m *ProbabilitySampler) XXX_Size() int

func (*ProbabilitySampler) XXX_Unmarshal

func (m *ProbabilitySampler) XXX_Unmarshal(b []byte) error

type RateLimitingSampler

type RateLimitingSampler struct {
	// Rate per second.
	Qps int64 `protobuf:"varint,1,opt,name=qps,proto3" json:"qps,omitempty"`
}

Sampler that tries to sample with a rate per time window.

func (*RateLimitingSampler) Descriptor

func (*RateLimitingSampler) Descriptor() ([]byte, []int)

func (*RateLimitingSampler) GetQps

func (m *RateLimitingSampler) GetQps() int64

func (*RateLimitingSampler) Marshal

func (m *RateLimitingSampler) Marshal() (dAtA []byte, err error)

func (*RateLimitingSampler) MarshalTo

func (m *RateLimitingSampler) MarshalTo(dAtA []byte) (int, error)

func (*RateLimitingSampler) MarshalToSizedBuffer

func (m *RateLimitingSampler) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RateLimitingSampler) ProtoMessage

func (*RateLimitingSampler) ProtoMessage()

func (*RateLimitingSampler) Reset

func (m *RateLimitingSampler) Reset()

func (*RateLimitingSampler) Size

func (m *RateLimitingSampler) Size() (n int)

func (*RateLimitingSampler) String

func (m *RateLimitingSampler) String() string

func (*RateLimitingSampler) Unmarshal

func (m *RateLimitingSampler) Unmarshal(dAtA []byte) error

func (*RateLimitingSampler) XXX_DiscardUnknown

func (m *RateLimitingSampler) XXX_DiscardUnknown()

func (*RateLimitingSampler) XXX_Marshal

func (m *RateLimitingSampler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RateLimitingSampler) XXX_Merge

func (m *RateLimitingSampler) XXX_Merge(src proto.Message)

func (*RateLimitingSampler) XXX_Size

func (m *RateLimitingSampler) XXX_Size() int

func (*RateLimitingSampler) XXX_Unmarshal

func (m *RateLimitingSampler) XXX_Unmarshal(b []byte) error

type Span

type Span struct {
	// A unique identifier for a trace. All spans from the same trace share
	// the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes
	// is considered invalid.
	//
	// This field is semantically required. Receiver should generate new
	// random trace_id if empty or invalid trace_id was received.
	//
	// This field is required.
	TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	// A unique identifier for a span within a trace, assigned when the span
	// is created. The ID is an 8-byte array. An ID with all zeroes is considered
	// invalid.
	//
	// This field is semantically required. Receiver should generate new
	// random span_id if empty or invalid span_id was received.
	//
	// This field is required.
	SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
	// The Tracestate on the span.
	Tracestate *Span_Tracestate `protobuf:"bytes,15,opt,name=tracestate,proto3" json:"tracestate,omitempty"`
	// The `span_id` of this span's parent span. If this is a root span, then this
	// field must be empty. The ID is an 8-byte array.
	ParentSpanId []byte `protobuf:"bytes,3,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"`
	// A description of the span's operation.
	//
	// For example, the name can be a qualified method name or a file name
	// and a line number where the operation is called. A best practice is to use
	// the same display name at the same call point in an application.
	// This makes it easier to correlate spans in different traces.
	//
	// This field is semantically required to be set to non-empty string.
	// When null or empty string received - receiver may use string "name"
	// as a replacement. There might be smarted algorithms implemented by
	// receiver to fix the empty span name.
	//
	// This field is required.
	Name *TruncatableString `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Distinguishes between spans generated in a particular context. For example,
	// two spans with the same name may be distinguished using `CLIENT` (caller)
	// and `SERVER` (callee) to identify queueing latency associated with the span.
	Kind Span_SpanKind `protobuf:"varint,14,opt,name=kind,proto3,enum=opencensus.proto.trace.v1.Span_SpanKind" json:"kind,omitempty"`
	// The start time of the span. On the client side, this is the time kept by
	// the local machine where the span execution starts. On the server side, this
	// is the time when the server's application handler starts running.
	//
	// This field is semantically required. When not set on receive -
	// receiver should set it to the value of end_time field if it was
	// set. Or to the current time if neither was set. It is important to
	// keep end_time > start_time for consistency.
	//
	// This field is required.
	StartTime *types.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The end time of the span. On the client side, this is the time kept by
	// the local machine where the span execution ends. On the server side, this
	// is the time when the server application handler stops running.
	//
	// This field is semantically required. When not set on receive -
	// receiver should set it to start_time value. It is important to
	// keep end_time > start_time for consistency.
	//
	// This field is required.
	EndTime *types.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// A set of attributes on the span.
	Attributes *Span_Attributes `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// A stack trace captured at the start of the span.
	StackTrace *StackTrace `protobuf:"bytes,8,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"`
	// The included time events.
	TimeEvents *Span_TimeEvents `protobuf:"bytes,9,opt,name=time_events,json=timeEvents,proto3" json:"time_events,omitempty"`
	// The included links.
	Links *Span_Links `protobuf:"bytes,10,opt,name=links,proto3" json:"links,omitempty"`
	// An optional final status for this span. Semantically when Status
	// wasn't set it is means span ended without errors and assume
	// Status.Ok (code = 0).
	Status *Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
	// An optional resource that is associated with this span. If not set, this span
	// should be part of a batch that does include the resource information, unless resource
	// information is unknown.
	Resource *v1.Resource `protobuf:"bytes,16,opt,name=resource,proto3" json:"resource,omitempty"`
	// A highly recommended but not required flag that identifies when a
	// trace crosses a process boundary. True when the parent_span belongs
	// to the same process as the current span. This flag is most commonly
	// used to indicate the need to adjust time as clocks in different
	// processes may not be synchronized.
	SameProcessAsParentSpan *types.BoolValue `` /* 137-byte string literal not displayed */
	// An optional number of child spans that were generated while this span
	// was active. If set, allows an implementation to detect missing child spans.
	ChildSpanCount *types.UInt32Value `protobuf:"bytes,13,opt,name=child_span_count,json=childSpanCount,proto3" json:"child_span_count,omitempty"`
}

A span represents a single operation within a trace. Spans can be nested to form a trace tree. Spans may also be linked to other spans from the same or different trace. And form graphs. Often, a trace contains a root span that describes the end-to-end latency, and one or more subspans for its sub-operations. A trace can also contain multiple root spans, or none at all. Spans do not need to be contiguous - there may be gaps or overlaps between spans in a trace.

The next id is 17. TODO(bdrutu): Add an example.

func (*Span) Descriptor

func (*Span) Descriptor() ([]byte, []int)

func (*Span) GetAttributes

func (m *Span) GetAttributes() *Span_Attributes

func (*Span) GetChildSpanCount

func (m *Span) GetChildSpanCount() *types.UInt32Value

func (*Span) GetEndTime

func (m *Span) GetEndTime() *types.Timestamp

func (*Span) GetKind

func (m *Span) GetKind() Span_SpanKind
func (m *Span) GetLinks() *Span_Links

func (*Span) GetName

func (m *Span) GetName() *TruncatableString

func (*Span) GetParentSpanId

func (m *Span) GetParentSpanId() []byte

func (*Span) GetResource

func (m *Span) GetResource() *v1.Resource

func (*Span) GetSameProcessAsParentSpan

func (m *Span) GetSameProcessAsParentSpan() *types.BoolValue

func (*Span) GetSpanId

func (m *Span) GetSpanId() []byte

func (*Span) GetStackTrace

func (m *Span) GetStackTrace() *StackTrace

func (*Span) GetStartTime

func (m *Span) GetStartTime() *types.Timestamp

func (*Span) GetStatus

func (m *Span) GetStatus() *Status

func (*Span) GetTimeEvents

func (m *Span) GetTimeEvents() *Span_TimeEvents

func (*Span) GetTraceId

func (m *Span) GetTraceId() []byte

func (*Span) GetTracestate

func (m *Span) GetTracestate() *Span_Tracestate

func (*Span) Marshal

func (m *Span) Marshal() (dAtA []byte, err error)

func (*Span) MarshalTo

func (m *Span) MarshalTo(dAtA []byte) (int, error)

func (*Span) MarshalToSizedBuffer

func (m *Span) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) Reset

func (m *Span) Reset()

func (*Span) Size

func (m *Span) Size() (n int)

func (*Span) String

func (m *Span) String() string

func (*Span) Unmarshal

func (m *Span) Unmarshal(dAtA []byte) error

func (*Span) XXX_DiscardUnknown

func (m *Span) XXX_DiscardUnknown()

func (*Span) XXX_Marshal

func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Span) XXX_Merge

func (m *Span) XXX_Merge(src proto.Message)

func (*Span) XXX_Size

func (m *Span) XXX_Size() int

func (*Span) XXX_Unmarshal

func (m *Span) XXX_Unmarshal(b []byte) error

type Span_Attributes

type Span_Attributes struct {
	// The set of attributes. The value can be a string, an integer, a double
	// or the Boolean values `true` or `false`. Note, global attributes like
	// server name can be set as tags using resource API. Examples of attributes:
	//
	//     "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
	//     "/http/server_latency": 300
	//     "abc.com/myattribute": true
	//     "abc.com/score": 10.239
	AttributeMap map[string]*AttributeValue `` /* 185-byte string literal not displayed */
	// The number of attributes that were discarded. Attributes can be discarded
	// because their keys are too long or because there are too many attributes.
	// If this value is 0, then no attributes were dropped.
	DroppedAttributesCount int32 `` /* 130-byte string literal not displayed */
}

A set of attributes, each with a key and a value.

func (*Span_Attributes) Descriptor

func (*Span_Attributes) Descriptor() ([]byte, []int)

func (*Span_Attributes) GetAttributeMap

func (m *Span_Attributes) GetAttributeMap() map[string]*AttributeValue

func (*Span_Attributes) GetDroppedAttributesCount

func (m *Span_Attributes) GetDroppedAttributesCount() int32

func (*Span_Attributes) Marshal

func (m *Span_Attributes) Marshal() (dAtA []byte, err error)

func (*Span_Attributes) MarshalTo

func (m *Span_Attributes) MarshalTo(dAtA []byte) (int, error)

func (*Span_Attributes) MarshalToSizedBuffer

func (m *Span_Attributes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span_Attributes) ProtoMessage

func (*Span_Attributes) ProtoMessage()

func (*Span_Attributes) Reset

func (m *Span_Attributes) Reset()

func (*Span_Attributes) Size

func (m *Span_Attributes) Size() (n int)

func (*Span_Attributes) String

func (m *Span_Attributes) String() string

func (*Span_Attributes) Unmarshal

func (m *Span_Attributes) Unmarshal(dAtA []byte) error

func (*Span_Attributes) XXX_DiscardUnknown

func (m *Span_Attributes) XXX_DiscardUnknown()

func (*Span_Attributes) XXX_Marshal

func (m *Span_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Span_Attributes) XXX_Merge

func (m *Span_Attributes) XXX_Merge(src proto.Message)

func (*Span_Attributes) XXX_Size

func (m *Span_Attributes) XXX_Size() int

func (*Span_Attributes) XXX_Unmarshal

func (m *Span_Attributes) XXX_Unmarshal(b []byte) error
type Span_Link struct {
	// A unique identifier of a trace that this linked span is part of. The ID is a
	// 16-byte array.
	TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	// A unique identifier for the linked span. The ID is an 8-byte array.
	SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
	// The relationship of the current span relative to the linked span.
	Type Span_Link_Type `protobuf:"varint,3,opt,name=type,proto3,enum=opencensus.proto.trace.v1.Span_Link_Type" json:"type,omitempty"`
	// A set of attributes on the link.
	Attributes *Span_Attributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// The Tracestate associated with the link.
	Tracestate *Span_Tracestate `protobuf:"bytes,5,opt,name=tracestate,proto3" json:"tracestate,omitempty"`
}

A pointer from the current span to another span in the same trace or in a different trace. For example, this can be used in batching operations, where a single batch handler processes multiple requests from different traces or when the handler receives a request from a different project.

func (*Span_Link) Descriptor

func (*Span_Link) Descriptor() ([]byte, []int)

func (*Span_Link) GetAttributes

func (m *Span_Link) GetAttributes() *Span_Attributes

func (*Span_Link) GetSpanId

func (m *Span_Link) GetSpanId() []byte

func (*Span_Link) GetTraceId

func (m *Span_Link) GetTraceId() []byte

func (*Span_Link) GetTracestate

func (m *Span_Link) GetTracestate() *Span_Tracestate

func (*Span_Link) GetType

func (m *Span_Link) GetType() Span_Link_Type

func (*Span_Link) Marshal

func (m *Span_Link) Marshal() (dAtA []byte, err error)

func (*Span_Link) MarshalTo

func (m *Span_Link) MarshalTo(dAtA []byte) (int, error)

func (*Span_Link) MarshalToSizedBuffer

func (m *Span_Link) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span_Link) ProtoMessage

func (*Span_Link) ProtoMessage()

func (*Span_Link) Reset

func (m *Span_Link) Reset()

func (*Span_Link) Size

func (m *Span_Link) Size() (n int)

func (*Span_Link) String

func (m *Span_Link) String() string

func (*Span_Link) Unmarshal

func (m *Span_Link) Unmarshal(dAtA []byte) error

func (*Span_Link) XXX_DiscardUnknown

func (m *Span_Link) XXX_DiscardUnknown()

func (*Span_Link) XXX_Marshal

func (m *Span_Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Span_Link) XXX_Merge

func (m *Span_Link) XXX_Merge(src proto.Message)

func (*Span_Link) XXX_Size

func (m *Span_Link) XXX_Size() int

func (*Span_Link) XXX_Unmarshal

func (m *Span_Link) XXX_Unmarshal(b []byte) error
type Span_Link_Type int32

The relationship of the current span relative to the linked span: child, parent, or unspecified.

const (
	// The relationship of the two spans is unknown, or known but other
	// than parent-child.
	Span_Link_TYPE_UNSPECIFIED Span_Link_Type = 0
	// The linked span is a child of the current span.
	Span_Link_CHILD_LINKED_SPAN Span_Link_Type = 1
	// The linked span is a parent of the current span.
	Span_Link_PARENT_LINKED_SPAN Span_Link_Type = 2
)
func (Span_Link_Type) EnumDescriptor() ([]byte, []int)
func (x Span_Link_Type) String() string
type Span_Links struct {
	// A collection of links.
	Link []*Span_Link `protobuf:"bytes,1,rep,name=link,proto3" json:"link,omitempty"`
	// The number of dropped links after the maximum size was enforced. If
	// this value is 0, then no links were dropped.
	DroppedLinksCount int32 `protobuf:"varint,2,opt,name=dropped_links_count,json=droppedLinksCount,proto3" json:"dropped_links_count,omitempty"`
}

A collection of links, which are references from this span to a span in the same or different trace.

func (*Span_Links) Descriptor

func (*Span_Links) Descriptor() ([]byte, []int)

func (*Span_Links) GetDroppedLinksCount

func (m *Span_Links) GetDroppedLinksCount() int32
func (m *Span_Links) GetLink() []*Span_Link

func (*Span_Links) Marshal

func (m *Span_Links) Marshal() (dAtA []byte, err error)

func (*Span_Links) MarshalTo

func (m *Span_Links) MarshalTo(dAtA []byte) (int, error)

func (*Span_Links) MarshalToSizedBuffer

func (m *Span_Links) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span_Links) ProtoMessage

func (*Span_Links) ProtoMessage()

func (*Span_Links) Reset

func (m *Span_Links) Reset()

func (*Span_Links) Size

func (m *Span_Links) Size() (n int)

func (*Span_Links) String

func (m *Span_Links) String() string

func (*Span_Links) Unmarshal

func (m *Span_Links) Unmarshal(dAtA []byte) error

func (*Span_Links) XXX_DiscardUnknown

func (m *Span_Links) XXX_DiscardUnknown()

func (*Span_Links) XXX_Marshal

func (m *Span_Links) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Span_Links) XXX_Merge

func (m *Span_Links) XXX_Merge(src proto.Message)

func (*Span_Links) XXX_Size

func (m *Span_Links) XXX_Size() int

func (*Span_Links) XXX_Unmarshal

func (m *Span_Links) XXX_Unmarshal(b []byte) error

type Span_SpanKind

type Span_SpanKind int32

Type of span. Can be used to specify additional relationships between spans in addition to a parent/child relationship.

const (
	// Unspecified.
	Span_SPAN_KIND_UNSPECIFIED Span_SpanKind = 0
	// Indicates that the span covers server-side handling of an RPC or other
	// remote network request.
	Span_SERVER Span_SpanKind = 1
	// Indicates that the span covers the client-side wrapper around an RPC or
	// other remote request.
	Span_CLIENT Span_SpanKind = 2
)

func (Span_SpanKind) EnumDescriptor

func (Span_SpanKind) EnumDescriptor() ([]byte, []int)

func (Span_SpanKind) String

func (x Span_SpanKind) String() string

type Span_TimeEvent

type Span_TimeEvent struct {
	// The time the event occurred.
	Time *types.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// A `TimeEvent` can contain either an `Annotation` object or a
	// `MessageEvent` object, but not both.
	//
	// Types that are valid to be assigned to Value:
	//	*Span_TimeEvent_Annotation_
	//	*Span_TimeEvent_MessageEvent_
	Value isSpan_TimeEvent_Value `protobuf_oneof:"value"`
}

A time-stamped annotation or message event in the Span.

func (*Span_TimeEvent) Descriptor

func (*Span_TimeEvent) Descriptor() ([]byte, []int)

func (*Span_TimeEvent) GetAnnotation

func (m *Span_TimeEvent) GetAnnotation() *Span_TimeEvent_Annotation

func (*Span_TimeEvent) GetMessageEvent

func (m *Span_TimeEvent) GetMessageEvent() *Span_TimeEvent_MessageEvent

func (*Span_TimeEvent) GetTime

func (m *Span_TimeEvent) GetTime() *types.Timestamp

func (*Span_TimeEvent) GetValue

func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value

func (*Span_TimeEvent) Marshal

func (m *Span_TimeEvent) Marshal() (dAtA []byte, err error)

func (*Span_TimeEvent) MarshalTo

func (m *Span_TimeEvent) MarshalTo(dAtA []byte) (int, error)

func (*Span_TimeEvent) MarshalToSizedBuffer

func (m *Span_TimeEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span_TimeEvent) ProtoMessage

func (*Span_TimeEvent) ProtoMessage()

func (*Span_TimeEvent) Reset

func (m *Span_TimeEvent) Reset()

func (*Span_TimeEvent) Size

func (m *Span_TimeEvent) Size() (n int)

func (*Span_TimeEvent) String

func (m *Span_TimeEvent) String() string

func (*Span_TimeEvent) Unmarshal

func (m *Span_TimeEvent) Unmarshal(dAtA []byte) error

func (*Span_TimeEvent) XXX_DiscardUnknown

func (m *Span_TimeEvent) XXX_DiscardUnknown()

func (*Span_TimeEvent) XXX_Marshal

func (m *Span_TimeEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Span_TimeEvent) XXX_Merge

func (m *Span_TimeEvent) XXX_Merge(src proto.Message)

func (*Span_TimeEvent) XXX_OneofWrappers

func (*Span_TimeEvent) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Span_TimeEvent) XXX_Size

func (m *Span_TimeEvent) XXX_Size() int

func (*Span_TimeEvent) XXX_Unmarshal

func (m *Span_TimeEvent) XXX_Unmarshal(b []byte) error

type Span_TimeEvent_Annotation

type Span_TimeEvent_Annotation struct {
	// A user-supplied message describing the event.
	Description *TruncatableString `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// A set of attributes on the annotation.
	Attributes *Span_Attributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"`
}

A text annotation with a set of attributes.

func (*Span_TimeEvent_Annotation) Descriptor

func (*Span_TimeEvent_Annotation) Descriptor() ([]byte, []int)

func (*Span_TimeEvent_Annotation) GetAttributes

func (m *Span_TimeEvent_Annotation) GetAttributes() *Span_Attributes

func (*Span_TimeEvent_Annotation) GetDescription

func (m *Span_TimeEvent_Annotation) GetDescription() *TruncatableString

func (*Span_TimeEvent_Annotation) Marshal

func (m *Span_TimeEvent_Annotation) Marshal() (dAtA []byte, err error)

func (*Span_TimeEvent_Annotation) MarshalTo

func (m *Span_TimeEvent_Annotation) MarshalTo(dAtA []byte) (int, error)

func (*Span_TimeEvent_Annotation) MarshalToSizedBuffer

func (m *Span_TimeEvent_Annotation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span_TimeEvent_Annotation) ProtoMessage

func (*Span_TimeEvent_Annotation) ProtoMessage()

func (*Span_TimeEvent_Annotation) Reset

func (m *Span_TimeEvent_Annotation) Reset()

func (*Span_TimeEvent_Annotation) Size

func (m *Span_TimeEvent_Annotation) Size() (n int)

func (*Span_TimeEvent_Annotation) String

func (m *Span_TimeEvent_Annotation) String() string

func (*Span_TimeEvent_Annotation) Unmarshal

func (m *Span_TimeEvent_Annotation) Unmarshal(dAtA []byte) error

func (*Span_TimeEvent_Annotation) XXX_DiscardUnknown

func (m *Span_TimeEvent_Annotation) XXX_DiscardUnknown()

func (*Span_TimeEvent_Annotation) XXX_Marshal

func (m *Span_TimeEvent_Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Span_TimeEvent_Annotation) XXX_Merge

func (m *Span_TimeEvent_Annotation) XXX_Merge(src proto.Message)

func (*Span_TimeEvent_Annotation) XXX_Size

func (m *Span_TimeEvent_Annotation) XXX_Size() int

func (*Span_TimeEvent_Annotation) XXX_Unmarshal

func (m *Span_TimeEvent_Annotation) XXX_Unmarshal(b []byte) error

type Span_TimeEvent_Annotation_

type Span_TimeEvent_Annotation_ struct {
	Annotation *Span_TimeEvent_Annotation `protobuf:"bytes,2,opt,name=annotation,proto3,oneof"`
}

func (*Span_TimeEvent_Annotation_) MarshalTo

func (m *Span_TimeEvent_Annotation_) MarshalTo(dAtA []byte) (int, error)

func (*Span_TimeEvent_Annotation_) MarshalToSizedBuffer

func (m *Span_TimeEvent_Annotation_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span_TimeEvent_Annotation_) Size

func (m *Span_TimeEvent_Annotation_) Size() (n int)

type Span_TimeEvent_MessageEvent

type Span_TimeEvent_MessageEvent struct {
	// The type of MessageEvent. Indicates whether the message was sent or
	// received.
	Type Span_TimeEvent_MessageEvent_Type `` /* 126-byte string literal not displayed */
	// An identifier for the MessageEvent's message that can be used to match
	// SENT and RECEIVED MessageEvents. For example, this field could
	// represent a sequence ID for a streaming RPC. It is recommended to be
	// unique within a Span.
	Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// The number of uncompressed bytes sent or received.
	UncompressedSize uint64 `protobuf:"varint,3,opt,name=uncompressed_size,json=uncompressedSize,proto3" json:"uncompressed_size,omitempty"`
	// The number of compressed bytes sent or received. If zero, assumed to
	// be the same size as uncompressed.
	CompressedSize uint64 `protobuf:"varint,4,opt,name=compressed_size,json=compressedSize,proto3" json:"compressed_size,omitempty"`
}

An event describing a message sent/received between Spans.

func (*Span_TimeEvent_MessageEvent) Descriptor

func (*Span_TimeEvent_MessageEvent) Descriptor() ([]byte, []int)

func (*Span_TimeEvent_MessageEvent) GetCompressedSize

func (m *Span_TimeEvent_MessageEvent) GetCompressedSize() uint64

func (*Span_TimeEvent_MessageEvent) GetId

func (*Span_TimeEvent_MessageEvent) GetType

func (*Span_TimeEvent_MessageEvent) GetUncompressedSize

func (m *Span_TimeEvent_MessageEvent) GetUncompressedSize() uint64

func (*Span_TimeEvent_MessageEvent) Marshal

func (m *Span_TimeEvent_MessageEvent) Marshal() (dAtA []byte, err error)

func (*Span_TimeEvent_MessageEvent) MarshalTo

func (m *Span_TimeEvent_MessageEvent) MarshalTo(dAtA []byte) (int, error)

func (*Span_TimeEvent_MessageEvent) MarshalToSizedBuffer

func (m *Span_TimeEvent_MessageEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span_TimeEvent_MessageEvent) ProtoMessage

func (*Span_TimeEvent_MessageEvent) ProtoMessage()

func (*Span_TimeEvent_MessageEvent) Reset

func (m *Span_TimeEvent_MessageEvent) Reset()

func (*Span_TimeEvent_MessageEvent) Size

func (m *Span_TimeEvent_MessageEvent) Size() (n int)

func (*Span_TimeEvent_MessageEvent) String

func (m *Span_TimeEvent_MessageEvent) String() string

func (*Span_TimeEvent_MessageEvent) Unmarshal

func (m *Span_TimeEvent_MessageEvent) Unmarshal(dAtA []byte) error

func (*Span_TimeEvent_MessageEvent) XXX_DiscardUnknown

func (m *Span_TimeEvent_MessageEvent) XXX_DiscardUnknown()

func (*Span_TimeEvent_MessageEvent) XXX_Marshal

func (m *Span_TimeEvent_MessageEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Span_TimeEvent_MessageEvent) XXX_Merge

func (m *Span_TimeEvent_MessageEvent) XXX_Merge(src proto.Message)

func (*Span_TimeEvent_MessageEvent) XXX_Size

func (m *Span_TimeEvent_MessageEvent) XXX_Size() int

func (*Span_TimeEvent_MessageEvent) XXX_Unmarshal

func (m *Span_TimeEvent_MessageEvent) XXX_Unmarshal(b []byte) error

type Span_TimeEvent_MessageEvent_

type Span_TimeEvent_MessageEvent_ struct {
	MessageEvent *Span_TimeEvent_MessageEvent `protobuf:"bytes,3,opt,name=message_event,json=messageEvent,proto3,oneof"`
}

func (*Span_TimeEvent_MessageEvent_) MarshalTo

func (m *Span_TimeEvent_MessageEvent_) MarshalTo(dAtA []byte) (int, error)

func (*Span_TimeEvent_MessageEvent_) MarshalToSizedBuffer

func (m *Span_TimeEvent_MessageEvent_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span_TimeEvent_MessageEvent_) Size

func (m *Span_TimeEvent_MessageEvent_) Size() (n int)

type Span_TimeEvent_MessageEvent_Type

type Span_TimeEvent_MessageEvent_Type int32

Indicates whether the message was sent or received.

const (
	// Unknown event type.
	Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED Span_TimeEvent_MessageEvent_Type = 0
	// Indicates a sent message.
	Span_TimeEvent_MessageEvent_SENT Span_TimeEvent_MessageEvent_Type = 1
	// Indicates a received message.
	Span_TimeEvent_MessageEvent_RECEIVED Span_TimeEvent_MessageEvent_Type = 2
)

func (Span_TimeEvent_MessageEvent_Type) EnumDescriptor

func (Span_TimeEvent_MessageEvent_Type) EnumDescriptor() ([]byte, []int)

func (Span_TimeEvent_MessageEvent_Type) String

type Span_TimeEvents

type Span_TimeEvents struct {
	// A collection of `TimeEvent`s.
	TimeEvent []*Span_TimeEvent `protobuf:"bytes,1,rep,name=time_event,json=timeEvent,proto3" json:"time_event,omitempty"`
	// The number of dropped annotations in all the included time events.
	// If the value is 0, then no annotations were dropped.
	DroppedAnnotationsCount int32 `` /* 133-byte string literal not displayed */
	// The number of dropped message events in all the included time events.
	// If the value is 0, then no message events were dropped.
	DroppedMessageEventsCount int32 `` /* 141-byte string literal not displayed */
}

A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation on the span, consisting of either user-supplied key-value pairs, or details of a message sent/received between Spans.

func (*Span_TimeEvents) Descriptor

func (*Span_TimeEvents) Descriptor() ([]byte, []int)

func (*Span_TimeEvents) GetDroppedAnnotationsCount

func (m *Span_TimeEvents) GetDroppedAnnotationsCount() int32

func (*Span_TimeEvents) GetDroppedMessageEventsCount

func (m *Span_TimeEvents) GetDroppedMessageEventsCount() int32

func (*Span_TimeEvents) GetTimeEvent

func (m *Span_TimeEvents) GetTimeEvent() []*Span_TimeEvent

func (*Span_TimeEvents) Marshal

func (m *Span_TimeEvents) Marshal() (dAtA []byte, err error)

func (*Span_TimeEvents) MarshalTo

func (m *Span_TimeEvents) MarshalTo(dAtA []byte) (int, error)

func (*Span_TimeEvents) MarshalToSizedBuffer

func (m *Span_TimeEvents) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span_TimeEvents) ProtoMessage

func (*Span_TimeEvents) ProtoMessage()

func (*Span_TimeEvents) Reset

func (m *Span_TimeEvents) Reset()

func (*Span_TimeEvents) Size

func (m *Span_TimeEvents) Size() (n int)

func (*Span_TimeEvents) String

func (m *Span_TimeEvents) String() string

func (*Span_TimeEvents) Unmarshal

func (m *Span_TimeEvents) Unmarshal(dAtA []byte) error

func (*Span_TimeEvents) XXX_DiscardUnknown

func (m *Span_TimeEvents) XXX_DiscardUnknown()

func (*Span_TimeEvents) XXX_Marshal

func (m *Span_TimeEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Span_TimeEvents) XXX_Merge

func (m *Span_TimeEvents) XXX_Merge(src proto.Message)

func (*Span_TimeEvents) XXX_Size

func (m *Span_TimeEvents) XXX_Size() int

func (*Span_TimeEvents) XXX_Unmarshal

func (m *Span_TimeEvents) XXX_Unmarshal(b []byte) error

type Span_Tracestate

type Span_Tracestate struct {
	// A list of entries that represent the Tracestate.
	Entries []*Span_Tracestate_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
}

This field conveys information about request position in multiple distributed tracing graphs. It is a list of Tracestate.Entry with a maximum of 32 members in the list.

See the https://github.com/w3c/distributed-tracing for more details about this field.

func (*Span_Tracestate) Descriptor

func (*Span_Tracestate) Descriptor() ([]byte, []int)

func (*Span_Tracestate) GetEntries

func (m *Span_Tracestate) GetEntries() []*Span_Tracestate_Entry

func (*Span_Tracestate) Marshal

func (m *Span_Tracestate) Marshal() (dAtA []byte, err error)

func (*Span_Tracestate) MarshalTo

func (m *Span_Tracestate) MarshalTo(dAtA []byte) (int, error)

func (*Span_Tracestate) MarshalToSizedBuffer

func (m *Span_Tracestate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span_Tracestate) ProtoMessage

func (*Span_Tracestate) ProtoMessage()

func (*Span_Tracestate) Reset

func (m *Span_Tracestate) Reset()

func (*Span_Tracestate) Size

func (m *Span_Tracestate) Size() (n int)

func (*Span_Tracestate) String

func (m *Span_Tracestate) String() string

func (*Span_Tracestate) Unmarshal

func (m *Span_Tracestate) Unmarshal(dAtA []byte) error

func (*Span_Tracestate) XXX_DiscardUnknown

func (m *Span_Tracestate) XXX_DiscardUnknown()

func (*Span_Tracestate) XXX_Marshal

func (m *Span_Tracestate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Span_Tracestate) XXX_Merge

func (m *Span_Tracestate) XXX_Merge(src proto.Message)

func (*Span_Tracestate) XXX_Size

func (m *Span_Tracestate) XXX_Size() int

func (*Span_Tracestate) XXX_Unmarshal

func (m *Span_Tracestate) XXX_Unmarshal(b []byte) error

type Span_Tracestate_Entry

type Span_Tracestate_Entry struct {
	// The key must begin with a lowercase letter, and can only contain
	// lowercase letters 'a'-'z', digits '0'-'9', underscores '_', dashes
	// '-', asterisks '*', and forward slashes '/'.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The value is opaque string up to 256 characters printable ASCII
	// RFC0020 characters (i.e., the range 0x20 to 0x7E) except ',' and '='.
	// Note that this also excludes tabs, newlines, carriage returns, etc.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*Span_Tracestate_Entry) Descriptor

func (*Span_Tracestate_Entry) Descriptor() ([]byte, []int)

func (*Span_Tracestate_Entry) GetKey

func (m *Span_Tracestate_Entry) GetKey() string

func (*Span_Tracestate_Entry) GetValue

func (m *Span_Tracestate_Entry) GetValue() string

func (*Span_Tracestate_Entry) Marshal

func (m *Span_Tracestate_Entry) Marshal() (dAtA []byte, err error)

func (*Span_Tracestate_Entry) MarshalTo

func (m *Span_Tracestate_Entry) MarshalTo(dAtA []byte) (int, error)

func (*Span_Tracestate_Entry) MarshalToSizedBuffer

func (m *Span_Tracestate_Entry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Span_Tracestate_Entry) ProtoMessage

func (*Span_Tracestate_Entry) ProtoMessage()

func (*Span_Tracestate_Entry) Reset

func (m *Span_Tracestate_Entry) Reset()

func (*Span_Tracestate_Entry) Size

func (m *Span_Tracestate_Entry) Size() (n int)

func (*Span_Tracestate_Entry) String

func (m *Span_Tracestate_Entry) String() string

func (*Span_Tracestate_Entry) Unmarshal

func (m *Span_Tracestate_Entry) Unmarshal(dAtA []byte) error

func (*Span_Tracestate_Entry) XXX_DiscardUnknown

func (m *Span_Tracestate_Entry) XXX_DiscardUnknown()

func (*Span_Tracestate_Entry) XXX_Marshal

func (m *Span_Tracestate_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Span_Tracestate_Entry) XXX_Merge

func (m *Span_Tracestate_Entry) XXX_Merge(src proto.Message)

func (*Span_Tracestate_Entry) XXX_Size

func (m *Span_Tracestate_Entry) XXX_Size() int

func (*Span_Tracestate_Entry) XXX_Unmarshal

func (m *Span_Tracestate_Entry) XXX_Unmarshal(b []byte) error

type StackTrace

type StackTrace struct {
	// Stack frames in this stack trace.
	StackFrames *StackTrace_StackFrames `protobuf:"bytes,1,opt,name=stack_frames,json=stackFrames,proto3" json:"stack_frames,omitempty"`
	// The hash ID is used to conserve network bandwidth for duplicate
	// stack traces within a single trace.
	//
	// Often multiple spans will have identical stack traces.
	// The first occurrence of a stack trace should contain both
	// `stack_frames` and a value in `stack_trace_hash_id`.
	//
	// Subsequent spans within the same request can refer
	// to that stack trace by setting only `stack_trace_hash_id`.
	//
	// TODO: describe how to deal with the case where stack_trace_hash_id is
	// zero because it was not set.
	StackTraceHashId uint64 `protobuf:"varint,2,opt,name=stack_trace_hash_id,json=stackTraceHashId,proto3" json:"stack_trace_hash_id,omitempty"`
}

The call stack which originated this span.

func (*StackTrace) Descriptor

func (*StackTrace) Descriptor() ([]byte, []int)

func (*StackTrace) GetStackFrames

func (m *StackTrace) GetStackFrames() *StackTrace_StackFrames

func (*StackTrace) GetStackTraceHashId

func (m *StackTrace) GetStackTraceHashId() uint64

func (*StackTrace) Marshal

func (m *StackTrace) Marshal() (dAtA []byte, err error)

func (*StackTrace) MarshalTo

func (m *StackTrace) MarshalTo(dAtA []byte) (int, error)

func (*StackTrace) MarshalToSizedBuffer

func (m *StackTrace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StackTrace) ProtoMessage

func (*StackTrace) ProtoMessage()

func (*StackTrace) Reset

func (m *StackTrace) Reset()

func (*StackTrace) Size

func (m *StackTrace) Size() (n int)

func (*StackTrace) String

func (m *StackTrace) String() string

func (*StackTrace) Unmarshal

func (m *StackTrace) Unmarshal(dAtA []byte) error

func (*StackTrace) XXX_DiscardUnknown

func (m *StackTrace) XXX_DiscardUnknown()

func (*StackTrace) XXX_Marshal

func (m *StackTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StackTrace) XXX_Merge

func (m *StackTrace) XXX_Merge(src proto.Message)

func (*StackTrace) XXX_Size

func (m *StackTrace) XXX_Size() int

func (*StackTrace) XXX_Unmarshal

func (m *StackTrace) XXX_Unmarshal(b []byte) error

type StackTrace_StackFrame

type StackTrace_StackFrame struct {
	// The fully-qualified name that uniquely identifies the function or
	// method that is active in this frame.
	FunctionName *TruncatableString `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	// An un-mangled function name, if `function_name` is
	// [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
	// be fully qualified.
	OriginalFunctionName *TruncatableString `protobuf:"bytes,2,opt,name=original_function_name,json=originalFunctionName,proto3" json:"original_function_name,omitempty"`
	// The name of the source file where the function call appears.
	FileName *TruncatableString `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// The line number in `file_name` where the function call appears.
	LineNumber int64 `protobuf:"varint,4,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
	// The column number where the function call appears, if available.
	// This is important in JavaScript because of its anonymous functions.
	ColumnNumber int64 `protobuf:"varint,5,opt,name=column_number,json=columnNumber,proto3" json:"column_number,omitempty"`
	// The binary module from where the code was loaded.
	LoadModule *Module `protobuf:"bytes,6,opt,name=load_module,json=loadModule,proto3" json:"load_module,omitempty"`
	// The version of the deployed source code.
	SourceVersion *TruncatableString `protobuf:"bytes,7,opt,name=source_version,json=sourceVersion,proto3" json:"source_version,omitempty"`
}

A single stack frame in a stack trace.

func (*StackTrace_StackFrame) Descriptor

func (*StackTrace_StackFrame) Descriptor() ([]byte, []int)

func (*StackTrace_StackFrame) GetColumnNumber

func (m *StackTrace_StackFrame) GetColumnNumber() int64

func (*StackTrace_StackFrame) GetFileName

func (m *StackTrace_StackFrame) GetFileName() *TruncatableString

func (*StackTrace_StackFrame) GetFunctionName

func (m *StackTrace_StackFrame) GetFunctionName() *TruncatableString

func (*StackTrace_StackFrame) GetLineNumber

func (m *StackTrace_StackFrame) GetLineNumber() int64

func (*StackTrace_StackFrame) GetLoadModule

func (m *StackTrace_StackFrame) GetLoadModule() *Module

func (*StackTrace_StackFrame) GetOriginalFunctionName

func (m *StackTrace_StackFrame) GetOriginalFunctionName() *TruncatableString

func (*StackTrace_StackFrame) GetSourceVersion

func (m *StackTrace_StackFrame) GetSourceVersion() *TruncatableString

func (*StackTrace_StackFrame) Marshal

func (m *StackTrace_StackFrame) Marshal() (dAtA []byte, err error)

func (*StackTrace_StackFrame) MarshalTo

func (m *StackTrace_StackFrame) MarshalTo(dAtA []byte) (int, error)

func (*StackTrace_StackFrame) MarshalToSizedBuffer

func (m *StackTrace_StackFrame) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StackTrace_StackFrame) ProtoMessage

func (*StackTrace_StackFrame) ProtoMessage()

func (*StackTrace_StackFrame) Reset

func (m *StackTrace_StackFrame) Reset()

func (*StackTrace_StackFrame) Size

func (m *StackTrace_StackFrame) Size() (n int)

func (*StackTrace_StackFrame) String

func (m *StackTrace_StackFrame) String() string

func (*StackTrace_StackFrame) Unmarshal

func (m *StackTrace_StackFrame) Unmarshal(dAtA []byte) error

func (*StackTrace_StackFrame) XXX_DiscardUnknown

func (m *StackTrace_StackFrame) XXX_DiscardUnknown()

func (*StackTrace_StackFrame) XXX_Marshal

func (m *StackTrace_StackFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StackTrace_StackFrame) XXX_Merge

func (m *StackTrace_StackFrame) XXX_Merge(src proto.Message)

func (*StackTrace_StackFrame) XXX_Size

func (m *StackTrace_StackFrame) XXX_Size() int

func (*StackTrace_StackFrame) XXX_Unmarshal

func (m *StackTrace_StackFrame) XXX_Unmarshal(b []byte) error

type StackTrace_StackFrames

type StackTrace_StackFrames struct {
	// Stack frames in this call stack.
	Frame []*StackTrace_StackFrame `protobuf:"bytes,1,rep,name=frame,proto3" json:"frame,omitempty"`
	// The number of stack frames that were dropped because there
	// were too many stack frames.
	// If this value is 0, then no stack frames were dropped.
	DroppedFramesCount int32 `protobuf:"varint,2,opt,name=dropped_frames_count,json=droppedFramesCount,proto3" json:"dropped_frames_count,omitempty"`
}

A collection of stack frames, which can be truncated.

func (*StackTrace_StackFrames) Descriptor

func (*StackTrace_StackFrames) Descriptor() ([]byte, []int)

func (*StackTrace_StackFrames) GetDroppedFramesCount

func (m *StackTrace_StackFrames) GetDroppedFramesCount() int32

func (*StackTrace_StackFrames) GetFrame

func (*StackTrace_StackFrames) Marshal

func (m *StackTrace_StackFrames) Marshal() (dAtA []byte, err error)

func (*StackTrace_StackFrames) MarshalTo

func (m *StackTrace_StackFrames) MarshalTo(dAtA []byte) (int, error)

func (*StackTrace_StackFrames) MarshalToSizedBuffer

func (m *StackTrace_StackFrames) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StackTrace_StackFrames) ProtoMessage

func (*StackTrace_StackFrames) ProtoMessage()

func (*StackTrace_StackFrames) Reset

func (m *StackTrace_StackFrames) Reset()

func (*StackTrace_StackFrames) Size

func (m *StackTrace_StackFrames) Size() (n int)

func (*StackTrace_StackFrames) String

func (m *StackTrace_StackFrames) String() string

func (*StackTrace_StackFrames) Unmarshal

func (m *StackTrace_StackFrames) Unmarshal(dAtA []byte) error

func (*StackTrace_StackFrames) XXX_DiscardUnknown

func (m *StackTrace_StackFrames) XXX_DiscardUnknown()

func (*StackTrace_StackFrames) XXX_Marshal

func (m *StackTrace_StackFrames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StackTrace_StackFrames) XXX_Merge

func (m *StackTrace_StackFrames) XXX_Merge(src proto.Message)

func (*StackTrace_StackFrames) XXX_Size

func (m *StackTrace_StackFrames) XXX_Size() int

func (*StackTrace_StackFrames) XXX_Unmarshal

func (m *StackTrace_StackFrames) XXX_Unmarshal(b []byte) error

type Status

type Status struct {
	// The status code. This is optional field. It is safe to assume 0 (OK)
	// when not set.
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// A developer-facing error message, which should be in English.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. This proto's fields are a subset of those of [google.rpc.Status](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto), which is used by [gRPC](https://github.com/grpc).

func (*Status) Descriptor

func (*Status) Descriptor() ([]byte, []int)

func (*Status) GetCode

func (m *Status) GetCode() int32

func (*Status) GetMessage

func (m *Status) GetMessage() string

func (*Status) Marshal

func (m *Status) Marshal() (dAtA []byte, err error)

func (*Status) MarshalTo

func (m *Status) MarshalTo(dAtA []byte) (int, error)

func (*Status) MarshalToSizedBuffer

func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) Size

func (m *Status) Size() (n int)

func (*Status) String

func (m *Status) String() string

func (*Status) Unmarshal

func (m *Status) Unmarshal(dAtA []byte) error

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

type TraceConfig

type TraceConfig struct {
	// The global default sampler used to make decisions on span sampling.
	//
	// Types that are valid to be assigned to Sampler:
	//	*TraceConfig_ProbabilitySampler
	//	*TraceConfig_ConstantSampler
	//	*TraceConfig_RateLimitingSampler
	Sampler isTraceConfig_Sampler `protobuf_oneof:"sampler"`
	// The global default max number of attributes per span.
	MaxNumberOfAttributes int64 `` /* 129-byte string literal not displayed */
	// The global default max number of annotation events per span.
	MaxNumberOfAnnotations int64 `` /* 132-byte string literal not displayed */
	// The global default max number of message events per span.
	MaxNumberOfMessageEvents int64 `` /* 140-byte string literal not displayed */
	// The global default max number of link entries per span.
	MaxNumberOfLinks int64 `protobuf:"varint,7,opt,name=max_number_of_links,json=maxNumberOfLinks,proto3" json:"max_number_of_links,omitempty"`
}

Global configuration of the trace service. All fields must be specified, or the default (zero) values will be used for each type.

func (*TraceConfig) Descriptor

func (*TraceConfig) Descriptor() ([]byte, []int)

func (*TraceConfig) GetConstantSampler

func (m *TraceConfig) GetConstantSampler() *ConstantSampler

func (*TraceConfig) GetMaxNumberOfAnnotations

func (m *TraceConfig) GetMaxNumberOfAnnotations() int64

func (*TraceConfig) GetMaxNumberOfAttributes

func (m *TraceConfig) GetMaxNumberOfAttributes() int64
func (m *TraceConfig) GetMaxNumberOfLinks() int64

func (*TraceConfig) GetMaxNumberOfMessageEvents

func (m *TraceConfig) GetMaxNumberOfMessageEvents() int64

func (*TraceConfig) GetProbabilitySampler

func (m *TraceConfig) GetProbabilitySampler() *ProbabilitySampler

func (*TraceConfig) GetRateLimitingSampler

func (m *TraceConfig) GetRateLimitingSampler() *RateLimitingSampler

func (*TraceConfig) GetSampler

func (m *TraceConfig) GetSampler() isTraceConfig_Sampler

func (*TraceConfig) Marshal

func (m *TraceConfig) Marshal() (dAtA []byte, err error)

func (*TraceConfig) MarshalTo

func (m *TraceConfig) MarshalTo(dAtA []byte) (int, error)

func (*TraceConfig) MarshalToSizedBuffer

func (m *TraceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TraceConfig) ProtoMessage

func (*TraceConfig) ProtoMessage()

func (*TraceConfig) Reset

func (m *TraceConfig) Reset()

func (*TraceConfig) Size

func (m *TraceConfig) Size() (n int)

func (*TraceConfig) String

func (m *TraceConfig) String() string

func (*TraceConfig) Unmarshal

func (m *TraceConfig) Unmarshal(dAtA []byte) error

func (*TraceConfig) XXX_DiscardUnknown

func (m *TraceConfig) XXX_DiscardUnknown()

func (*TraceConfig) XXX_Marshal

func (m *TraceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TraceConfig) XXX_Merge

func (m *TraceConfig) XXX_Merge(src proto.Message)

func (*TraceConfig) XXX_OneofWrappers

func (*TraceConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TraceConfig) XXX_Size

func (m *TraceConfig) XXX_Size() int

func (*TraceConfig) XXX_Unmarshal

func (m *TraceConfig) XXX_Unmarshal(b []byte) error

type TraceConfig_ConstantSampler

type TraceConfig_ConstantSampler struct {
	ConstantSampler *ConstantSampler `protobuf:"bytes,2,opt,name=constant_sampler,json=constantSampler,proto3,oneof"`
}

func (*TraceConfig_ConstantSampler) MarshalTo

func (m *TraceConfig_ConstantSampler) MarshalTo(dAtA []byte) (int, error)

func (*TraceConfig_ConstantSampler) MarshalToSizedBuffer

func (m *TraceConfig_ConstantSampler) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TraceConfig_ConstantSampler) Size

func (m *TraceConfig_ConstantSampler) Size() (n int)

type TraceConfig_ProbabilitySampler

type TraceConfig_ProbabilitySampler struct {
	ProbabilitySampler *ProbabilitySampler `protobuf:"bytes,1,opt,name=probability_sampler,json=probabilitySampler,proto3,oneof"`
}

func (*TraceConfig_ProbabilitySampler) MarshalTo

func (m *TraceConfig_ProbabilitySampler) MarshalTo(dAtA []byte) (int, error)

func (*TraceConfig_ProbabilitySampler) MarshalToSizedBuffer

func (m *TraceConfig_ProbabilitySampler) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TraceConfig_ProbabilitySampler) Size

func (m *TraceConfig_ProbabilitySampler) Size() (n int)

type TraceConfig_RateLimitingSampler

type TraceConfig_RateLimitingSampler struct {
	RateLimitingSampler *RateLimitingSampler `protobuf:"bytes,3,opt,name=rate_limiting_sampler,json=rateLimitingSampler,proto3,oneof"`
}

func (*TraceConfig_RateLimitingSampler) MarshalTo

func (m *TraceConfig_RateLimitingSampler) MarshalTo(dAtA []byte) (int, error)

func (*TraceConfig_RateLimitingSampler) MarshalToSizedBuffer

func (m *TraceConfig_RateLimitingSampler) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TraceConfig_RateLimitingSampler) Size

func (m *TraceConfig_RateLimitingSampler) Size() (n int)

type TruncatableString

type TruncatableString struct {
	// The shortened string. For example, if the original string was 500 bytes long and
	// the limit of the string was 128 bytes, then this value contains the first 128
	// bytes of the 500-byte string. Note that truncation always happens on a
	// character boundary, to ensure that a truncated string is still valid UTF-8.
	// Because it may contain multi-byte characters, the size of the truncated string
	// may be less than the truncation limit.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// The number of bytes removed from the original string. If this
	// value is 0, then the string was not shortened.
	TruncatedByteCount int32 `protobuf:"varint,2,opt,name=truncated_byte_count,json=truncatedByteCount,proto3" json:"truncated_byte_count,omitempty"`
}

A string that might be shortened to a specified length.

func (*TruncatableString) Descriptor

func (*TruncatableString) Descriptor() ([]byte, []int)

func (*TruncatableString) GetTruncatedByteCount

func (m *TruncatableString) GetTruncatedByteCount() int32

func (*TruncatableString) GetValue

func (m *TruncatableString) GetValue() string

func (*TruncatableString) Marshal

func (m *TruncatableString) Marshal() (dAtA []byte, err error)

func (*TruncatableString) MarshalTo

func (m *TruncatableString) MarshalTo(dAtA []byte) (int, error)

func (*TruncatableString) MarshalToSizedBuffer

func (m *TruncatableString) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TruncatableString) ProtoMessage

func (*TruncatableString) ProtoMessage()

func (*TruncatableString) Reset

func (m *TruncatableString) Reset()

func (*TruncatableString) Size

func (m *TruncatableString) Size() (n int)

func (*TruncatableString) String

func (m *TruncatableString) String() string

func (*TruncatableString) Unmarshal

func (m *TruncatableString) Unmarshal(dAtA []byte) error

func (*TruncatableString) XXX_DiscardUnknown

func (m *TruncatableString) XXX_DiscardUnknown()

func (*TruncatableString) XXX_Marshal

func (m *TruncatableString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TruncatableString) XXX_Merge

func (m *TruncatableString) XXX_Merge(src proto.Message)

func (*TruncatableString) XXX_Size

func (m *TruncatableString) XXX_Size() int

func (*TruncatableString) XXX_Unmarshal

func (m *TruncatableString) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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