Documentation ¶
Index ¶
- Variables
- func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer)
- type AttributeValue
- func (*AttributeValue) Descriptor() ([]byte, []int)
- func (m *AttributeValue) GetBoolValue() bool
- func (m *AttributeValue) GetIntValue() int64
- func (m *AttributeValue) GetStringValue() *TruncatableString
- func (m *AttributeValue) GetValue() isAttributeValue_Value
- func (*AttributeValue) ProtoMessage()
- func (m *AttributeValue) Reset()
- func (m *AttributeValue) String() string
- func (m *AttributeValue) XXX_DiscardUnknown()
- func (m *AttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AttributeValue) XXX_Merge(src proto.Message)
- func (*AttributeValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *AttributeValue) XXX_Size() int
- func (m *AttributeValue) XXX_Unmarshal(b []byte) error
- type AttributeValue_BoolValue
- type AttributeValue_IntValue
- type AttributeValue_StringValue
- type BatchWriteSpansRequest
- func (*BatchWriteSpansRequest) Descriptor() ([]byte, []int)
- func (m *BatchWriteSpansRequest) GetName() string
- func (m *BatchWriteSpansRequest) GetSpans() []*Span
- func (*BatchWriteSpansRequest) ProtoMessage()
- func (m *BatchWriteSpansRequest) Reset()
- func (m *BatchWriteSpansRequest) String() string
- func (m *BatchWriteSpansRequest) XXX_DiscardUnknown()
- func (m *BatchWriteSpansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BatchWriteSpansRequest) XXX_Merge(src proto.Message)
- func (m *BatchWriteSpansRequest) XXX_Size() int
- func (m *BatchWriteSpansRequest) XXX_Unmarshal(b []byte) error
- type Module
- func (*Module) Descriptor() ([]byte, []int)
- func (m *Module) GetBuildId() *TruncatableString
- func (m *Module) GetModule() *TruncatableString
- func (*Module) ProtoMessage()
- func (m *Module) Reset()
- func (m *Module) String() string
- func (m *Module) XXX_DiscardUnknown()
- func (m *Module) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Module) XXX_Merge(src proto.Message)
- func (m *Module) XXX_Size() int
- func (m *Module) XXX_Unmarshal(b []byte) error
- type Span
- func (*Span) Descriptor() ([]byte, []int)
- func (m *Span) GetAttributes() *Span_Attributes
- func (m *Span) GetChildSpanCount() *wrappers.Int32Value
- func (m *Span) GetDisplayName() *TruncatableString
- func (m *Span) GetEndTime() *timestamp.Timestamp
- func (m *Span) GetLinks() *Span_Links
- func (m *Span) GetName() string
- func (m *Span) GetParentSpanId() string
- func (m *Span) GetSameProcessAsParentSpan() *wrappers.BoolValue
- func (m *Span) GetSpanId() string
- func (m *Span) GetStackTrace() *StackTrace
- func (m *Span) GetStartTime() *timestamp.Timestamp
- func (m *Span) GetStatus() *status.Status
- func (m *Span) GetTimeEvents() *Span_TimeEvents
- func (*Span) ProtoMessage()
- func (m *Span) Reset()
- func (m *Span) String() string
- func (m *Span) XXX_DiscardUnknown()
- func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Span) XXX_Merge(src proto.Message)
- func (m *Span) XXX_Size() int
- func (m *Span) XXX_Unmarshal(b []byte) error
- type Span_Attributes
- func (*Span_Attributes) Descriptor() ([]byte, []int)
- func (m *Span_Attributes) GetAttributeMap() map[string]*AttributeValue
- func (m *Span_Attributes) GetDroppedAttributesCount() int32
- func (*Span_Attributes) ProtoMessage()
- func (m *Span_Attributes) Reset()
- func (m *Span_Attributes) String() string
- func (m *Span_Attributes) XXX_DiscardUnknown()
- func (m *Span_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Span_Attributes) XXX_Merge(src proto.Message)
- func (m *Span_Attributes) XXX_Size() int
- func (m *Span_Attributes) XXX_Unmarshal(b []byte) error
- type Span_Link
- func (*Span_Link) Descriptor() ([]byte, []int)
- func (m *Span_Link) GetAttributes() *Span_Attributes
- func (m *Span_Link) GetSpanId() string
- func (m *Span_Link) GetTraceId() string
- func (m *Span_Link) GetType() Span_Link_Type
- func (*Span_Link) ProtoMessage()
- func (m *Span_Link) Reset()
- func (m *Span_Link) String() string
- func (m *Span_Link) XXX_DiscardUnknown()
- func (m *Span_Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Span_Link) XXX_Merge(src proto.Message)
- func (m *Span_Link) XXX_Size() int
- func (m *Span_Link) XXX_Unmarshal(b []byte) error
- type Span_Link_Type
- type Span_Links
- func (*Span_Links) Descriptor() ([]byte, []int)
- func (m *Span_Links) GetDroppedLinksCount() int32
- func (m *Span_Links) GetLink() []*Span_Link
- func (*Span_Links) ProtoMessage()
- func (m *Span_Links) Reset()
- func (m *Span_Links) String() string
- func (m *Span_Links) XXX_DiscardUnknown()
- func (m *Span_Links) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Span_Links) XXX_Merge(src proto.Message)
- func (m *Span_Links) XXX_Size() int
- func (m *Span_Links) XXX_Unmarshal(b []byte) error
- type Span_TimeEvent
- func (*Span_TimeEvent) Descriptor() ([]byte, []int)
- func (m *Span_TimeEvent) GetAnnotation() *Span_TimeEvent_Annotation
- func (m *Span_TimeEvent) GetMessageEvent() *Span_TimeEvent_MessageEvent
- func (m *Span_TimeEvent) GetTime() *timestamp.Timestamp
- func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value
- func (*Span_TimeEvent) ProtoMessage()
- func (m *Span_TimeEvent) Reset()
- func (m *Span_TimeEvent) String() string
- func (m *Span_TimeEvent) XXX_DiscardUnknown()
- func (m *Span_TimeEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Span_TimeEvent) XXX_Merge(src proto.Message)
- func (*Span_TimeEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Span_TimeEvent) XXX_Size() int
- func (m *Span_TimeEvent) XXX_Unmarshal(b []byte) error
- type Span_TimeEvent_Annotation
- func (*Span_TimeEvent_Annotation) Descriptor() ([]byte, []int)
- func (m *Span_TimeEvent_Annotation) GetAttributes() *Span_Attributes
- func (m *Span_TimeEvent_Annotation) GetDescription() *TruncatableString
- func (*Span_TimeEvent_Annotation) ProtoMessage()
- func (m *Span_TimeEvent_Annotation) Reset()
- func (m *Span_TimeEvent_Annotation) String() string
- func (m *Span_TimeEvent_Annotation) XXX_DiscardUnknown()
- func (m *Span_TimeEvent_Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Span_TimeEvent_Annotation) XXX_Merge(src proto.Message)
- func (m *Span_TimeEvent_Annotation) XXX_Size() int
- func (m *Span_TimeEvent_Annotation) XXX_Unmarshal(b []byte) error
- type Span_TimeEvent_Annotation_
- type Span_TimeEvent_MessageEvent
- func (*Span_TimeEvent_MessageEvent) Descriptor() ([]byte, []int)
- func (m *Span_TimeEvent_MessageEvent) GetCompressedSizeBytes() int64
- func (m *Span_TimeEvent_MessageEvent) GetId() int64
- func (m *Span_TimeEvent_MessageEvent) GetType() Span_TimeEvent_MessageEvent_Type
- func (m *Span_TimeEvent_MessageEvent) GetUncompressedSizeBytes() int64
- func (*Span_TimeEvent_MessageEvent) ProtoMessage()
- func (m *Span_TimeEvent_MessageEvent) Reset()
- func (m *Span_TimeEvent_MessageEvent) String() string
- func (m *Span_TimeEvent_MessageEvent) XXX_DiscardUnknown()
- func (m *Span_TimeEvent_MessageEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Span_TimeEvent_MessageEvent) XXX_Merge(src proto.Message)
- func (m *Span_TimeEvent_MessageEvent) XXX_Size() int
- func (m *Span_TimeEvent_MessageEvent) XXX_Unmarshal(b []byte) error
- type Span_TimeEvent_MessageEvent_
- type Span_TimeEvent_MessageEvent_Type
- type Span_TimeEvents
- func (*Span_TimeEvents) Descriptor() ([]byte, []int)
- func (m *Span_TimeEvents) GetDroppedAnnotationsCount() int32
- func (m *Span_TimeEvents) GetDroppedMessageEventsCount() int32
- func (m *Span_TimeEvents) GetTimeEvent() []*Span_TimeEvent
- func (*Span_TimeEvents) ProtoMessage()
- func (m *Span_TimeEvents) Reset()
- func (m *Span_TimeEvents) String() string
- func (m *Span_TimeEvents) XXX_DiscardUnknown()
- func (m *Span_TimeEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Span_TimeEvents) XXX_Merge(src proto.Message)
- func (m *Span_TimeEvents) XXX_Size() int
- func (m *Span_TimeEvents) XXX_Unmarshal(b []byte) error
- type StackTrace
- func (*StackTrace) Descriptor() ([]byte, []int)
- func (m *StackTrace) GetStackFrames() *StackTrace_StackFrames
- func (m *StackTrace) GetStackTraceHashId() int64
- func (*StackTrace) ProtoMessage()
- func (m *StackTrace) Reset()
- func (m *StackTrace) String() string
- func (m *StackTrace) XXX_DiscardUnknown()
- func (m *StackTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StackTrace) XXX_Merge(src proto.Message)
- func (m *StackTrace) XXX_Size() int
- func (m *StackTrace) XXX_Unmarshal(b []byte) error
- type StackTrace_StackFrame
- func (*StackTrace_StackFrame) Descriptor() ([]byte, []int)
- func (m *StackTrace_StackFrame) GetColumnNumber() int64
- func (m *StackTrace_StackFrame) GetFileName() *TruncatableString
- func (m *StackTrace_StackFrame) GetFunctionName() *TruncatableString
- func (m *StackTrace_StackFrame) GetLineNumber() int64
- func (m *StackTrace_StackFrame) GetLoadModule() *Module
- func (m *StackTrace_StackFrame) GetOriginalFunctionName() *TruncatableString
- func (m *StackTrace_StackFrame) GetSourceVersion() *TruncatableString
- func (*StackTrace_StackFrame) ProtoMessage()
- func (m *StackTrace_StackFrame) Reset()
- func (m *StackTrace_StackFrame) String() string
- func (m *StackTrace_StackFrame) XXX_DiscardUnknown()
- func (m *StackTrace_StackFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StackTrace_StackFrame) XXX_Merge(src proto.Message)
- func (m *StackTrace_StackFrame) XXX_Size() int
- func (m *StackTrace_StackFrame) XXX_Unmarshal(b []byte) error
- type StackTrace_StackFrames
- func (*StackTrace_StackFrames) Descriptor() ([]byte, []int)
- func (m *StackTrace_StackFrames) GetDroppedFramesCount() int32
- func (m *StackTrace_StackFrames) GetFrame() []*StackTrace_StackFrame
- func (*StackTrace_StackFrames) ProtoMessage()
- func (m *StackTrace_StackFrames) Reset()
- func (m *StackTrace_StackFrames) String() string
- func (m *StackTrace_StackFrames) XXX_DiscardUnknown()
- func (m *StackTrace_StackFrames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StackTrace_StackFrames) XXX_Merge(src proto.Message)
- func (m *StackTrace_StackFrames) XXX_Size() int
- func (m *StackTrace_StackFrames) XXX_Unmarshal(b []byte) error
- type TraceServiceClient
- type TraceServiceServer
- type TruncatableString
- func (*TruncatableString) Descriptor() ([]byte, []int)
- func (m *TruncatableString) GetTruncatedByteCount() int32
- func (m *TruncatableString) GetValue() string
- func (*TruncatableString) ProtoMessage()
- func (m *TruncatableString) Reset()
- func (m *TruncatableString) String() string
- func (m *TruncatableString) XXX_DiscardUnknown()
- func (m *TruncatableString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TruncatableString) XXX_Merge(src proto.Message)
- func (m *TruncatableString) XXX_Size() int
- func (m *TruncatableString) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var Span_Link_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "CHILD_LINKED_SPAN",
2: "PARENT_LINKED_SPAN",
}
var Span_Link_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"CHILD_LINKED_SPAN": 1,
"PARENT_LINKED_SPAN": 2,
}
var Span_TimeEvent_MessageEvent_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "SENT",
2: "RECEIVED",
}
var Span_TimeEvent_MessageEvent_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"SENT": 1,
"RECEIVED": 2,
}
Functions ¶
func RegisterTraceServiceServer ¶
func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer)
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 Value isAttributeValue_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
func (*AttributeValue) Descriptor ¶
func (*AttributeValue) Descriptor() ([]byte, []int)
func (*AttributeValue) GetBoolValue ¶
func (m *AttributeValue) GetBoolValue() bool
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) ProtoMessage ¶
func (*AttributeValue) ProtoMessage()
func (*AttributeValue) Reset ¶
func (m *AttributeValue) Reset()
func (*AttributeValue) String ¶
func (m *AttributeValue) String() string
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 (dst *AttributeValue) XXX_Merge(src proto.Message)
func (*AttributeValue) XXX_OneofFuncs ¶
func (*AttributeValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs 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"`
}
type AttributeValue_IntValue ¶
type AttributeValue_IntValue struct {
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
type AttributeValue_StringValue ¶
type AttributeValue_StringValue struct {
StringValue *TruncatableString `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type BatchWriteSpansRequest ¶
type BatchWriteSpansRequest struct { // Required. The name of the project where the spans belong. The format is // `projects/[PROJECT_ID]`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A list of new spans. The span names must not match existing // spans, or the results are undefined. Spans []*Span `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request message for the `BatchWriteSpans` method.
func (*BatchWriteSpansRequest) Descriptor ¶
func (*BatchWriteSpansRequest) Descriptor() ([]byte, []int)
func (*BatchWriteSpansRequest) GetName ¶
func (m *BatchWriteSpansRequest) GetName() string
func (*BatchWriteSpansRequest) GetSpans ¶
func (m *BatchWriteSpansRequest) GetSpans() []*Span
func (*BatchWriteSpansRequest) ProtoMessage ¶
func (*BatchWriteSpansRequest) ProtoMessage()
func (*BatchWriteSpansRequest) Reset ¶
func (m *BatchWriteSpansRequest) Reset()
func (*BatchWriteSpansRequest) String ¶
func (m *BatchWriteSpansRequest) String() string
func (*BatchWriteSpansRequest) XXX_DiscardUnknown ¶
func (m *BatchWriteSpansRequest) XXX_DiscardUnknown()
func (*BatchWriteSpansRequest) XXX_Marshal ¶
func (m *BatchWriteSpansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchWriteSpansRequest) XXX_Merge ¶
func (dst *BatchWriteSpansRequest) XXX_Merge(src proto.Message)
func (*BatchWriteSpansRequest) XXX_Size ¶
func (m *BatchWriteSpansRequest) XXX_Size() int
func (*BatchWriteSpansRequest) XXX_Unmarshal ¶
func (m *BatchWriteSpansRequest) XXX_Unmarshal(b []byte) error
type Module ¶
type Module struct { // For example: main binary, kernel modules, and dynamic libraries // such as libc.so, sharedlib.so (up to 256 bytes). Module *TruncatableString `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // A unique identifier for the module, usually a hash of its // contents (up to 128 bytes). BuildId *TruncatableString `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Binary module.
func (*Module) Descriptor ¶
func (*Module) GetBuildId ¶
func (m *Module) GetBuildId() *TruncatableString
func (*Module) GetModule ¶
func (m *Module) GetModule() *TruncatableString
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) XXX_DiscardUnknown ¶
func (m *Module) XXX_DiscardUnknown()
func (*Module) XXX_Marshal ¶
func (*Module) XXX_Unmarshal ¶
type Span ¶
type Span struct { // The resource name of the span in the following format: // // projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID] // // [TRACE_ID] is a unique identifier for a trace within a project; // it is a 32-character hexadecimal encoding of a 16-byte array. // // [SPAN_ID] is a unique identifier for a span within a trace; it // is a 16-character hexadecimal encoding of an 8-byte array. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The [SPAN_ID] portion of the span's resource name. SpanId string `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` // The [SPAN_ID] of this span's parent span. If this is a root span, // then this field must be empty. ParentSpanId string `protobuf:"bytes,3,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"` // A description of the span's operation (up to 128 bytes). // Stackdriver Trace displays the description in the // {% dynamic print site_values.console_name %}. // For example, the display 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 within an application and at the same call point. // This makes it easier to correlate spans in different traces. DisplayName *TruncatableString `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,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. StartTime *timestamp.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. EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // A set of attributes on the span. You can have up to 32 attributes per // span. Attributes *Span_Attributes `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"` // 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"` // A set of time events. You can have up to 32 annotations and 128 message // events per span. TimeEvents *Span_TimeEvents `protobuf:"bytes,9,opt,name=time_events,json=timeEvents,proto3" json:"time_events,omitempty"` // Links associated with the span. You can have up to 128 links per Span. Links *Span_Links `protobuf:"bytes,10,opt,name=links,proto3" json:"links,omitempty"` // An optional final status for this span. Status *status.Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` // (Optional) Set this parameter to indicate whether this span is in // the same process as its parent. If you do not set this parameter, // Stackdriver Trace is unable to take advantage of this helpful // information. SameProcessAsParentSpan *wrappers.BoolValue `` /* 137-byte string literal not displayed */ // An optional number of child spans that were generated while this span // was active. If set, allows implementation to detect missing child spans. ChildSpanCount *wrappers.Int32Value `protobuf:"bytes,13,opt,name=child_span_count,json=childSpanCount,proto3" json:"child_span_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A span represents a single operation within a trace. Spans can be nested to form a trace tree. 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.
func (*Span) Descriptor ¶
func (*Span) GetAttributes ¶
func (m *Span) GetAttributes() *Span_Attributes
func (*Span) GetChildSpanCount ¶
func (m *Span) GetChildSpanCount() *wrappers.Int32Value
func (*Span) GetDisplayName ¶
func (m *Span) GetDisplayName() *TruncatableString
func (*Span) GetEndTime ¶
func (*Span) GetLinks ¶
func (m *Span) GetLinks() *Span_Links
func (*Span) GetParentSpanId ¶
func (*Span) GetSameProcessAsParentSpan ¶
func (*Span) GetStackTrace ¶
func (m *Span) GetStackTrace() *StackTrace
func (*Span) GetStartTime ¶
func (*Span) GetTimeEvents ¶
func (m *Span) GetTimeEvents() *Span_TimeEvents
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) XXX_DiscardUnknown ¶
func (m *Span) XXX_DiscardUnknown()
func (*Span) XXX_Unmarshal ¶
type Span_Attributes ¶
type Span_Attributes struct { // The set of attributes. Each attribute's key can be up to 128 bytes // long. The value can be a string up to 256 bytes, an integer, or the // Boolean values `true` and `false`. For example: // // "/instance_id": "my-instance" // "/http/user_agent": "" // "/http/request_bytes": 300 // "abc.com/myattribute": true 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 all attributes are valid. DroppedAttributesCount int32 `` /* 130-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A set of attributes, each in the format `[KEY]:[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) ProtoMessage ¶
func (*Span_Attributes) ProtoMessage()
func (*Span_Attributes) Reset ¶
func (m *Span_Attributes) Reset()
func (*Span_Attributes) String ¶
func (m *Span_Attributes) String() string
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 (dst *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 ¶
type Span_Link struct { // The [TRACE_ID] for a trace within a project. TraceId string `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` // The [SPAN_ID] for a span within a trace. SpanId string `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=google.devtools.cloudtrace.v2.Span_Link_Type" json:"type,omitempty"` // A set of attributes on the link. You have have up to 32 attributes per // link. Attributes *Span_Attributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) GetAttributes ¶
func (m *Span_Link) GetAttributes() *Span_Attributes
func (*Span_Link) GetTraceId ¶
func (*Span_Link) GetType ¶
func (m *Span_Link) GetType() Span_Link_Type
func (*Span_Link) ProtoMessage ¶
func (*Span_Link) ProtoMessage()
func (*Span_Link) XXX_DiscardUnknown ¶
func (m *Span_Link) XXX_DiscardUnknown()
func (*Span_Link) XXX_Marshal ¶
func (*Span_Link) XXX_Unmarshal ¶
type Span_Link_Type ¶
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. 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 ¶
func (Span_Link_Type) EnumDescriptor() ([]byte, []int)
func (Span_Link_Type) String ¶
func (x Span_Link_Type) String() string
type Span_Links ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 (*Span_Links) GetLink ¶
func (m *Span_Links) GetLink() []*Span_Link
func (*Span_Links) ProtoMessage ¶
func (*Span_Links) ProtoMessage()
func (*Span_Links) Reset ¶
func (m *Span_Links) Reset()
func (*Span_Links) String ¶
func (m *Span_Links) String() string
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 (dst *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_TimeEvent ¶
type Span_TimeEvent struct { // The timestamp indicating the time the event occurred. Time *timestamp.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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() *timestamp.Timestamp
func (*Span_TimeEvent) GetValue ¶
func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value
func (*Span_TimeEvent) ProtoMessage ¶
func (*Span_TimeEvent) ProtoMessage()
func (*Span_TimeEvent) Reset ¶
func (m *Span_TimeEvent) Reset()
func (*Span_TimeEvent) String ¶
func (m *Span_TimeEvent) String() string
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 (dst *Span_TimeEvent) XXX_Merge(src proto.Message)
func (*Span_TimeEvent) XXX_OneofFuncs ¶
func (*Span_TimeEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs 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. The maximum length for // the description is 256 bytes. Description *TruncatableString `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // A set of attributes on the annotation. You can have up to 4 attributes // per Annotation. Attributes *Span_Attributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) ProtoMessage ¶
func (*Span_TimeEvent_Annotation) ProtoMessage()
func (*Span_TimeEvent_Annotation) Reset ¶
func (m *Span_TimeEvent_Annotation) Reset()
func (*Span_TimeEvent_Annotation) String ¶
func (m *Span_TimeEvent_Annotation) String() string
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 (dst *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"`
}
type Span_TimeEvent_MessageEvent ¶
type Span_TimeEvent_MessageEvent struct { // Type of MessageEvent. Indicates whether the message was sent or // received. Type Span_TimeEvent_MessageEvent_Type `` /* 130-byte string literal not displayed */ // An identifier for the MessageEvent's message that can be used to match // SENT and RECEIVED MessageEvents. It is recommended to be unique within // a Span. Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // The number of uncompressed bytes sent or received. UncompressedSizeBytes int64 `` /* 127-byte string literal not displayed */ // The number of compressed bytes sent or received. If missing assumed to // be the same size as uncompressed. CompressedSizeBytes int64 `protobuf:"varint,4,opt,name=compressed_size_bytes,json=compressedSizeBytes,proto3" json:"compressed_size_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) GetCompressedSizeBytes ¶
func (m *Span_TimeEvent_MessageEvent) GetCompressedSizeBytes() int64
func (*Span_TimeEvent_MessageEvent) GetId ¶
func (m *Span_TimeEvent_MessageEvent) GetId() int64
func (*Span_TimeEvent_MessageEvent) GetType ¶
func (m *Span_TimeEvent_MessageEvent) GetType() Span_TimeEvent_MessageEvent_Type
func (*Span_TimeEvent_MessageEvent) GetUncompressedSizeBytes ¶
func (m *Span_TimeEvent_MessageEvent) GetUncompressedSizeBytes() int64
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) String ¶
func (m *Span_TimeEvent_MessageEvent) String() string
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 (dst *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"`
}
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 ¶
func (x Span_TimeEvent_MessageEvent_Type) String() 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 */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) ProtoMessage ¶
func (*Span_TimeEvents) ProtoMessage()
func (*Span_TimeEvents) Reset ¶
func (m *Span_TimeEvents) Reset()
func (*Span_TimeEvents) String ¶
func (m *Span_TimeEvents) String() string
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 (dst *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 StackTrace ¶
type StackTrace struct { // Stack frames in this stack trace. A maximum of 128 frames are allowed. 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 the // `stackFrame` content and a value in `stackTraceHashId`. // // Subsequent spans within the same request can refer // to that stack trace by only setting `stackTraceHashId`. StackTraceHashId int64 `protobuf:"varint,2,opt,name=stack_trace_hash_id,json=stackTraceHashId,proto3" json:"stack_trace_hash_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A call stack appearing in a trace.
func (*StackTrace) Descriptor ¶
func (*StackTrace) Descriptor() ([]byte, []int)
func (*StackTrace) GetStackFrames ¶
func (m *StackTrace) GetStackFrames() *StackTrace_StackFrames
func (*StackTrace) GetStackTraceHashId ¶
func (m *StackTrace) GetStackTraceHashId() int64
func (*StackTrace) ProtoMessage ¶
func (*StackTrace) ProtoMessage()
func (*StackTrace) Reset ¶
func (m *StackTrace) Reset()
func (*StackTrace) String ¶
func (m *StackTrace) String() string
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 (dst *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 (up to 1024 bytes). 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 (up to 1024 bytes). 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 (up to 256 // bytes). 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 (up to 128 bytes). SourceVersion *TruncatableString `protobuf:"bytes,7,opt,name=source_version,json=sourceVersion,proto3" json:"source_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents 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) ProtoMessage ¶
func (*StackTrace_StackFrame) ProtoMessage()
func (*StackTrace_StackFrame) Reset ¶
func (m *StackTrace_StackFrame) Reset()
func (*StackTrace_StackFrame) String ¶
func (m *StackTrace_StackFrame) String() string
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 (dst *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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 (m *StackTrace_StackFrames) GetFrame() []*StackTrace_StackFrame
func (*StackTrace_StackFrames) ProtoMessage ¶
func (*StackTrace_StackFrames) ProtoMessage()
func (*StackTrace_StackFrames) Reset ¶
func (m *StackTrace_StackFrames) Reset()
func (*StackTrace_StackFrames) String ¶
func (m *StackTrace_StackFrames) String() string
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 (dst *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 TraceServiceClient ¶
type TraceServiceClient interface { // Sends new spans to new or existing traces. You cannot update // existing spans. BatchWriteSpans(ctx context.Context, in *BatchWriteSpansRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a new span. CreateSpan(ctx context.Context, in *Span, opts ...grpc.CallOption) (*Span, error) }
TraceServiceClient is the client API for TraceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTraceServiceClient ¶
func NewTraceServiceClient(cc *grpc.ClientConn) TraceServiceClient
type TraceServiceServer ¶
type TraceServiceServer interface { // Sends new spans to new or existing traces. You cannot update // existing spans. BatchWriteSpans(context.Context, *BatchWriteSpansRequest) (*empty.Empty, error) // Creates a new span. CreateSpan(context.Context, *Span) (*Span, error) }
TraceServiceServer is the server API for TraceService service.
type TruncatableString ¶
type TruncatableString struct { // The shortened string. For example, if the original string is 500 // bytes long and the limit of the string is 128 bytes, then // `value` contains the first 128 bytes of the 500-byte string. // // Truncation always happens on a UTF8 character boundary. If there // are multi-byte characters in the string, then the length of the // shortened string might be less than the size 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents 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) ProtoMessage ¶
func (*TruncatableString) ProtoMessage()
func (*TruncatableString) Reset ¶
func (m *TruncatableString) Reset()
func (*TruncatableString) String ¶
func (m *TruncatableString) String() string
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 (dst *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