Documentation ¶
Index ¶
- Variables
- type ClientInfo
- type LogEvent
- type LogRequest
- func (*LogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogRequest) GetClientInfo() *ClientInfo
- func (x *LogRequest) GetLogEvent() []*LogEvent
- func (x *LogRequest) GetLogSource() int32
- func (x *LogRequest) GetRequestTimeMs() int64
- func (*LogRequest) ProtoMessage()
- func (x *LogRequest) ProtoReflect() protoreflect.Message
- func (x *LogRequest) Reset()
- func (x *LogRequest) String() string
- type LogResponse
- type TraceSpan
- func (*TraceSpan) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan) GetAttributes() *structpb.Struct
- func (x *TraceSpan) GetContext() *TraceSpan_Context
- func (x *TraceSpan) GetEndTimeMillis() int64
- func (x *TraceSpan) GetEvents() []*TraceSpan_Event
- func (x *TraceSpan) GetInstrumentationScope() *TraceSpan_InstrumentationScope
- func (x *TraceSpan) GetLinks() []*TraceSpan_Link
- func (x *TraceSpan) GetName() string
- func (x *TraceSpan) GetParentSpanId() string
- func (x *TraceSpan) GetResource() *TraceSpan_Resource
- func (x *TraceSpan) GetSpanKind() TraceSpan_SpanKind
- func (x *TraceSpan) GetStartTimeMillis() int64
- func (x *TraceSpan) GetStatus() *TraceSpan_Status
- func (x *TraceSpan) GetTelemetrySdk() *TraceSpan_TelemetrySdk
- func (*TraceSpan) ProtoMessage()
- func (x *TraceSpan) ProtoReflect() protoreflect.Message
- func (x *TraceSpan) Reset()
- func (x *TraceSpan) String() string
- type TraceSpan_Context
- func (*TraceSpan_Context) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan_Context) GetSpanId() string
- func (x *TraceSpan_Context) GetTraceId() string
- func (x *TraceSpan_Context) GetTraceState() string
- func (*TraceSpan_Context) ProtoMessage()
- func (x *TraceSpan_Context) ProtoReflect() protoreflect.Message
- func (x *TraceSpan_Context) Reset()
- func (x *TraceSpan_Context) String() string
- type TraceSpan_Event
- func (*TraceSpan_Event) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan_Event) GetAttributes() *structpb.Struct
- func (x *TraceSpan_Event) GetEventTimeMillis() int64
- func (x *TraceSpan_Event) GetName() string
- func (*TraceSpan_Event) ProtoMessage()
- func (x *TraceSpan_Event) ProtoReflect() protoreflect.Message
- func (x *TraceSpan_Event) Reset()
- func (x *TraceSpan_Event) String() string
- type TraceSpan_InstrumentationScope
- func (*TraceSpan_InstrumentationScope) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan_InstrumentationScope) GetName() string
- func (x *TraceSpan_InstrumentationScope) GetVersion() string
- func (*TraceSpan_InstrumentationScope) ProtoMessage()
- func (x *TraceSpan_InstrumentationScope) ProtoReflect() protoreflect.Message
- func (x *TraceSpan_InstrumentationScope) Reset()
- func (x *TraceSpan_InstrumentationScope) String() string
- type TraceSpan_Link
- func (*TraceSpan_Link) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan_Link) GetAttributes() *structpb.Struct
- func (x *TraceSpan_Link) GetContext() *TraceSpan_Context
- func (*TraceSpan_Link) ProtoMessage()
- func (x *TraceSpan_Link) ProtoReflect() protoreflect.Message
- func (x *TraceSpan_Link) Reset()
- func (x *TraceSpan_Link) String() string
- type TraceSpan_Process
- func (*TraceSpan_Process) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan_Process) GetApiVersion() string
- func (x *TraceSpan_Process) GetCommand() string
- func (x *TraceSpan_Process) GetCommandArgs() []string
- func (x *TraceSpan_Process) GetEnv() map[string]string
- func (x *TraceSpan_Process) GetExecutableName() string
- func (x *TraceSpan_Process) GetExecutablePath() string
- func (x *TraceSpan_Process) GetOwnerIsRoot() bool
- func (x *TraceSpan_Process) GetPid() string
- func (x *TraceSpan_Process) GetRuntimeDescription() string
- func (x *TraceSpan_Process) GetRuntimeName() string
- func (x *TraceSpan_Process) GetRuntimeVersion() string
- func (*TraceSpan_Process) ProtoMessage()
- func (x *TraceSpan_Process) ProtoReflect() protoreflect.Message
- func (x *TraceSpan_Process) Reset()
- func (x *TraceSpan_Process) String() string
- type TraceSpan_Resource
- func (*TraceSpan_Resource) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan_Resource) GetAttributes() *structpb.Struct
- func (x *TraceSpan_Resource) GetProcess() *TraceSpan_Process
- func (x *TraceSpan_Resource) GetSystem() *TraceSpan_System
- func (*TraceSpan_Resource) ProtoMessage()
- func (x *TraceSpan_Resource) ProtoReflect() protoreflect.Message
- func (x *TraceSpan_Resource) Reset()
- func (x *TraceSpan_Resource) String() string
- type TraceSpan_SpanKind
- func (TraceSpan_SpanKind) Descriptor() protoreflect.EnumDescriptor
- func (x TraceSpan_SpanKind) Enum() *TraceSpan_SpanKind
- func (TraceSpan_SpanKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x TraceSpan_SpanKind) Number() protoreflect.EnumNumber
- func (x TraceSpan_SpanKind) String() string
- func (TraceSpan_SpanKind) Type() protoreflect.EnumType
- func (x *TraceSpan_SpanKind) UnmarshalJSON(b []byte) errordeprecated
- type TraceSpan_StackFrame
- func (*TraceSpan_StackFrame) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan_StackFrame) GetColumnNumber() int64
- func (x *TraceSpan_StackFrame) GetFileName() string
- func (x *TraceSpan_StackFrame) GetFunctionName() string
- func (x *TraceSpan_StackFrame) GetLineNumber() int64
- func (*TraceSpan_StackFrame) ProtoMessage()
- func (x *TraceSpan_StackFrame) ProtoReflect() protoreflect.Message
- func (x *TraceSpan_StackFrame) Reset()
- func (x *TraceSpan_StackFrame) String() string
- type TraceSpan_StackTrace
- func (*TraceSpan_StackTrace) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan_StackTrace) GetDroppedFramesCount() int64
- func (x *TraceSpan_StackTrace) GetStackFrames() []*TraceSpan_StackFrame
- func (x *TraceSpan_StackTrace) GetStacktraceHash() string
- func (*TraceSpan_StackTrace) ProtoMessage()
- func (x *TraceSpan_StackTrace) ProtoReflect() protoreflect.Message
- func (x *TraceSpan_StackTrace) Reset()
- func (x *TraceSpan_StackTrace) String() string
- type TraceSpan_Status
- func (*TraceSpan_Status) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan_Status) GetMessage() string
- func (x *TraceSpan_Status) GetStackTrace() *TraceSpan_StackTrace
- func (x *TraceSpan_Status) GetStatusCode() TraceSpan_Status_StatusCode
- func (*TraceSpan_Status) ProtoMessage()
- func (x *TraceSpan_Status) ProtoReflect() protoreflect.Message
- func (x *TraceSpan_Status) Reset()
- func (x *TraceSpan_Status) String() string
- type TraceSpan_Status_StatusCode
- func (TraceSpan_Status_StatusCode) Descriptor() protoreflect.EnumDescriptor
- func (x TraceSpan_Status_StatusCode) Enum() *TraceSpan_Status_StatusCode
- func (TraceSpan_Status_StatusCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x TraceSpan_Status_StatusCode) Number() protoreflect.EnumNumber
- func (x TraceSpan_Status_StatusCode) String() string
- func (TraceSpan_Status_StatusCode) Type() protoreflect.EnumType
- func (x *TraceSpan_Status_StatusCode) UnmarshalJSON(b []byte) errordeprecated
- type TraceSpan_System
- func (*TraceSpan_System) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan_System) GetCpu() string
- func (x *TraceSpan_System) GetHostArchitecture() string
- func (x *TraceSpan_System) GetOsName() string
- func (x *TraceSpan_System) GetOsType() string
- func (x *TraceSpan_System) GetOsVersion() string
- func (*TraceSpan_System) ProtoMessage()
- func (x *TraceSpan_System) ProtoReflect() protoreflect.Message
- func (x *TraceSpan_System) Reset()
- func (x *TraceSpan_System) String() string
- type TraceSpan_TelemetrySdk
- func (*TraceSpan_TelemetrySdk) Descriptor() ([]byte, []int)deprecated
- func (x *TraceSpan_TelemetrySdk) GetLanguage() string
- func (x *TraceSpan_TelemetrySdk) GetName() string
- func (x *TraceSpan_TelemetrySdk) GetVersion() string
- func (*TraceSpan_TelemetrySdk) ProtoMessage()
- func (x *TraceSpan_TelemetrySdk) ProtoReflect() protoreflect.Message
- func (x *TraceSpan_TelemetrySdk) Reset()
- func (x *TraceSpan_TelemetrySdk) String() string
Constants ¶
This section is empty.
Variables ¶
var ( TraceSpan_SpanKind_name = map[int32]string{ 0: "SPAN_KIND_UNSPECIFIED", 1: "SPAN_KIND_INTERNAL", 2: "SPAN_KIND_SERVER", 3: "SPAN_KIND_CLIENT", } TraceSpan_SpanKind_value = map[string]int32{ "SPAN_KIND_UNSPECIFIED": 0, "SPAN_KIND_INTERNAL": 1, "SPAN_KIND_SERVER": 2, "SPAN_KIND_CLIENT": 3, } )
Enum value maps for TraceSpan_SpanKind.
var ( TraceSpan_Status_StatusCode_name = map[int32]string{ 0: "STATUS_CODE_UNSET", 1: "STATUS_CODE_OK", 2: "STATUS_CODE_ERROR", } TraceSpan_Status_StatusCode_value = map[string]int32{ "STATUS_CODE_UNSET": 0, "STATUS_CODE_OK": 1, "STATUS_CODE_ERROR": 2, } )
Enum value maps for TraceSpan_Status_StatusCode.
var File_chromite_telemetry_clientanalytics_proto protoreflect.FileDescriptor
var File_chromite_telemetry_trace_span_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClientInfo ¶
type ClientInfo struct { // Allocated id for the client ClientType *int32 `protobuf:"varint,1,opt,name=client_type,json=clientType" json:"client_type,omitempty"` // contains filtered or unexported fields }
func (*ClientInfo) Descriptor
deprecated
func (*ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
func (*ClientInfo) GetClientType ¶
func (x *ClientInfo) GetClientType() int32
func (*ClientInfo) ProtoMessage ¶
func (*ClientInfo) ProtoMessage()
func (*ClientInfo) ProtoReflect ¶
func (x *ClientInfo) ProtoReflect() protoreflect.Message
func (*ClientInfo) Reset ¶
func (x *ClientInfo) Reset()
func (*ClientInfo) String ¶
func (x *ClientInfo) String() string
type LogEvent ¶
type LogEvent struct { // unix timestamp in millis for the event EventTimeMs *int64 `protobuf:"varint,1,opt,name=event_time_ms,json=eventTimeMs" json:"event_time_ms,omitempty"` // serialized log message SourceExtension []byte `protobuf:"bytes,6,opt,name=source_extension,json=sourceExtension" json:"source_extension,omitempty"` // contains filtered or unexported fields }
Individual log event
func (*LogEvent) Descriptor
deprecated
func (*LogEvent) GetEventTimeMs ¶
func (*LogEvent) GetSourceExtension ¶
func (*LogEvent) ProtoMessage ¶
func (*LogEvent) ProtoMessage()
func (*LogEvent) ProtoReflect ¶
func (x *LogEvent) ProtoReflect() protoreflect.Message
type LogRequest ¶
type LogRequest struct { ClientInfo *ClientInfo `protobuf:"bytes,1,opt,name=client_info,json=clientInfo" json:"client_info,omitempty"` // id to identify the log source LogSource *int32 `protobuf:"varint,2,opt,name=log_source,json=logSource" json:"log_source,omitempty"` // unix timestamp in millis for the request RequestTimeMs *int64 `protobuf:"varint,4,opt,name=request_time_ms,json=requestTimeMs" json:"request_time_ms,omitempty"` // list of log events published to collector LogEvent []*LogEvent `protobuf:"bytes,3,rep,name=log_event,json=logEvent" json:"log_event,omitempty"` // contains filtered or unexported fields }
LogRequest made to log http api
func (*LogRequest) Descriptor
deprecated
func (*LogRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogRequest.ProtoReflect.Descriptor instead.
func (*LogRequest) GetClientInfo ¶
func (x *LogRequest) GetClientInfo() *ClientInfo
func (*LogRequest) GetLogEvent ¶
func (x *LogRequest) GetLogEvent() []*LogEvent
func (*LogRequest) GetLogSource ¶
func (x *LogRequest) GetLogSource() int32
func (*LogRequest) GetRequestTimeMs ¶
func (x *LogRequest) GetRequestTimeMs() int64
func (*LogRequest) ProtoMessage ¶
func (*LogRequest) ProtoMessage()
func (*LogRequest) ProtoReflect ¶
func (x *LogRequest) ProtoReflect() protoreflect.Message
func (*LogRequest) Reset ¶
func (x *LogRequest) Reset()
func (*LogRequest) String ¶
func (x *LogRequest) String() string
type LogResponse ¶
type LogResponse struct { // The number of milliseconds to wait before the next request NextRequestWaitMillis *int64 `protobuf:"varint,1,opt,name=next_request_wait_millis,json=nextRequestWaitMillis" json:"next_request_wait_millis,omitempty"` // contains filtered or unexported fields }
Response from log http api
func (*LogResponse) Descriptor
deprecated
func (*LogResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogResponse.ProtoReflect.Descriptor instead.
func (*LogResponse) GetNextRequestWaitMillis ¶
func (x *LogResponse) GetNextRequestWaitMillis() int64
func (*LogResponse) ProtoMessage ¶
func (*LogResponse) ProtoMessage()
func (*LogResponse) ProtoReflect ¶
func (x *LogResponse) ProtoReflect() protoreflect.Message
func (*LogResponse) Reset ¶
func (x *LogResponse) Reset()
func (*LogResponse) String ¶
func (x *LogResponse) String() string
type TraceSpan ¶
type TraceSpan struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Context *TraceSpan_Context `protobuf:"bytes,2,opt,name=context" json:"context,omitempty"` ParentSpanId *string `protobuf:"bytes,3,opt,name=parent_span_id,json=parentSpanId" json:"parent_span_id,omitempty"` SpanKind *TraceSpan_SpanKind `protobuf:"varint,4,opt,name=span_kind,json=spanKind,enum=chromite.telemetry.TraceSpan_SpanKind" json:"span_kind,omitempty"` // unix timestamp in millis when the span started StartTimeMillis *int64 `protobuf:"varint,5,opt,name=start_time_millis,json=startTimeMillis" json:"start_time_millis,omitempty"` // unix timestamp in millis when the span ended EndTimeMillis *int64 `protobuf:"varint,6,opt,name=end_time_millis,json=endTimeMillis" json:"end_time_millis,omitempty"` Attributes *structpb.Struct `protobuf:"bytes,7,opt,name=attributes" json:"attributes,omitempty"` Events []*TraceSpan_Event `protobuf:"bytes,8,rep,name=events" json:"events,omitempty"` Links []*TraceSpan_Link `protobuf:"bytes,9,rep,name=links" json:"links,omitempty"` Status *TraceSpan_Status `protobuf:"bytes,10,opt,name=status" json:"status,omitempty"` Resource *TraceSpan_Resource `protobuf:"bytes,11,opt,name=resource" json:"resource,omitempty"` InstrumentationScope *TraceSpan_InstrumentationScope `protobuf:"bytes,12,opt,name=instrumentation_scope,json=instrumentationScope" json:"instrumentation_scope,omitempty"` TelemetrySdk *TraceSpan_TelemetrySdk `protobuf:"bytes,13,opt,name=telemetry_sdk,json=telemetrySdk" json:"telemetry_sdk,omitempty"` // contains filtered or unexported fields }
Proto used by chromeos build tools to produce trace spans.
func (*TraceSpan) Descriptor
deprecated
func (*TraceSpan) GetAttributes ¶
func (*TraceSpan) GetContext ¶
func (x *TraceSpan) GetContext() *TraceSpan_Context
func (*TraceSpan) GetEndTimeMillis ¶
func (*TraceSpan) GetEvents ¶
func (x *TraceSpan) GetEvents() []*TraceSpan_Event
func (*TraceSpan) GetInstrumentationScope ¶
func (x *TraceSpan) GetInstrumentationScope() *TraceSpan_InstrumentationScope
func (*TraceSpan) GetLinks ¶
func (x *TraceSpan) GetLinks() []*TraceSpan_Link
func (*TraceSpan) GetParentSpanId ¶
func (*TraceSpan) GetResource ¶
func (x *TraceSpan) GetResource() *TraceSpan_Resource
func (*TraceSpan) GetSpanKind ¶
func (x *TraceSpan) GetSpanKind() TraceSpan_SpanKind
func (*TraceSpan) GetStartTimeMillis ¶
func (*TraceSpan) GetStatus ¶
func (x *TraceSpan) GetStatus() *TraceSpan_Status
func (*TraceSpan) GetTelemetrySdk ¶
func (x *TraceSpan) GetTelemetrySdk() *TraceSpan_TelemetrySdk
func (*TraceSpan) ProtoMessage ¶
func (*TraceSpan) ProtoMessage()
func (*TraceSpan) ProtoReflect ¶
func (x *TraceSpan) ProtoReflect() protoreflect.Message
type TraceSpan_Context ¶
type TraceSpan_Context struct { // the random id generated for each trace. It is generated for each process // execution. TraceId *string `protobuf:"bytes,1,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"` // the random id generated for each span within a trace. SpanId *string `protobuf:"bytes,2,opt,name=span_id,json=spanId" json:"span_id,omitempty"` TraceState *string `protobuf:"bytes,3,opt,name=trace_state,json=traceState" json:"trace_state,omitempty"` // contains filtered or unexported fields }
Represents the trace-context
func (*TraceSpan_Context) Descriptor
deprecated
func (*TraceSpan_Context) Descriptor() ([]byte, []int)
Deprecated: Use TraceSpan_Context.ProtoReflect.Descriptor instead.
func (*TraceSpan_Context) GetSpanId ¶
func (x *TraceSpan_Context) GetSpanId() string
func (*TraceSpan_Context) GetTraceId ¶
func (x *TraceSpan_Context) GetTraceId() string
func (*TraceSpan_Context) GetTraceState ¶
func (x *TraceSpan_Context) GetTraceState() string
func (*TraceSpan_Context) ProtoMessage ¶
func (*TraceSpan_Context) ProtoMessage()
func (*TraceSpan_Context) ProtoReflect ¶
func (x *TraceSpan_Context) ProtoReflect() protoreflect.Message
func (*TraceSpan_Context) Reset ¶
func (x *TraceSpan_Context) Reset()
func (*TraceSpan_Context) String ¶
func (x *TraceSpan_Context) String() string
type TraceSpan_Event ¶
type TraceSpan_Event struct { // unix timestamp in millis when the event occurs EventTimeMillis *int64 `protobuf:"varint,1,opt,name=event_time_millis,json=eventTimeMillis" json:"event_time_millis,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Attributes *structpb.Struct `protobuf:"bytes,3,opt,name=attributes" json:"attributes,omitempty"` // contains filtered or unexported fields }
Denotes any events published for this span
func (*TraceSpan_Event) Descriptor
deprecated
func (*TraceSpan_Event) Descriptor() ([]byte, []int)
Deprecated: Use TraceSpan_Event.ProtoReflect.Descriptor instead.
func (*TraceSpan_Event) GetAttributes ¶
func (x *TraceSpan_Event) GetAttributes() *structpb.Struct
func (*TraceSpan_Event) GetEventTimeMillis ¶
func (x *TraceSpan_Event) GetEventTimeMillis() int64
func (*TraceSpan_Event) GetName ¶
func (x *TraceSpan_Event) GetName() string
func (*TraceSpan_Event) ProtoMessage ¶
func (*TraceSpan_Event) ProtoMessage()
func (*TraceSpan_Event) ProtoReflect ¶
func (x *TraceSpan_Event) ProtoReflect() protoreflect.Message
func (*TraceSpan_Event) Reset ¶
func (x *TraceSpan_Event) Reset()
func (*TraceSpan_Event) String ¶
func (x *TraceSpan_Event) String() string
type TraceSpan_InstrumentationScope ¶
type TraceSpan_InstrumentationScope struct { // Points to the code location where the span originated Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // version number for this code module Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` // contains filtered or unexported fields }
Points to the location for the scope of current span
func (*TraceSpan_InstrumentationScope) Descriptor
deprecated
func (*TraceSpan_InstrumentationScope) Descriptor() ([]byte, []int)
Deprecated: Use TraceSpan_InstrumentationScope.ProtoReflect.Descriptor instead.
func (*TraceSpan_InstrumentationScope) GetName ¶
func (x *TraceSpan_InstrumentationScope) GetName() string
func (*TraceSpan_InstrumentationScope) GetVersion ¶
func (x *TraceSpan_InstrumentationScope) GetVersion() string
func (*TraceSpan_InstrumentationScope) ProtoMessage ¶
func (*TraceSpan_InstrumentationScope) ProtoMessage()
func (*TraceSpan_InstrumentationScope) ProtoReflect ¶
func (x *TraceSpan_InstrumentationScope) ProtoReflect() protoreflect.Message
func (*TraceSpan_InstrumentationScope) Reset ¶
func (x *TraceSpan_InstrumentationScope) Reset()
func (*TraceSpan_InstrumentationScope) String ¶
func (x *TraceSpan_InstrumentationScope) String() string
type TraceSpan_Link ¶
type TraceSpan_Link struct { Context *TraceSpan_Context `protobuf:"bytes,1,opt,name=context" json:"context,omitempty"` Attributes *structpb.Struct `protobuf:"bytes,2,opt,name=attributes" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*TraceSpan_Link) Descriptor
deprecated
func (*TraceSpan_Link) Descriptor() ([]byte, []int)
Deprecated: Use TraceSpan_Link.ProtoReflect.Descriptor instead.
func (*TraceSpan_Link) GetAttributes ¶
func (x *TraceSpan_Link) GetAttributes() *structpb.Struct
func (*TraceSpan_Link) GetContext ¶
func (x *TraceSpan_Link) GetContext() *TraceSpan_Context
func (*TraceSpan_Link) ProtoMessage ¶
func (*TraceSpan_Link) ProtoMessage()
func (*TraceSpan_Link) ProtoReflect ¶
func (x *TraceSpan_Link) ProtoReflect() protoreflect.Message
func (*TraceSpan_Link) Reset ¶
func (x *TraceSpan_Link) Reset()
func (*TraceSpan_Link) String ¶
func (x *TraceSpan_Link) String() string
type TraceSpan_Process ¶
type TraceSpan_Process struct { Pid *string `protobuf:"bytes,1,opt,name=pid" json:"pid,omitempty"` // name of the executable. For Linux, Name from /proc/{pid}/status ExecutableName *string `protobuf:"bytes,2,opt,name=executable_name,json=executableName" json:"executable_name,omitempty"` // full path of the executable. For Linux, target of /proc/{pid}/exe ExecutablePath *string `protobuf:"bytes,3,opt,name=executable_path,json=executablePath" json:"executable_path,omitempty"` // the actual command executed. typically the first arg from // /proc/{pid}/cmdline Command *string `protobuf:"bytes,4,opt,name=command" json:"command,omitempty"` // the list of args passed to the command. typically contained in the // /proc/{pid}/cmdline CommandArgs []string `protobuf:"bytes,5,rep,name=command_args,json=commandArgs" json:"command_args,omitempty"` // Whether the current owner is root OwnerIsRoot *bool `protobuf:"varint,6,opt,name=owner_is_root,json=ownerIsRoot" json:"owner_is_root,omitempty"` // The runtime name like Cython, Jython etc RuntimeName *string `protobuf:"bytes,7,opt,name=runtime_name,json=runtimeName" json:"runtime_name,omitempty"` // the version of the runtime being used RuntimeVersion *string `protobuf:"bytes,8,opt,name=runtime_version,json=runtimeVersion" json:"runtime_version,omitempty"` // human readable description of runtime RuntimeDescription *string `protobuf:"bytes,9,opt,name=runtime_description,json=runtimeDescription" json:"runtime_description,omitempty"` // the c api version used in this runtime ApiVersion *string `protobuf:"bytes,10,opt,name=api_version,json=apiVersion" json:"api_version,omitempty"` // select set of environment variables and their values Env map[string]string `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
Provides some metadata about the executing process
func (*TraceSpan_Process) Descriptor
deprecated
func (*TraceSpan_Process) Descriptor() ([]byte, []int)
Deprecated: Use TraceSpan_Process.ProtoReflect.Descriptor instead.
func (*TraceSpan_Process) GetApiVersion ¶
func (x *TraceSpan_Process) GetApiVersion() string
func (*TraceSpan_Process) GetCommand ¶
func (x *TraceSpan_Process) GetCommand() string
func (*TraceSpan_Process) GetCommandArgs ¶
func (x *TraceSpan_Process) GetCommandArgs() []string
func (*TraceSpan_Process) GetEnv ¶
func (x *TraceSpan_Process) GetEnv() map[string]string
func (*TraceSpan_Process) GetExecutableName ¶
func (x *TraceSpan_Process) GetExecutableName() string
func (*TraceSpan_Process) GetExecutablePath ¶
func (x *TraceSpan_Process) GetExecutablePath() string
func (*TraceSpan_Process) GetOwnerIsRoot ¶
func (x *TraceSpan_Process) GetOwnerIsRoot() bool
func (*TraceSpan_Process) GetPid ¶
func (x *TraceSpan_Process) GetPid() string
func (*TraceSpan_Process) GetRuntimeDescription ¶
func (x *TraceSpan_Process) GetRuntimeDescription() string
func (*TraceSpan_Process) GetRuntimeName ¶
func (x *TraceSpan_Process) GetRuntimeName() string
func (*TraceSpan_Process) GetRuntimeVersion ¶
func (x *TraceSpan_Process) GetRuntimeVersion() string
func (*TraceSpan_Process) ProtoMessage ¶
func (*TraceSpan_Process) ProtoMessage()
func (*TraceSpan_Process) ProtoReflect ¶
func (x *TraceSpan_Process) ProtoReflect() protoreflect.Message
func (*TraceSpan_Process) Reset ¶
func (x *TraceSpan_Process) Reset()
func (*TraceSpan_Process) String ¶
func (x *TraceSpan_Process) String() string
type TraceSpan_Resource ¶
type TraceSpan_Resource struct { Process *TraceSpan_Process `protobuf:"bytes,1,opt,name=process" json:"process,omitempty"` System *TraceSpan_System `protobuf:"bytes,2,opt,name=system" json:"system,omitempty"` Attributes *structpb.Struct `protobuf:"bytes,3,opt,name=attributes" json:"attributes,omitempty"` // contains filtered or unexported fields }
describes the resource where the trace was generated.
func (*TraceSpan_Resource) Descriptor
deprecated
func (*TraceSpan_Resource) Descriptor() ([]byte, []int)
Deprecated: Use TraceSpan_Resource.ProtoReflect.Descriptor instead.
func (*TraceSpan_Resource) GetAttributes ¶
func (x *TraceSpan_Resource) GetAttributes() *structpb.Struct
func (*TraceSpan_Resource) GetProcess ¶
func (x *TraceSpan_Resource) GetProcess() *TraceSpan_Process
func (*TraceSpan_Resource) GetSystem ¶
func (x *TraceSpan_Resource) GetSystem() *TraceSpan_System
func (*TraceSpan_Resource) ProtoMessage ¶
func (*TraceSpan_Resource) ProtoMessage()
func (*TraceSpan_Resource) ProtoReflect ¶
func (x *TraceSpan_Resource) ProtoReflect() protoreflect.Message
func (*TraceSpan_Resource) Reset ¶
func (x *TraceSpan_Resource) Reset()
func (*TraceSpan_Resource) String ¶
func (x *TraceSpan_Resource) String() string
type TraceSpan_SpanKind ¶
type TraceSpan_SpanKind int32
const ( TraceSpan_SPAN_KIND_UNSPECIFIED TraceSpan_SpanKind = 0 TraceSpan_SPAN_KIND_INTERNAL TraceSpan_SpanKind = 1 TraceSpan_SPAN_KIND_SERVER TraceSpan_SpanKind = 2 TraceSpan_SPAN_KIND_CLIENT TraceSpan_SpanKind = 3 )
func (TraceSpan_SpanKind) Descriptor ¶
func (TraceSpan_SpanKind) Descriptor() protoreflect.EnumDescriptor
func (TraceSpan_SpanKind) Enum ¶
func (x TraceSpan_SpanKind) Enum() *TraceSpan_SpanKind
func (TraceSpan_SpanKind) EnumDescriptor
deprecated
func (TraceSpan_SpanKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use TraceSpan_SpanKind.Descriptor instead.
func (TraceSpan_SpanKind) Number ¶
func (x TraceSpan_SpanKind) Number() protoreflect.EnumNumber
func (TraceSpan_SpanKind) String ¶
func (x TraceSpan_SpanKind) String() string
func (TraceSpan_SpanKind) Type ¶
func (TraceSpan_SpanKind) Type() protoreflect.EnumType
func (*TraceSpan_SpanKind) UnmarshalJSON
deprecated
func (x *TraceSpan_SpanKind) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TraceSpan_StackFrame ¶
type TraceSpan_StackFrame struct { FunctionName *string `protobuf:"bytes,1,opt,name=function_name,json=functionName" json:"function_name,omitempty"` FileName *string `protobuf:"bytes,2,opt,name=file_name,json=fileName" json:"file_name,omitempty"` LineNumber *int64 `protobuf:"varint,3,opt,name=line_number,json=lineNumber" json:"line_number,omitempty"` ColumnNumber *int64 `protobuf:"varint,4,opt,name=column_number,json=columnNumber" json:"column_number,omitempty"` // contains filtered or unexported fields }
A single stack frame within the stacktrace
func (*TraceSpan_StackFrame) Descriptor
deprecated
func (*TraceSpan_StackFrame) Descriptor() ([]byte, []int)
Deprecated: Use TraceSpan_StackFrame.ProtoReflect.Descriptor instead.
func (*TraceSpan_StackFrame) GetColumnNumber ¶
func (x *TraceSpan_StackFrame) GetColumnNumber() int64
func (*TraceSpan_StackFrame) GetFileName ¶
func (x *TraceSpan_StackFrame) GetFileName() string
func (*TraceSpan_StackFrame) GetFunctionName ¶
func (x *TraceSpan_StackFrame) GetFunctionName() string
func (*TraceSpan_StackFrame) GetLineNumber ¶
func (x *TraceSpan_StackFrame) GetLineNumber() int64
func (*TraceSpan_StackFrame) ProtoMessage ¶
func (*TraceSpan_StackFrame) ProtoMessage()
func (*TraceSpan_StackFrame) ProtoReflect ¶
func (x *TraceSpan_StackFrame) ProtoReflect() protoreflect.Message
func (*TraceSpan_StackFrame) Reset ¶
func (x *TraceSpan_StackFrame) Reset()
func (*TraceSpan_StackFrame) String ¶
func (x *TraceSpan_StackFrame) String() string
type TraceSpan_StackTrace ¶
type TraceSpan_StackTrace struct { StackFrames []*TraceSpan_StackFrame `protobuf:"bytes,1,rep,name=stack_frames,json=stackFrames" json:"stack_frames,omitempty"` // The number of frames dropped to save packet size DroppedFramesCount *int64 `protobuf:"varint,2,opt,name=dropped_frames_count,json=droppedFramesCount" json:"dropped_frames_count,omitempty"` // Since multiple spans will contain the same trace, this is a way to // minimize the size of message. StacktraceHash *string `protobuf:"bytes,3,opt,name=stacktrace_hash,json=stacktraceHash" json:"stacktrace_hash,omitempty"` // contains filtered or unexported fields }
Stacktrace captured during an exception
func (*TraceSpan_StackTrace) Descriptor
deprecated
func (*TraceSpan_StackTrace) Descriptor() ([]byte, []int)
Deprecated: Use TraceSpan_StackTrace.ProtoReflect.Descriptor instead.
func (*TraceSpan_StackTrace) GetDroppedFramesCount ¶
func (x *TraceSpan_StackTrace) GetDroppedFramesCount() int64
func (*TraceSpan_StackTrace) GetStackFrames ¶
func (x *TraceSpan_StackTrace) GetStackFrames() []*TraceSpan_StackFrame
func (*TraceSpan_StackTrace) GetStacktraceHash ¶
func (x *TraceSpan_StackTrace) GetStacktraceHash() string
func (*TraceSpan_StackTrace) ProtoMessage ¶
func (*TraceSpan_StackTrace) ProtoMessage()
func (*TraceSpan_StackTrace) ProtoReflect ¶
func (x *TraceSpan_StackTrace) ProtoReflect() protoreflect.Message
func (*TraceSpan_StackTrace) Reset ¶
func (x *TraceSpan_StackTrace) Reset()
func (*TraceSpan_StackTrace) String ¶
func (x *TraceSpan_StackTrace) String() string
type TraceSpan_Status ¶
type TraceSpan_Status struct { StatusCode *TraceSpan_Status_StatusCode `` /* 137-byte string literal not displayed */ Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` StackTrace *TraceSpan_StackTrace `protobuf:"bytes,3,opt,name=stack_trace,json=stackTrace" json:"stack_trace,omitempty"` // contains filtered or unexported fields }
captures the status for the current span
func (*TraceSpan_Status) Descriptor
deprecated
func (*TraceSpan_Status) Descriptor() ([]byte, []int)
Deprecated: Use TraceSpan_Status.ProtoReflect.Descriptor instead.
func (*TraceSpan_Status) GetMessage ¶
func (x *TraceSpan_Status) GetMessage() string
func (*TraceSpan_Status) GetStackTrace ¶
func (x *TraceSpan_Status) GetStackTrace() *TraceSpan_StackTrace
func (*TraceSpan_Status) GetStatusCode ¶
func (x *TraceSpan_Status) GetStatusCode() TraceSpan_Status_StatusCode
func (*TraceSpan_Status) ProtoMessage ¶
func (*TraceSpan_Status) ProtoMessage()
func (*TraceSpan_Status) ProtoReflect ¶
func (x *TraceSpan_Status) ProtoReflect() protoreflect.Message
func (*TraceSpan_Status) Reset ¶
func (x *TraceSpan_Status) Reset()
func (*TraceSpan_Status) String ¶
func (x *TraceSpan_Status) String() string
type TraceSpan_Status_StatusCode ¶
type TraceSpan_Status_StatusCode int32
const ( TraceSpan_Status_STATUS_CODE_UNSET TraceSpan_Status_StatusCode = 0 TraceSpan_Status_STATUS_CODE_OK TraceSpan_Status_StatusCode = 1 TraceSpan_Status_STATUS_CODE_ERROR TraceSpan_Status_StatusCode = 2 )
func (TraceSpan_Status_StatusCode) Descriptor ¶
func (TraceSpan_Status_StatusCode) Descriptor() protoreflect.EnumDescriptor
func (TraceSpan_Status_StatusCode) Enum ¶
func (x TraceSpan_Status_StatusCode) Enum() *TraceSpan_Status_StatusCode
func (TraceSpan_Status_StatusCode) EnumDescriptor
deprecated
func (TraceSpan_Status_StatusCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use TraceSpan_Status_StatusCode.Descriptor instead.
func (TraceSpan_Status_StatusCode) Number ¶
func (x TraceSpan_Status_StatusCode) Number() protoreflect.EnumNumber
func (TraceSpan_Status_StatusCode) String ¶
func (x TraceSpan_Status_StatusCode) String() string
func (TraceSpan_Status_StatusCode) Type ¶
func (TraceSpan_Status_StatusCode) Type() protoreflect.EnumType
func (*TraceSpan_Status_StatusCode) UnmarshalJSON
deprecated
func (x *TraceSpan_Status_StatusCode) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TraceSpan_System ¶
type TraceSpan_System struct { // name of the os like Gentoo, Ubuntu. OsName *string `protobuf:"bytes,1,opt,name=os_name,json=osName" json:"os_name,omitempty"` // version of os run on the machine OsVersion *string `protobuf:"bytes,2,opt,name=os_version,json=osVersion" json:"os_version,omitempty"` // the family of os like Linux, Darwin, Windows OsType *string `protobuf:"bytes,3,opt,name=os_type,json=osType" json:"os_type,omitempty"` // the processor used on the host Cpu *string `protobuf:"bytes,4,opt,name=cpu" json:"cpu,omitempty"` // information about the host architecture like amd64, x86 HostArchitecture *string `protobuf:"bytes,5,opt,name=host_architecture,json=hostArchitecture" json:"host_architecture,omitempty"` // contains filtered or unexported fields }
func (*TraceSpan_System) Descriptor
deprecated
func (*TraceSpan_System) Descriptor() ([]byte, []int)
Deprecated: Use TraceSpan_System.ProtoReflect.Descriptor instead.
func (*TraceSpan_System) GetCpu ¶
func (x *TraceSpan_System) GetCpu() string
func (*TraceSpan_System) GetHostArchitecture ¶
func (x *TraceSpan_System) GetHostArchitecture() string
func (*TraceSpan_System) GetOsName ¶
func (x *TraceSpan_System) GetOsName() string
func (*TraceSpan_System) GetOsType ¶
func (x *TraceSpan_System) GetOsType() string
func (*TraceSpan_System) GetOsVersion ¶
func (x *TraceSpan_System) GetOsVersion() string
func (*TraceSpan_System) ProtoMessage ¶
func (*TraceSpan_System) ProtoMessage()
func (*TraceSpan_System) ProtoReflect ¶
func (x *TraceSpan_System) ProtoReflect() protoreflect.Message
func (*TraceSpan_System) Reset ¶
func (x *TraceSpan_System) Reset()
func (*TraceSpan_System) String ¶
func (x *TraceSpan_System) String() string
type TraceSpan_TelemetrySdk ¶
type TraceSpan_TelemetrySdk struct { // name of the telemetry sdk being used to instrument the code Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // version of the sdk Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` // programming language for the sdk. Language *string `protobuf:"bytes,3,opt,name=language" json:"language,omitempty"` // contains filtered or unexported fields }
Defines the telemetry sdk used to produce this entry
func (*TraceSpan_TelemetrySdk) Descriptor
deprecated
func (*TraceSpan_TelemetrySdk) Descriptor() ([]byte, []int)
Deprecated: Use TraceSpan_TelemetrySdk.ProtoReflect.Descriptor instead.
func (*TraceSpan_TelemetrySdk) GetLanguage ¶
func (x *TraceSpan_TelemetrySdk) GetLanguage() string
func (*TraceSpan_TelemetrySdk) GetName ¶
func (x *TraceSpan_TelemetrySdk) GetName() string
func (*TraceSpan_TelemetrySdk) GetVersion ¶
func (x *TraceSpan_TelemetrySdk) GetVersion() string
func (*TraceSpan_TelemetrySdk) ProtoMessage ¶
func (*TraceSpan_TelemetrySdk) ProtoMessage()
func (*TraceSpan_TelemetrySdk) ProtoReflect ¶
func (x *TraceSpan_TelemetrySdk) ProtoReflect() protoreflect.Message
func (*TraceSpan_TelemetrySdk) Reset ¶
func (x *TraceSpan_TelemetrySdk) Reset()
func (*TraceSpan_TelemetrySdk) String ¶
func (x *TraceSpan_TelemetrySdk) String() string