proto

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 8 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_aristophanes_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Span.ProtoReflect.Descriptor instead.

func (*Span) GetAction

func (x *Span) GetAction() string

func (*Span) GetCommon

func (x *Span) GetCommon() *TraceCommon

func (*Span) GetStatus added in v0.5.0

func (x *Span) GetStatus() string

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) ProtoReflect

func (x *Span) ProtoReflect() protoreflect.Message

func (*Span) Reset

func (x *Span) Reset()

func (*Span) String

func (x *Span) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Trace.ProtoReflect.Descriptor instead.

func (*Trace) GetCommon

func (x *Trace) GetCommon() *TraceCommon

func (*Trace) GetHost

func (x *Trace) GetHost() string

func (*Trace) GetMethod

func (x *Trace) GetMethod() string

func (*Trace) GetMetrics added in v0.5.0

func (x *Trace) GetMetrics() *TracingMetrics

func (*Trace) GetUrl

func (x *Trace) GetUrl() string

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) ProtoReflect

func (x *Trace) ProtoReflect() protoreflect.Message

func (*Trace) Reset

func (x *Trace) Reset()

func (*Trace) String

func (x *Trace) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TraceBare.ProtoReflect.Descriptor instead.

func (*TraceBare) GetSave added in v0.5.0

func (x *TraceBare) GetSave() bool

func (*TraceBare) GetSpanId added in v0.5.0

func (x *TraceBare) GetSpanId() string

func (*TraceBare) GetTraceId added in v0.5.0

func (x *TraceBare) GetTraceId() string

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

func (*TraceBare) Reset added in v0.5.0

func (x *TraceBare) Reset()

func (*TraceBare) String added in v0.5.0

func (x *TraceBare) String() string

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use TraceStop.ProtoReflect.Descriptor instead.

func (*TraceStop) GetCommon

func (x *TraceStop) GetCommon() *TraceCommon

func (*TraceStop) GetResponseBody

func (x *TraceStop) GetResponseBody() string

func (*TraceStop) ProtoMessage

func (*TraceStop) ProtoMessage()

func (*TraceStop) ProtoReflect

func (x *TraceStop) ProtoReflect() protoreflect.Message

func (*TraceStop) Reset

func (x *TraceStop) Reset()

func (*TraceStop) String

func (x *TraceStop) String() string

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) HealthCheck

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.

Jump to

Keyboard shortcuts

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