Documentation ¶
Index ¶
- Variables
- func RegisterTraceServiceServer(s grpc.ServiceRegistrar, srv TraceServiceServer)
- type CloseTraceRequest
- func (*CloseTraceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloseTraceRequest) GetResponseBody() string
- func (x *CloseTraceRequest) GetResponseCode() int32
- func (*CloseTraceRequest) ProtoMessage()
- func (x *CloseTraceRequest) ProtoReflect() protoreflect.Message
- func (x *CloseTraceRequest) Reset()
- func (x *CloseTraceRequest) String() string
- type DatabaseSpan
- func (*DatabaseSpan) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseSpan) GetCommon() *TraceCommon
- func (x *DatabaseSpan) GetHits() int64
- func (x *DatabaseSpan) GetQuery() string
- func (x *DatabaseSpan) GetTimeFinished() string
- func (x *DatabaseSpan) GetTimeStarted() string
- func (x *DatabaseSpan) GetTook() string
- func (*DatabaseSpan) ProtoMessage()
- func (x *DatabaseSpan) ProtoReflect() protoreflect.Message
- func (x *DatabaseSpan) Reset()
- func (x *DatabaseSpan) String() string
- type DatabaseSpanRequest
- func (*DatabaseSpanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseSpanRequest) GetAction() string
- func (x *DatabaseSpanRequest) GetHits() int64
- func (x *DatabaseSpanRequest) GetQuery() string
- func (x *DatabaseSpanRequest) GetTimeTook() int64
- func (*DatabaseSpanRequest) ProtoMessage()
- func (x *DatabaseSpanRequest) ProtoReflect() protoreflect.Message
- func (x *DatabaseSpanRequest) Reset()
- func (x *DatabaseSpanRequest) String() string
- type Empty
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse) GetStatus() bool
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) String() string
- type ParabasisRequest
- func (*ParabasisRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParabasisRequest) GetCloseTrace() *CloseTraceRequest
- func (x *ParabasisRequest) GetDatabaseSpan() *DatabaseSpanRequest
- func (x *ParabasisRequest) GetParentSpanId() string
- func (m *ParabasisRequest) GetRequestType() isParabasisRequest_RequestType
- func (x *ParabasisRequest) GetSpan() *SpanRequest
- func (x *ParabasisRequest) GetSpanId() string
- func (x *ParabasisRequest) GetStartTrace() *StartTraceRequest
- func (x *ParabasisRequest) GetTrace() *TraceRequest
- func (x *ParabasisRequest) GetTraceId() string
- func (*ParabasisRequest) ProtoMessage()
- func (x *ParabasisRequest) ProtoReflect() protoreflect.Message
- func (x *ParabasisRequest) Reset()
- func (x *ParabasisRequest) String() string
- type ParabasisRequest_CloseTrace
- type ParabasisRequest_DatabaseSpan
- type ParabasisRequest_Span
- type ParabasisRequest_StartTrace
- type ParabasisRequest_Trace
- type Span
- type SpanRequest
- func (*SpanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SpanRequest) GetAction() string
- func (x *SpanRequest) GetStatus() string
- func (*SpanRequest) ProtoMessage()
- func (x *SpanRequest) ProtoReflect() protoreflect.Message
- func (x *SpanRequest) Reset()
- func (x *SpanRequest) String() string
- type StartTraceRequest
- func (*StartTraceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartTraceRequest) GetHost() string
- func (x *StartTraceRequest) GetMethod() string
- func (x *StartTraceRequest) GetOperation() string
- func (x *StartTraceRequest) GetRemoteAddress() string
- func (x *StartTraceRequest) GetRootQuery() string
- func (x *StartTraceRequest) GetUrl() string
- func (*StartTraceRequest) ProtoMessage()
- func (x *StartTraceRequest) ProtoReflect() protoreflect.Message
- func (x *StartTraceRequest) Reset()
- func (x *StartTraceRequest) String() string
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)deprecated
- func (x *Trace) GetCommon() *TraceCommon
- func (x *Trace) GetHost() string
- func (x *Trace) GetMethod() string
- func (x *Trace) GetMetrics() *TracingMetrics
- func (x *Trace) GetUrl() string
- func (*Trace) ProtoMessage()
- func (x *Trace) ProtoReflect() protoreflect.Message
- func (x *Trace) Reset()
- func (x *Trace) String() string
- type TraceBare
- func (*TraceBare) Descriptor() ([]byte, []int)deprecated
- func (x *TraceBare) GetSave() bool
- func (x *TraceBare) GetSpanId() string
- func (x *TraceBare) GetTraceId() string
- func (*TraceBare) ProtoMessage()
- func (x *TraceBare) ProtoReflect() protoreflect.Message
- func (x *TraceBare) Reset()
- func (x *TraceBare) String() string
- type TraceCommon
- func (*TraceCommon) Descriptor() ([]byte, []int)deprecated
- func (x *TraceCommon) GetItemType() string
- func (x *TraceCommon) GetNamespace() string
- func (x *TraceCommon) GetParentSpanId() string
- func (x *TraceCommon) GetPodName() string
- func (x *TraceCommon) GetSpanId() string
- func (x *TraceCommon) GetTimestamp() string
- func (*TraceCommon) ProtoMessage()
- func (x *TraceCommon) ProtoReflect() protoreflect.Message
- func (x *TraceCommon) Reset()
- func (x *TraceCommon) String() string
- type TraceRequest
- func (*TraceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TraceRequest) GetHost() string
- func (x *TraceRequest) GetMethod() string
- func (x *TraceRequest) GetUrl() string
- func (*TraceRequest) ProtoMessage()
- func (x *TraceRequest) ProtoReflect() protoreflect.Message
- func (x *TraceRequest) Reset()
- func (x *TraceRequest) String() string
- type TraceResponse
- type TraceServiceClient
- type TraceServiceServer
- type TraceService_ChorusClient
- type TraceService_ChorusServer
- type TraceStart
- func (*TraceStart) Descriptor() ([]byte, []int)deprecated
- func (x *TraceStart) GetCommon() *TraceCommon
- func (x *TraceStart) GetHost() string
- func (x *TraceStart) GetMethod() string
- func (x *TraceStart) GetOperation() string
- func (x *TraceStart) GetRemoteAddress() string
- func (x *TraceStart) GetRootQuery() string
- func (x *TraceStart) GetUrl() string
- func (*TraceStart) ProtoMessage()
- func (x *TraceStart) ProtoReflect() protoreflect.Message
- func (x *TraceStart) Reset()
- func (x *TraceStart) String() string
- type TraceStop
- type TracingMetrics
- func (*TracingMetrics) Descriptor() ([]byte, []int)deprecated
- func (x *TracingMetrics) GetCpuHumanReadable() string
- func (x *TracingMetrics) GetCpuRaw() int64
- func (x *TracingMetrics) GetCpuUnits() string
- func (x *TracingMetrics) GetMemoryHumanReadable() string
- func (x *TracingMetrics) GetMemoryRaw() int64
- func (x *TracingMetrics) GetMemoryUnits() string
- func (x *TracingMetrics) GetName() string
- func (*TracingMetrics) ProtoMessage()
- func (x *TracingMetrics) ProtoReflect() protoreflect.Message
- func (x *TracingMetrics) Reset()
- func (x *TracingMetrics) String() string
- type UnimplementedTraceServiceServer
- type UnsafeTraceServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_proto_aristophanes_proto protoreflect.FileDescriptor
var TraceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aristophanes.TraceService", HandlerType: (*TraceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HealthCheck", Handler: _TraceService_HealthCheck_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Chorus", Handler: _TraceService_Chorus_Handler, ClientStreams: true, }, }, Metadata: "proto/aristophanes.proto", }
TraceService_ServiceDesc is the grpc.ServiceDesc for TraceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTraceServiceServer ¶
func RegisterTraceServiceServer(s grpc.ServiceRegistrar, srv TraceServiceServer)
Types ¶
type CloseTraceRequest ¶
type CloseTraceRequest struct { ResponseBody string `protobuf:"bytes,1,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"` // Optional: Response body data ResponseCode int32 `protobuf:"varint,2,opt,name=response_code,json=responseCode,proto3" json:"response_code,omitempty"` // contains filtered or unexported fields }
func (*CloseTraceRequest) Descriptor
deprecated
func (*CloseTraceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseTraceRequest.ProtoReflect.Descriptor instead.
func (*CloseTraceRequest) GetResponseBody ¶
func (x *CloseTraceRequest) GetResponseBody() string
func (*CloseTraceRequest) GetResponseCode ¶
func (x *CloseTraceRequest) GetResponseCode() int32
func (*CloseTraceRequest) ProtoMessage ¶
func (*CloseTraceRequest) ProtoMessage()
func (*CloseTraceRequest) ProtoReflect ¶
func (x *CloseTraceRequest) ProtoReflect() protoreflect.Message
func (*CloseTraceRequest) Reset ¶
func (x *CloseTraceRequest) Reset()
func (*CloseTraceRequest) String ¶
func (x *CloseTraceRequest) String() string
type DatabaseSpan ¶
type DatabaseSpan struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // Database query statement // Reuse TraceCommon for common fields TimeStarted string `protobuf:"bytes,2,opt,name=time_started,json=timeStarted,proto3" json:"time_started,omitempty"` TimeFinished string `protobuf:"bytes,3,opt,name=time_finished,json=timeFinished,proto3" json:"time_finished,omitempty"` Hits int64 `protobuf:"varint,4,opt,name=hits,proto3" json:"hits,omitempty"` Took string `protobuf:"bytes,5,opt,name=took,proto3" json:"took,omitempty"` Common *TraceCommon `protobuf:"bytes,6,opt,name=common,proto3" json:"common,omitempty"` // contains filtered or unexported fields }
func (*DatabaseSpan) Descriptor
deprecated
func (*DatabaseSpan) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseSpan.ProtoReflect.Descriptor instead.
func (*DatabaseSpan) GetCommon ¶
func (x *DatabaseSpan) GetCommon() *TraceCommon
func (*DatabaseSpan) GetHits ¶ added in v0.4.8
func (x *DatabaseSpan) GetHits() int64
func (*DatabaseSpan) GetQuery ¶
func (x *DatabaseSpan) GetQuery() string
func (*DatabaseSpan) GetTimeFinished ¶ added in v0.4.7
func (x *DatabaseSpan) GetTimeFinished() string
func (*DatabaseSpan) GetTimeStarted ¶ added in v0.4.2
func (x *DatabaseSpan) GetTimeStarted() string
func (*DatabaseSpan) GetTook ¶ added in v0.4.8
func (x *DatabaseSpan) GetTook() string
func (*DatabaseSpan) ProtoMessage ¶
func (*DatabaseSpan) ProtoMessage()
func (*DatabaseSpan) ProtoReflect ¶
func (x *DatabaseSpan) ProtoReflect() protoreflect.Message
func (*DatabaseSpan) Reset ¶
func (x *DatabaseSpan) Reset()
func (*DatabaseSpan) String ¶
func (x *DatabaseSpan) String() string
type DatabaseSpanRequest ¶
type DatabaseSpanRequest struct { Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // Action performed in the span Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // Database query statement Hits int64 `protobuf:"varint,3,opt,name=hits,proto3" json:"hits,omitempty"` // Number of hits TimeTook int64 `protobuf:"varint,4,opt,name=time_took,json=timeTook,proto3" json:"time_took,omitempty"` // contains filtered or unexported fields }
func (*DatabaseSpanRequest) Descriptor
deprecated
func (*DatabaseSpanRequest) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseSpanRequest.ProtoReflect.Descriptor instead.
func (*DatabaseSpanRequest) GetAction ¶
func (x *DatabaseSpanRequest) GetAction() string
func (*DatabaseSpanRequest) GetHits ¶ added in v0.4.8
func (x *DatabaseSpanRequest) GetHits() int64
func (*DatabaseSpanRequest) GetQuery ¶
func (x *DatabaseSpanRequest) GetQuery() string
func (*DatabaseSpanRequest) GetTimeTook ¶ added in v0.4.2
func (x *DatabaseSpanRequest) GetTimeTook() int64
func (*DatabaseSpanRequest) ProtoMessage ¶
func (*DatabaseSpanRequest) ProtoMessage()
func (*DatabaseSpanRequest) ProtoReflect ¶
func (x *DatabaseSpanRequest) ProtoReflect() protoreflect.Message
func (*DatabaseSpanRequest) Reset ¶
func (x *DatabaseSpanRequest) Reset()
func (*DatabaseSpanRequest) String ¶
func (x *DatabaseSpanRequest) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type HealthCheckResponse ¶
type HealthCheckResponse struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*HealthCheckResponse) Descriptor
deprecated
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) GetStatus ¶
func (x *HealthCheckResponse) GetStatus() bool
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset ¶
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (x *HealthCheckResponse) String() string
type ParabasisRequest ¶ added in v0.5.0
type ParabasisRequest struct { TraceId string `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` ParentSpanId string `protobuf:"bytes,2,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"` SpanId string `protobuf:"bytes,3,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` // Types that are assignable to RequestType: // // *ParabasisRequest_StartTrace // *ParabasisRequest_Trace // *ParabasisRequest_CloseTrace // *ParabasisRequest_Span // *ParabasisRequest_DatabaseSpan RequestType isParabasisRequest_RequestType `protobuf_oneof:"request_type"` // contains filtered or unexported fields }
func (*ParabasisRequest) Descriptor
deprecated
added in
v0.5.0
func (*ParabasisRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParabasisRequest.ProtoReflect.Descriptor instead.
func (*ParabasisRequest) GetCloseTrace ¶ added in v0.5.0
func (x *ParabasisRequest) GetCloseTrace() *CloseTraceRequest
func (*ParabasisRequest) GetDatabaseSpan ¶ added in v0.5.0
func (x *ParabasisRequest) GetDatabaseSpan() *DatabaseSpanRequest
func (*ParabasisRequest) GetParentSpanId ¶ added in v0.5.0
func (x *ParabasisRequest) GetParentSpanId() string
func (*ParabasisRequest) GetRequestType ¶ added in v0.5.0
func (m *ParabasisRequest) GetRequestType() isParabasisRequest_RequestType
func (*ParabasisRequest) GetSpan ¶ added in v0.5.0
func (x *ParabasisRequest) GetSpan() *SpanRequest
func (*ParabasisRequest) GetSpanId ¶ added in v0.5.0
func (x *ParabasisRequest) GetSpanId() string
func (*ParabasisRequest) GetStartTrace ¶ added in v0.5.0
func (x *ParabasisRequest) GetStartTrace() *StartTraceRequest
func (*ParabasisRequest) GetTrace ¶ added in v0.5.0
func (x *ParabasisRequest) GetTrace() *TraceRequest
func (*ParabasisRequest) GetTraceId ¶ added in v0.5.0
func (x *ParabasisRequest) GetTraceId() string
func (*ParabasisRequest) ProtoMessage ¶ added in v0.5.0
func (*ParabasisRequest) ProtoMessage()
func (*ParabasisRequest) ProtoReflect ¶ added in v0.5.0
func (x *ParabasisRequest) ProtoReflect() protoreflect.Message
func (*ParabasisRequest) Reset ¶ added in v0.5.0
func (x *ParabasisRequest) Reset()
func (*ParabasisRequest) String ¶ added in v0.5.0
func (x *ParabasisRequest) String() string
type ParabasisRequest_CloseTrace ¶ added in v0.5.0
type ParabasisRequest_CloseTrace struct {
CloseTrace *CloseTraceRequest `protobuf:"bytes,6,opt,name=close_trace,json=closeTrace,proto3,oneof"`
}
type ParabasisRequest_DatabaseSpan ¶ added in v0.5.0
type ParabasisRequest_DatabaseSpan struct {
DatabaseSpan *DatabaseSpanRequest `protobuf:"bytes,8,opt,name=database_span,json=databaseSpan,proto3,oneof"`
}
type ParabasisRequest_Span ¶ added in v0.5.0
type ParabasisRequest_Span struct {
Span *SpanRequest `protobuf:"bytes,7,opt,name=span,proto3,oneof"`
}
type ParabasisRequest_StartTrace ¶ added in v0.5.0
type ParabasisRequest_StartTrace struct {
StartTrace *StartTraceRequest `protobuf:"bytes,4,opt,name=start_trace,json=startTrace,proto3,oneof"`
}
type ParabasisRequest_Trace ¶ added in v0.5.0
type ParabasisRequest_Trace struct {
Trace *TraceRequest `protobuf:"bytes,5,opt,name=trace,proto3,oneof"`
}
type Span ¶
type Span struct { Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // Action performed in the span Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Common *TraceCommon `protobuf:"bytes,3,opt,name=common,proto3" json:"common,omitempty"` // contains filtered or unexported fields }
func (*Span) Descriptor
deprecated
func (*Span) GetCommon ¶
func (x *Span) GetCommon() *TraceCommon
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) ProtoReflect ¶
func (x *Span) ProtoReflect() protoreflect.Message
type SpanRequest ¶
type SpanRequest struct { Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // Action performed in the span Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SpanRequest) Descriptor
deprecated
func (*SpanRequest) Descriptor() ([]byte, []int)
Deprecated: Use SpanRequest.ProtoReflect.Descriptor instead.
func (*SpanRequest) GetAction ¶
func (x *SpanRequest) GetAction() string
func (*SpanRequest) GetStatus ¶ added in v0.5.0
func (x *SpanRequest) GetStatus() string
func (*SpanRequest) ProtoMessage ¶
func (*SpanRequest) ProtoMessage()
func (*SpanRequest) ProtoReflect ¶
func (x *SpanRequest) ProtoReflect() protoreflect.Message
func (*SpanRequest) Reset ¶
func (x *SpanRequest) Reset()
func (*SpanRequest) String ¶
func (x *SpanRequest) String() string
type StartTraceRequest ¶
type StartTraceRequest struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // GET POST PUT, etc. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // The URL called by a client Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // The host that generated the trace RemoteAddress string `protobuf:"bytes,4,opt,name=remote_address,json=remoteAddress,proto3" json:"remote_address,omitempty"` // Remote address of the client Operation string `protobuf:"bytes,5,opt,name=operation,proto3" json:"operation,omitempty"` // Graphql operation that generated Trace start RootQuery string `protobuf:"bytes,6,opt,name=root_query,json=rootQuery,proto3" json:"root_query,omitempty"` // Graphql Root Query // contains filtered or unexported fields }
func (*StartTraceRequest) Descriptor
deprecated
func (*StartTraceRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartTraceRequest.ProtoReflect.Descriptor instead.
func (*StartTraceRequest) GetHost ¶
func (x *StartTraceRequest) GetHost() string
func (*StartTraceRequest) GetMethod ¶
func (x *StartTraceRequest) GetMethod() string
func (*StartTraceRequest) GetOperation ¶
func (x *StartTraceRequest) GetOperation() string
func (*StartTraceRequest) GetRemoteAddress ¶
func (x *StartTraceRequest) GetRemoteAddress() string
func (*StartTraceRequest) GetRootQuery ¶
func (x *StartTraceRequest) GetRootQuery() string
func (*StartTraceRequest) GetUrl ¶
func (x *StartTraceRequest) GetUrl() string
func (*StartTraceRequest) ProtoMessage ¶
func (*StartTraceRequest) ProtoMessage()
func (*StartTraceRequest) ProtoReflect ¶
func (x *StartTraceRequest) ProtoReflect() protoreflect.Message
func (*StartTraceRequest) Reset ¶
func (x *StartTraceRequest) Reset()
func (*StartTraceRequest) String ¶
func (x *StartTraceRequest) String() string
type Trace ¶
type Trace struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // GET POST PUT, etc. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // The URL called by a client Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // The host that generated the trace // Reuse TraceCommon for common fields Common *TraceCommon `protobuf:"bytes,4,opt,name=common,proto3" json:"common,omitempty"` Metrics *TracingMetrics `protobuf:"bytes,5,opt,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*Trace) Descriptor
deprecated
func (*Trace) GetCommon ¶
func (x *Trace) GetCommon() *TraceCommon
func (*Trace) GetMetrics ¶ added in v0.5.0
func (x *Trace) GetMetrics() *TracingMetrics
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) ProtoReflect ¶
func (x *Trace) ProtoReflect() protoreflect.Message
type TraceBare ¶ added in v0.5.0
type TraceBare struct { TraceId string `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` SpanId string `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` Save bool `protobuf:"varint,3,opt,name=save,proto3" json:"save,omitempty"` // contains filtered or unexported fields }
func (*TraceBare) Descriptor
deprecated
added in
v0.5.0
func (*TraceBare) GetTraceId ¶ added in v0.5.0
func (*TraceBare) ProtoMessage ¶ added in v0.5.0
func (*TraceBare) ProtoMessage()
func (*TraceBare) ProtoReflect ¶ added in v0.5.0
func (x *TraceBare) ProtoReflect() protoreflect.Message
type TraceCommon ¶
type TraceCommon struct { SpanId string `protobuf:"bytes,1,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` ParentSpanId string `protobuf:"bytes,2,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"` // The root parent_span_id Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp will be set automatically PodName string `protobuf:"bytes,4,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"` // Pod that generated Trace Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` // Namespace that generated Trace ItemType string `protobuf:"bytes,6,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"` // TRACE, SPAN, etc. // contains filtered or unexported fields }
Common message used in various trace-related messages
func (*TraceCommon) Descriptor
deprecated
func (*TraceCommon) Descriptor() ([]byte, []int)
Deprecated: Use TraceCommon.ProtoReflect.Descriptor instead.
func (*TraceCommon) GetItemType ¶
func (x *TraceCommon) GetItemType() string
func (*TraceCommon) GetNamespace ¶
func (x *TraceCommon) GetNamespace() string
func (*TraceCommon) GetParentSpanId ¶
func (x *TraceCommon) GetParentSpanId() string
func (*TraceCommon) GetPodName ¶
func (x *TraceCommon) GetPodName() string
func (*TraceCommon) GetSpanId ¶
func (x *TraceCommon) GetSpanId() string
func (*TraceCommon) GetTimestamp ¶
func (x *TraceCommon) GetTimestamp() string
func (*TraceCommon) ProtoMessage ¶
func (*TraceCommon) ProtoMessage()
func (*TraceCommon) ProtoReflect ¶
func (x *TraceCommon) ProtoReflect() protoreflect.Message
func (*TraceCommon) Reset ¶
func (x *TraceCommon) Reset()
func (*TraceCommon) String ¶
func (x *TraceCommon) String() string
type TraceRequest ¶
type TraceRequest struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // GET POST PUT, etc. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // The URL called by a client Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // The host that generated the trace // contains filtered or unexported fields }
func (*TraceRequest) Descriptor
deprecated
func (*TraceRequest) Descriptor() ([]byte, []int)
Deprecated: Use TraceRequest.ProtoReflect.Descriptor instead.
func (*TraceRequest) GetHost ¶
func (x *TraceRequest) GetHost() string
func (*TraceRequest) GetMethod ¶
func (x *TraceRequest) GetMethod() string
func (*TraceRequest) GetUrl ¶
func (x *TraceRequest) GetUrl() string
func (*TraceRequest) ProtoMessage ¶
func (*TraceRequest) ProtoMessage()
func (*TraceRequest) ProtoReflect ¶
func (x *TraceRequest) ProtoReflect() protoreflect.Message
func (*TraceRequest) Reset ¶
func (x *TraceRequest) Reset()
func (*TraceRequest) String ¶
func (x *TraceRequest) String() string
type TraceResponse ¶
type TraceResponse struct { Ack string `protobuf:"bytes,1,opt,name=ack,proto3" json:"ack,omitempty"` // contains filtered or unexported fields }
func (*TraceResponse) Descriptor
deprecated
func (*TraceResponse) Descriptor() ([]byte, []int)
Deprecated: Use TraceResponse.ProtoReflect.Descriptor instead.
func (*TraceResponse) GetAck ¶ added in v0.5.0
func (x *TraceResponse) GetAck() string
func (*TraceResponse) ProtoMessage ¶
func (*TraceResponse) ProtoMessage()
func (*TraceResponse) ProtoReflect ¶
func (x *TraceResponse) ProtoReflect() protoreflect.Message
func (*TraceResponse) Reset ¶
func (x *TraceResponse) Reset()
func (*TraceResponse) String ¶
func (x *TraceResponse) String() string
type TraceServiceClient ¶
type TraceServiceClient interface { HealthCheck(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*HealthCheckResponse, error) Chorus(ctx context.Context, opts ...grpc.CallOption) (TraceService_ChorusClient, error) }
TraceServiceClient is the client API for TraceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTraceServiceClient ¶
func NewTraceServiceClient(cc grpc.ClientConnInterface) TraceServiceClient
type TraceServiceServer ¶
type TraceServiceServer interface { HealthCheck(context.Context, *Empty) (*HealthCheckResponse, error) Chorus(TraceService_ChorusServer) error // contains filtered or unexported methods }
TraceServiceServer is the server API for TraceService service. All implementations must embed UnimplementedTraceServiceServer for forward compatibility
type TraceService_ChorusClient ¶ added in v0.5.0
type TraceService_ChorusClient interface { Send(*ParabasisRequest) error CloseAndRecv() (*TraceResponse, error) grpc.ClientStream }
type TraceService_ChorusServer ¶ added in v0.5.0
type TraceService_ChorusServer interface { SendAndClose(*TraceResponse) error Recv() (*ParabasisRequest, error) grpc.ServerStream }
type TraceStart ¶
type TraceStart struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // GET POST PUT, etc. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // The URL called by a client Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // The host that generated the trace RemoteAddress string `protobuf:"bytes,4,opt,name=remote_address,json=remoteAddress,proto3" json:"remote_address,omitempty"` // Remote address of the client Operation string `protobuf:"bytes,5,opt,name=operation,proto3" json:"operation,omitempty"` // Graphql operation that generated Trace start RootQuery string `protobuf:"bytes,6,opt,name=root_query,json=rootQuery,proto3" json:"root_query,omitempty"` // Graphql Root Query // Reuse TraceCommon for common fields Common *TraceCommon `protobuf:"bytes,7,opt,name=common,proto3" json:"common,omitempty"` // contains filtered or unexported fields }
func (*TraceStart) Descriptor
deprecated
func (*TraceStart) Descriptor() ([]byte, []int)
Deprecated: Use TraceStart.ProtoReflect.Descriptor instead.
func (*TraceStart) GetCommon ¶
func (x *TraceStart) GetCommon() *TraceCommon
func (*TraceStart) GetHost ¶
func (x *TraceStart) GetHost() string
func (*TraceStart) GetMethod ¶
func (x *TraceStart) GetMethod() string
func (*TraceStart) GetOperation ¶
func (x *TraceStart) GetOperation() string
func (*TraceStart) GetRemoteAddress ¶
func (x *TraceStart) GetRemoteAddress() string
func (*TraceStart) GetRootQuery ¶
func (x *TraceStart) GetRootQuery() string
func (*TraceStart) GetUrl ¶
func (x *TraceStart) GetUrl() string
func (*TraceStart) ProtoMessage ¶
func (*TraceStart) ProtoMessage()
func (*TraceStart) ProtoReflect ¶
func (x *TraceStart) ProtoReflect() protoreflect.Message
func (*TraceStart) Reset ¶
func (x *TraceStart) Reset()
func (*TraceStart) String ¶
func (x *TraceStart) String() string
type TraceStop ¶
type TraceStop struct { ResponseBody string `protobuf:"bytes,1,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"` // The response generated when a 200 is returned // Reuse TraceCommon for common fields Common *TraceCommon `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` // contains filtered or unexported fields }
func (*TraceStop) Descriptor
deprecated
func (*TraceStop) GetCommon ¶
func (x *TraceStop) GetCommon() *TraceCommon
func (*TraceStop) GetResponseBody ¶
func (*TraceStop) ProtoMessage ¶
func (*TraceStop) ProtoMessage()
func (*TraceStop) ProtoReflect ¶
func (x *TraceStop) ProtoReflect() protoreflect.Message
type TracingMetrics ¶ added in v0.5.0
type TracingMetrics struct { CpuUnits string `protobuf:"bytes,1,opt,name=cpu_units,json=cpuUnits,proto3" json:"cpu_units,omitempty"` MemoryUnits string `protobuf:"bytes,2,opt,name=memory_units,json=memoryUnits,proto3" json:"memory_units,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` CpuRaw int64 `protobuf:"varint,4,opt,name=cpu_raw,json=cpuRaw,proto3" json:"cpu_raw,omitempty"` MemoryRaw int64 `protobuf:"varint,5,opt,name=memory_raw,json=memoryRaw,proto3" json:"memory_raw,omitempty"` CpuHumanReadable string `protobuf:"bytes,6,opt,name=cpu_human_readable,json=cpuHumanReadable,proto3" json:"cpu_human_readable,omitempty"` MemoryHumanReadable string `protobuf:"bytes,7,opt,name=memory_human_readable,json=memoryHumanReadable,proto3" json:"memory_human_readable,omitempty"` // contains filtered or unexported fields }
func (*TracingMetrics) Descriptor
deprecated
added in
v0.5.0
func (*TracingMetrics) Descriptor() ([]byte, []int)
Deprecated: Use TracingMetrics.ProtoReflect.Descriptor instead.
func (*TracingMetrics) GetCpuHumanReadable ¶ added in v0.5.0
func (x *TracingMetrics) GetCpuHumanReadable() string
func (*TracingMetrics) GetCpuRaw ¶ added in v0.5.0
func (x *TracingMetrics) GetCpuRaw() int64
func (*TracingMetrics) GetCpuUnits ¶ added in v0.5.0
func (x *TracingMetrics) GetCpuUnits() string
func (*TracingMetrics) GetMemoryHumanReadable ¶ added in v0.5.0
func (x *TracingMetrics) GetMemoryHumanReadable() string
func (*TracingMetrics) GetMemoryRaw ¶ added in v0.5.0
func (x *TracingMetrics) GetMemoryRaw() int64
func (*TracingMetrics) GetMemoryUnits ¶ added in v0.5.0
func (x *TracingMetrics) GetMemoryUnits() string
func (*TracingMetrics) GetName ¶ added in v0.5.0
func (x *TracingMetrics) GetName() string
func (*TracingMetrics) ProtoMessage ¶ added in v0.5.0
func (*TracingMetrics) ProtoMessage()
func (*TracingMetrics) ProtoReflect ¶ added in v0.5.0
func (x *TracingMetrics) ProtoReflect() protoreflect.Message
func (*TracingMetrics) Reset ¶ added in v0.5.0
func (x *TracingMetrics) Reset()
func (*TracingMetrics) String ¶ added in v0.5.0
func (x *TracingMetrics) String() string
type UnimplementedTraceServiceServer ¶
type UnimplementedTraceServiceServer struct { }
UnimplementedTraceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTraceServiceServer) Chorus ¶ added in v0.5.0
func (UnimplementedTraceServiceServer) Chorus(TraceService_ChorusServer) error
func (UnimplementedTraceServiceServer) HealthCheck ¶
func (UnimplementedTraceServiceServer) HealthCheck(context.Context, *Empty) (*HealthCheckResponse, error)
type UnsafeTraceServiceServer ¶
type UnsafeTraceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTraceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TraceServiceServer will result in compilation errors.