Documentation ¶
Index ¶
- Variables
- type ContextualizedQueryLatencyStats
- func (*ContextualizedQueryLatencyStats) Descriptor() ([]byte, []int)deprecated
- func (x *ContextualizedQueryLatencyStats) GetContext() *StatsContext
- func (x *ContextualizedQueryLatencyStats) GetQueryLatencyStats() *QueryLatencyStats
- func (*ContextualizedQueryLatencyStats) ProtoMessage()
- func (x *ContextualizedQueryLatencyStats) ProtoReflect() protoreflect.Message
- func (x *ContextualizedQueryLatencyStats) Reset()
- func (x *ContextualizedQueryLatencyStats) String() string
- type ContextualizedStats
- func (*ContextualizedStats) Descriptor() ([]byte, []int)deprecated
- func (x *ContextualizedStats) GetContext() *StatsContext
- func (x *ContextualizedStats) GetPerTypeStat() map[string]*TypeStat
- func (x *ContextualizedStats) GetQueryLatencyStats() *QueryLatencyStats
- func (*ContextualizedStats) ProtoMessage()
- func (x *ContextualizedStats) ProtoReflect() protoreflect.Message
- func (x *ContextualizedStats) Reset()
- func (x *ContextualizedStats) String() string
- type ContextualizedTypeStats
- func (*ContextualizedTypeStats) Descriptor() ([]byte, []int)deprecated
- func (x *ContextualizedTypeStats) GetContext() *StatsContext
- func (x *ContextualizedTypeStats) GetPerTypeStat() map[string]*TypeStat
- func (*ContextualizedTypeStats) ProtoMessage()
- func (x *ContextualizedTypeStats) ProtoReflect() protoreflect.Message
- func (x *ContextualizedTypeStats) Reset()
- func (x *ContextualizedTypeStats) String() string
- type Field
- type FieldStat
- func (*FieldStat) Descriptor() ([]byte, []int)deprecated
- func (x *FieldStat) GetCount() uint64
- func (x *FieldStat) GetErrorsCount() uint64
- func (x *FieldStat) GetLatencyCount() []int64
- func (x *FieldStat) GetRequestsWithErrorsCount() uint64
- func (x *FieldStat) GetReturnType() string
- func (*FieldStat) ProtoMessage()
- func (x *FieldStat) ProtoReflect() protoreflect.Message
- func (x *FieldStat) Reset()
- func (x *FieldStat) String() string
- type PathErrorStats
- func (*PathErrorStats) Descriptor() ([]byte, []int)deprecated
- func (x *PathErrorStats) GetChildren() map[string]*PathErrorStats
- func (x *PathErrorStats) GetErrorsCount() uint64
- func (x *PathErrorStats) GetRequestsWithErrorsCount() uint64
- func (*PathErrorStats) ProtoMessage()
- func (x *PathErrorStats) ProtoReflect() protoreflect.Message
- func (x *PathErrorStats) Reset()
- func (x *PathErrorStats) String() string
- type QueryLatencyStats
- func (*QueryLatencyStats) Descriptor() ([]byte, []int)deprecated
- func (x *QueryLatencyStats) GetCacheHits() uint64
- func (x *QueryLatencyStats) GetCacheLatencyCount() []int64
- func (x *QueryLatencyStats) GetForbiddenOperationCount() uint64
- func (x *QueryLatencyStats) GetLatencyCount() []int64
- func (x *QueryLatencyStats) GetPersistedQueryHits() uint64
- func (x *QueryLatencyStats) GetPersistedQueryMisses() uint64
- func (x *QueryLatencyStats) GetPrivateCacheTtlCount() []int64
- func (x *QueryLatencyStats) GetPublicCacheTtlCount() []int64
- func (x *QueryLatencyStats) GetRegisteredOperationCount() uint64
- func (x *QueryLatencyStats) GetRequestCount() uint64
- func (x *QueryLatencyStats) GetRequestsWithErrorsCount() uint64
- func (x *QueryLatencyStats) GetRootErrorStats() *PathErrorStats
- func (*QueryLatencyStats) ProtoMessage()
- func (x *QueryLatencyStats) ProtoReflect() protoreflect.Message
- func (x *QueryLatencyStats) Reset()
- func (x *QueryLatencyStats) String() string
- type Report
- func (*Report) Descriptor() ([]byte, []int)deprecated
- func (x *Report) GetEndTime() *timestamppb.Timestamp
- func (x *Report) GetHeader() *ReportHeader
- func (x *Report) GetTracesPerQuery() map[string]*TracesAndStats
- func (*Report) ProtoMessage()
- func (x *Report) ProtoReflect() protoreflect.Message
- func (x *Report) Reset()
- func (x *Report) String() string
- type ReportHeader
- func (*ReportHeader) Descriptor() ([]byte, []int)deprecated
- func (x *ReportHeader) GetAgentVersion() string
- func (x *ReportHeader) GetExecutableSchemaId() string
- func (x *ReportHeader) GetHostname() string
- func (x *ReportHeader) GetRuntimeVersion() string
- func (x *ReportHeader) GetSchemaTag() string
- func (x *ReportHeader) GetServiceVersion() string
- func (x *ReportHeader) GetUname() string
- func (*ReportHeader) ProtoMessage()
- func (x *ReportHeader) ProtoReflect() protoreflect.Message
- func (x *ReportHeader) Reset()
- func (x *ReportHeader) String() string
- type StatsContext
- func (*StatsContext) Descriptor() ([]byte, []int)deprecated
- func (x *StatsContext) GetClientName() string
- func (x *StatsContext) GetClientReferenceId() string
- func (x *StatsContext) GetClientVersion() string
- func (*StatsContext) ProtoMessage()
- func (x *StatsContext) ProtoReflect() protoreflect.Message
- func (x *StatsContext) Reset()
- func (x *StatsContext) String() string
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)deprecated
- func (x *Trace) GetCachePolicy() *Trace_CachePolicy
- func (x *Trace) GetClientAddress() string
- func (x *Trace) GetClientName() string
- func (x *Trace) GetClientReferenceId() string
- func (x *Trace) GetClientVersion() string
- func (x *Trace) GetDetails() *Trace_Details
- func (x *Trace) GetDurationNs() uint64
- func (x *Trace) GetEndTime() *timestamppb.Timestamp
- func (x *Trace) GetForbiddenOperation() bool
- func (x *Trace) GetFullQueryCacheHit() bool
- func (x *Trace) GetHttp() *Trace_HTTP
- func (x *Trace) GetPersistedQueryHit() bool
- func (x *Trace) GetPersistedQueryRegister() bool
- func (x *Trace) GetQueryPlan() *Trace_QueryPlanNode
- func (x *Trace) GetRegisteredOperation() bool
- func (x *Trace) GetRoot() *Trace_Node
- func (x *Trace) GetSignature() string
- func (x *Trace) GetStartTime() *timestamppb.Timestamp
- func (x *Trace) GetUnexecutedOperationBody() string
- func (x *Trace) GetUnexecutedOperationName() string
- func (*Trace) ProtoMessage()
- func (x *Trace) ProtoReflect() protoreflect.Message
- func (x *Trace) Reset()
- func (x *Trace) String() string
- type Trace_CachePolicy
- func (*Trace_CachePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_CachePolicy) GetMaxAgeNs() int64
- func (x *Trace_CachePolicy) GetScope() Trace_CachePolicy_Scope
- func (*Trace_CachePolicy) ProtoMessage()
- func (x *Trace_CachePolicy) ProtoReflect() protoreflect.Message
- func (x *Trace_CachePolicy) Reset()
- func (x *Trace_CachePolicy) String() string
- type Trace_CachePolicy_Scope
- func (Trace_CachePolicy_Scope) Descriptor() protoreflect.EnumDescriptor
- func (x Trace_CachePolicy_Scope) Enum() *Trace_CachePolicy_Scope
- func (Trace_CachePolicy_Scope) EnumDescriptor() ([]byte, []int)deprecated
- func (x Trace_CachePolicy_Scope) Number() protoreflect.EnumNumber
- func (x Trace_CachePolicy_Scope) String() string
- func (Trace_CachePolicy_Scope) Type() protoreflect.EnumType
- type Trace_Details
- func (*Trace_Details) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_Details) GetOperationName() string
- func (x *Trace_Details) GetVariablesJson() map[string]string
- func (*Trace_Details) ProtoMessage()
- func (x *Trace_Details) ProtoReflect() protoreflect.Message
- func (x *Trace_Details) Reset()
- func (x *Trace_Details) String() string
- type Trace_Error
- func (*Trace_Error) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_Error) GetJson() string
- func (x *Trace_Error) GetLocation() []*Trace_Location
- func (x *Trace_Error) GetMessage() string
- func (x *Trace_Error) GetTimeNs() uint64
- func (*Trace_Error) ProtoMessage()
- func (x *Trace_Error) ProtoReflect() protoreflect.Message
- func (x *Trace_Error) Reset()
- func (x *Trace_Error) String() string
- type Trace_HTTP
- func (*Trace_HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_HTTP) GetHost() string
- func (x *Trace_HTTP) GetMethod() Trace_HTTP_Method
- func (x *Trace_HTTP) GetPath() string
- func (x *Trace_HTTP) GetProtocol() string
- func (x *Trace_HTTP) GetRequestHeaders() map[string]*Trace_HTTP_Values
- func (x *Trace_HTTP) GetResponseHeaders() map[string]*Trace_HTTP_Values
- func (x *Trace_HTTP) GetSecure() bool
- func (x *Trace_HTTP) GetStatusCode() uint32
- func (*Trace_HTTP) ProtoMessage()
- func (x *Trace_HTTP) ProtoReflect() protoreflect.Message
- func (x *Trace_HTTP) Reset()
- func (x *Trace_HTTP) String() string
- type Trace_HTTP_Method
- func (Trace_HTTP_Method) Descriptor() protoreflect.EnumDescriptor
- func (x Trace_HTTP_Method) Enum() *Trace_HTTP_Method
- func (Trace_HTTP_Method) EnumDescriptor() ([]byte, []int)deprecated
- func (x Trace_HTTP_Method) Number() protoreflect.EnumNumber
- func (x Trace_HTTP_Method) String() string
- func (Trace_HTTP_Method) Type() protoreflect.EnumType
- type Trace_HTTP_Values
- type Trace_Location
- func (*Trace_Location) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_Location) GetColumn() uint32
- func (x *Trace_Location) GetLine() uint32
- func (*Trace_Location) ProtoMessage()
- func (x *Trace_Location) ProtoReflect() protoreflect.Message
- func (x *Trace_Location) Reset()
- func (x *Trace_Location) String() string
- type Trace_Node
- func (*Trace_Node) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_Node) GetCachePolicy() *Trace_CachePolicy
- func (x *Trace_Node) GetChild() []*Trace_Node
- func (x *Trace_Node) GetEndTime() uint64
- func (x *Trace_Node) GetError() []*Trace_Error
- func (m *Trace_Node) GetId() isTrace_Node_Id
- func (x *Trace_Node) GetIndex() uint32
- func (x *Trace_Node) GetOriginalFieldName() string
- func (x *Trace_Node) GetParentType() string
- func (x *Trace_Node) GetResponseName() string
- func (x *Trace_Node) GetStartTime() uint64
- func (x *Trace_Node) GetType() string
- func (*Trace_Node) ProtoMessage()
- func (x *Trace_Node) ProtoReflect() protoreflect.Message
- func (x *Trace_Node) Reset()
- func (x *Trace_Node) String() string
- type Trace_Node_Index
- type Trace_Node_ResponseName
- type Trace_QueryPlanNode
- func (*Trace_QueryPlanNode) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_QueryPlanNode) GetFetch() *Trace_QueryPlanNode_FetchNode
- func (x *Trace_QueryPlanNode) GetFlatten() *Trace_QueryPlanNode_FlattenNode
- func (m *Trace_QueryPlanNode) GetNode() isTrace_QueryPlanNode_Node
- func (x *Trace_QueryPlanNode) GetParallel() *Trace_QueryPlanNode_ParallelNode
- func (x *Trace_QueryPlanNode) GetSequence() *Trace_QueryPlanNode_SequenceNode
- func (*Trace_QueryPlanNode) ProtoMessage()
- func (x *Trace_QueryPlanNode) ProtoReflect() protoreflect.Message
- func (x *Trace_QueryPlanNode) Reset()
- func (x *Trace_QueryPlanNode) String() string
- type Trace_QueryPlanNode_Fetch
- type Trace_QueryPlanNode_FetchNode
- func (*Trace_QueryPlanNode_FetchNode) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_QueryPlanNode_FetchNode) GetReceivedTime() *timestamppb.Timestamp
- func (x *Trace_QueryPlanNode_FetchNode) GetSentTime() *timestamppb.Timestamp
- func (x *Trace_QueryPlanNode_FetchNode) GetSentTimeOffset() uint64
- func (x *Trace_QueryPlanNode_FetchNode) GetServiceName() string
- func (x *Trace_QueryPlanNode_FetchNode) GetTrace() *Trace
- func (x *Trace_QueryPlanNode_FetchNode) GetTraceParsingFailed() bool
- func (*Trace_QueryPlanNode_FetchNode) ProtoMessage()
- func (x *Trace_QueryPlanNode_FetchNode) ProtoReflect() protoreflect.Message
- func (x *Trace_QueryPlanNode_FetchNode) Reset()
- func (x *Trace_QueryPlanNode_FetchNode) String() string
- type Trace_QueryPlanNode_Flatten
- type Trace_QueryPlanNode_FlattenNode
- func (*Trace_QueryPlanNode_FlattenNode) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_QueryPlanNode_FlattenNode) GetNode() *Trace_QueryPlanNode
- func (x *Trace_QueryPlanNode_FlattenNode) GetResponsePath() []*Trace_QueryPlanNode_ResponsePathElement
- func (*Trace_QueryPlanNode_FlattenNode) ProtoMessage()
- func (x *Trace_QueryPlanNode_FlattenNode) ProtoReflect() protoreflect.Message
- func (x *Trace_QueryPlanNode_FlattenNode) Reset()
- func (x *Trace_QueryPlanNode_FlattenNode) String() string
- type Trace_QueryPlanNode_Parallel
- type Trace_QueryPlanNode_ParallelNode
- func (*Trace_QueryPlanNode_ParallelNode) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_QueryPlanNode_ParallelNode) GetNodes() []*Trace_QueryPlanNode
- func (*Trace_QueryPlanNode_ParallelNode) ProtoMessage()
- func (x *Trace_QueryPlanNode_ParallelNode) ProtoReflect() protoreflect.Message
- func (x *Trace_QueryPlanNode_ParallelNode) Reset()
- func (x *Trace_QueryPlanNode_ParallelNode) String() string
- type Trace_QueryPlanNode_ResponsePathElement
- func (*Trace_QueryPlanNode_ResponsePathElement) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_QueryPlanNode_ResponsePathElement) GetFieldName() string
- func (m *Trace_QueryPlanNode_ResponsePathElement) GetId() isTrace_QueryPlanNode_ResponsePathElement_Id
- func (x *Trace_QueryPlanNode_ResponsePathElement) GetIndex() uint32
- func (*Trace_QueryPlanNode_ResponsePathElement) ProtoMessage()
- func (x *Trace_QueryPlanNode_ResponsePathElement) ProtoReflect() protoreflect.Message
- func (x *Trace_QueryPlanNode_ResponsePathElement) Reset()
- func (x *Trace_QueryPlanNode_ResponsePathElement) String() string
- type Trace_QueryPlanNode_ResponsePathElement_FieldName
- type Trace_QueryPlanNode_ResponsePathElement_Index
- type Trace_QueryPlanNode_Sequence
- type Trace_QueryPlanNode_SequenceNode
- func (*Trace_QueryPlanNode_SequenceNode) Descriptor() ([]byte, []int)deprecated
- func (x *Trace_QueryPlanNode_SequenceNode) GetNodes() []*Trace_QueryPlanNode
- func (*Trace_QueryPlanNode_SequenceNode) ProtoMessage()
- func (x *Trace_QueryPlanNode_SequenceNode) ProtoReflect() protoreflect.Message
- func (x *Trace_QueryPlanNode_SequenceNode) Reset()
- func (x *Trace_QueryPlanNode_SequenceNode) String() string
- type TracesAndStats
- func (*TracesAndStats) Descriptor() ([]byte, []int)deprecated
- func (x *TracesAndStats) GetInternalTracesContributingToStats() []*Trace
- func (x *TracesAndStats) GetStatsWithContext() []*ContextualizedStats
- func (x *TracesAndStats) GetTrace() []*Trace
- func (*TracesAndStats) ProtoMessage()
- func (x *TracesAndStats) ProtoReflect() protoreflect.Message
- func (x *TracesAndStats) Reset()
- func (x *TracesAndStats) String() string
- type Type
- type TypeStat
Constants ¶
This section is empty.
Variables ¶
var ( Trace_CachePolicy_Scope_name = map[int32]string{ 0: "UNKNOWN", 1: "PUBLIC", 2: "PRIVATE", } Trace_CachePolicy_Scope_value = map[string]int32{ "UNKNOWN": 0, "PUBLIC": 1, "PRIVATE": 2, } )
Enum value maps for Trace_CachePolicy_Scope.
var ( Trace_HTTP_Method_name = map[int32]string{ 0: "UNKNOWN", 1: "OPTIONS", 2: "GET", 3: "HEAD", 4: "POST", 5: "PUT", 6: "DELETE", 7: "TRACE", 8: "CONNECT", 9: "PATCH", } Trace_HTTP_Method_value = map[string]int32{ "UNKNOWN": 0, "OPTIONS": 1, "GET": 2, "HEAD": 3, "POST": 4, "PUT": 5, "DELETE": 6, "TRACE": 7, "CONNECT": 8, "PATCH": 9, } )
Enum value maps for Trace_HTTP_Method.
var File_reports_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ContextualizedQueryLatencyStats ¶
type ContextualizedQueryLatencyStats struct { QueryLatencyStats *QueryLatencyStats `protobuf:"bytes,1,opt,name=query_latency_stats,json=queryLatencyStats,proto3" json:"query_latency_stats,omitempty"` Context *StatsContext `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*ContextualizedQueryLatencyStats) Descriptor
deprecated
func (*ContextualizedQueryLatencyStats) Descriptor() ([]byte, []int)
Deprecated: Use ContextualizedQueryLatencyStats.ProtoReflect.Descriptor instead.
func (*ContextualizedQueryLatencyStats) GetContext ¶
func (x *ContextualizedQueryLatencyStats) GetContext() *StatsContext
func (*ContextualizedQueryLatencyStats) GetQueryLatencyStats ¶
func (x *ContextualizedQueryLatencyStats) GetQueryLatencyStats() *QueryLatencyStats
func (*ContextualizedQueryLatencyStats) ProtoMessage ¶
func (*ContextualizedQueryLatencyStats) ProtoMessage()
func (*ContextualizedQueryLatencyStats) ProtoReflect ¶
func (x *ContextualizedQueryLatencyStats) ProtoReflect() protoreflect.Message
func (*ContextualizedQueryLatencyStats) Reset ¶
func (x *ContextualizedQueryLatencyStats) Reset()
func (*ContextualizedQueryLatencyStats) String ¶
func (x *ContextualizedQueryLatencyStats) String() string
type ContextualizedStats ¶
type ContextualizedStats struct { Context *StatsContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` QueryLatencyStats *QueryLatencyStats `protobuf:"bytes,2,opt,name=query_latency_stats,json=queryLatencyStats,proto3" json:"query_latency_stats,omitempty"` // Key is type name. PerTypeStat map[string]*TypeStat `` /* 184-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ContextualizedStats) Descriptor
deprecated
func (*ContextualizedStats) Descriptor() ([]byte, []int)
Deprecated: Use ContextualizedStats.ProtoReflect.Descriptor instead.
func (*ContextualizedStats) GetContext ¶
func (x *ContextualizedStats) GetContext() *StatsContext
func (*ContextualizedStats) GetPerTypeStat ¶
func (x *ContextualizedStats) GetPerTypeStat() map[string]*TypeStat
func (*ContextualizedStats) GetQueryLatencyStats ¶
func (x *ContextualizedStats) GetQueryLatencyStats() *QueryLatencyStats
func (*ContextualizedStats) ProtoMessage ¶
func (*ContextualizedStats) ProtoMessage()
func (*ContextualizedStats) ProtoReflect ¶
func (x *ContextualizedStats) ProtoReflect() protoreflect.Message
func (*ContextualizedStats) Reset ¶
func (x *ContextualizedStats) Reset()
func (*ContextualizedStats) String ¶
func (x *ContextualizedStats) String() string
type ContextualizedTypeStats ¶
type ContextualizedTypeStats struct { Context *StatsContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` PerTypeStat map[string]*TypeStat `` /* 184-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ContextualizedTypeStats) Descriptor
deprecated
func (*ContextualizedTypeStats) Descriptor() ([]byte, []int)
Deprecated: Use ContextualizedTypeStats.ProtoReflect.Descriptor instead.
func (*ContextualizedTypeStats) GetContext ¶
func (x *ContextualizedTypeStats) GetContext() *StatsContext
func (*ContextualizedTypeStats) GetPerTypeStat ¶
func (x *ContextualizedTypeStats) GetPerTypeStat() map[string]*TypeStat
func (*ContextualizedTypeStats) ProtoMessage ¶
func (*ContextualizedTypeStats) ProtoMessage()
func (*ContextualizedTypeStats) ProtoReflect ¶
func (x *ContextualizedTypeStats) ProtoReflect() protoreflect.Message
func (*ContextualizedTypeStats) Reset ¶
func (x *ContextualizedTypeStats) Reset()
func (*ContextualizedTypeStats) String ¶
func (x *ContextualizedTypeStats) String() string
type Field ¶
type Field struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // required; eg "email" for User.email:String! ReturnType string `protobuf:"bytes,3,opt,name=return_type,json=returnType,proto3" json:"return_type,omitempty"` // required; eg "String!" for User.email:String! // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) GetReturnType ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type FieldStat ¶
type FieldStat struct { ReturnType string `protobuf:"bytes,3,opt,name=return_type,json=returnType,proto3" json:"return_type,omitempty"` // required; eg "String!" for User.email:String! ErrorsCount uint64 `protobuf:"varint,4,opt,name=errors_count,json=errorsCount,proto3" json:"errors_count,omitempty"` Count uint64 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` RequestsWithErrorsCount uint64 `` /* 135-byte string literal not displayed */ LatencyCount []int64 `protobuf:"zigzag64,9,rep,packed,name=latency_count,json=latencyCount,proto3" json:"latency_count,omitempty"` // contains filtered or unexported fields }
func (*FieldStat) Descriptor
deprecated
func (*FieldStat) GetErrorsCount ¶
func (*FieldStat) GetLatencyCount ¶
func (*FieldStat) GetRequestsWithErrorsCount ¶
func (*FieldStat) GetReturnType ¶
func (*FieldStat) ProtoMessage ¶
func (*FieldStat) ProtoMessage()
func (*FieldStat) ProtoReflect ¶
func (x *FieldStat) ProtoReflect() protoreflect.Message
type PathErrorStats ¶
type PathErrorStats struct { Children map[string]*PathErrorStats `` /* 157-byte string literal not displayed */ ErrorsCount uint64 `protobuf:"varint,4,opt,name=errors_count,json=errorsCount,proto3" json:"errors_count,omitempty"` RequestsWithErrorsCount uint64 `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PathErrorStats) Descriptor
deprecated
func (*PathErrorStats) Descriptor() ([]byte, []int)
Deprecated: Use PathErrorStats.ProtoReflect.Descriptor instead.
func (*PathErrorStats) GetChildren ¶
func (x *PathErrorStats) GetChildren() map[string]*PathErrorStats
func (*PathErrorStats) GetErrorsCount ¶
func (x *PathErrorStats) GetErrorsCount() uint64
func (*PathErrorStats) GetRequestsWithErrorsCount ¶
func (x *PathErrorStats) GetRequestsWithErrorsCount() uint64
func (*PathErrorStats) ProtoMessage ¶
func (*PathErrorStats) ProtoMessage()
func (*PathErrorStats) ProtoReflect ¶
func (x *PathErrorStats) ProtoReflect() protoreflect.Message
func (*PathErrorStats) Reset ¶
func (x *PathErrorStats) Reset()
func (*PathErrorStats) String ¶
func (x *PathErrorStats) String() string
type QueryLatencyStats ¶
type QueryLatencyStats struct { LatencyCount []int64 `protobuf:"zigzag64,13,rep,packed,name=latency_count,json=latencyCount,proto3" json:"latency_count,omitempty"` RequestCount uint64 `protobuf:"varint,2,opt,name=request_count,json=requestCount,proto3" json:"request_count,omitempty"` CacheHits uint64 `protobuf:"varint,3,opt,name=cache_hits,json=cacheHits,proto3" json:"cache_hits,omitempty"` PersistedQueryHits uint64 `protobuf:"varint,4,opt,name=persisted_query_hits,json=persistedQueryHits,proto3" json:"persisted_query_hits,omitempty"` PersistedQueryMisses uint64 `protobuf:"varint,5,opt,name=persisted_query_misses,json=persistedQueryMisses,proto3" json:"persisted_query_misses,omitempty"` CacheLatencyCount []int64 `protobuf:"zigzag64,14,rep,packed,name=cache_latency_count,json=cacheLatencyCount,proto3" json:"cache_latency_count,omitempty"` RootErrorStats *PathErrorStats `protobuf:"bytes,7,opt,name=root_error_stats,json=rootErrorStats,proto3" json:"root_error_stats,omitempty"` RequestsWithErrorsCount uint64 `` /* 135-byte string literal not displayed */ PublicCacheTtlCount []int64 `` /* 133-byte string literal not displayed */ PrivateCacheTtlCount []int64 `` /* 136-byte string literal not displayed */ RegisteredOperationCount uint64 `` /* 137-byte string literal not displayed */ ForbiddenOperationCount uint64 `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*QueryLatencyStats) Descriptor
deprecated
func (*QueryLatencyStats) Descriptor() ([]byte, []int)
Deprecated: Use QueryLatencyStats.ProtoReflect.Descriptor instead.
func (*QueryLatencyStats) GetCacheHits ¶
func (x *QueryLatencyStats) GetCacheHits() uint64
func (*QueryLatencyStats) GetCacheLatencyCount ¶
func (x *QueryLatencyStats) GetCacheLatencyCount() []int64
func (*QueryLatencyStats) GetForbiddenOperationCount ¶
func (x *QueryLatencyStats) GetForbiddenOperationCount() uint64
func (*QueryLatencyStats) GetLatencyCount ¶
func (x *QueryLatencyStats) GetLatencyCount() []int64
func (*QueryLatencyStats) GetPersistedQueryHits ¶
func (x *QueryLatencyStats) GetPersistedQueryHits() uint64
func (*QueryLatencyStats) GetPersistedQueryMisses ¶
func (x *QueryLatencyStats) GetPersistedQueryMisses() uint64
func (*QueryLatencyStats) GetPrivateCacheTtlCount ¶
func (x *QueryLatencyStats) GetPrivateCacheTtlCount() []int64
func (*QueryLatencyStats) GetPublicCacheTtlCount ¶
func (x *QueryLatencyStats) GetPublicCacheTtlCount() []int64
func (*QueryLatencyStats) GetRegisteredOperationCount ¶
func (x *QueryLatencyStats) GetRegisteredOperationCount() uint64
func (*QueryLatencyStats) GetRequestCount ¶
func (x *QueryLatencyStats) GetRequestCount() uint64
func (*QueryLatencyStats) GetRequestsWithErrorsCount ¶
func (x *QueryLatencyStats) GetRequestsWithErrorsCount() uint64
func (*QueryLatencyStats) GetRootErrorStats ¶
func (x *QueryLatencyStats) GetRootErrorStats() *PathErrorStats
func (*QueryLatencyStats) ProtoMessage ¶
func (*QueryLatencyStats) ProtoMessage()
func (*QueryLatencyStats) ProtoReflect ¶
func (x *QueryLatencyStats) ProtoReflect() protoreflect.Message
func (*QueryLatencyStats) Reset ¶
func (x *QueryLatencyStats) Reset()
func (*QueryLatencyStats) String ¶
func (x *QueryLatencyStats) String() string
type Report ¶
type Report struct { Header *ReportHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // key is statsReportKey (# operationName\nsignature) Note that the nested // traces will *not* have a signature or details.operationName (because the // key is adequate). // // We also assume that traces don't have // legacy_per_query_implicit_operation_name, and we don't require them to have // details.raw_query (which would consume a lot of space and has privacy/data // access issues, and isn't currently exposed by our app anyway). TracesPerQuery map[string]*TracesAndStats `` /* 193-byte string literal not displayed */ // This is the time that the requests in this trace are considered to have taken place // If this field is not present the max of the end_time of each trace will be used instead. // If there are no traces and no end_time present the report will not be able to be processed. // Note: This will override the end_time from traces. EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // required if no traces in this message // contains filtered or unexported fields }
This is the top-level message used by the new traces ingress. This is designed for the apollo-engine-reporting TypeScript agent and will eventually be documented as a public ingress API. This message consists solely of traces; the equivalent of the StatsReport is automatically generated server-side from this message. Agent should either send a trace or include it in the stats for every request in this report. Generally, buffering up until a large size has been reached (say, 4MB) or 5-10 seconds has passed is appropriate. This message used to be know as FullTracesReport, but got renamed since it isn't just for traces anymore
func (*Report) Descriptor
deprecated
func (*Report) GetEndTime ¶
func (x *Report) GetEndTime() *timestamppb.Timestamp
func (*Report) GetHeader ¶
func (x *Report) GetHeader() *ReportHeader
func (*Report) GetTracesPerQuery ¶
func (x *Report) GetTracesPerQuery() map[string]*TracesAndStats
func (*Report) ProtoMessage ¶
func (*Report) ProtoMessage()
func (*Report) ProtoReflect ¶
func (x *Report) ProtoReflect() protoreflect.Message
type ReportHeader ¶
type ReportHeader struct { // eg "host-01.example.com" Hostname string `protobuf:"bytes,5,opt,name=hostname,proto3" json:"hostname,omitempty"` // eg "engineproxy 0.1.0" AgentVersion string `protobuf:"bytes,6,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` // required // eg "prod-4279-20160804T065423Z-5-g3cf0aa8" (taken from `git describe --tags`) ServiceVersion string `protobuf:"bytes,7,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` // eg "node v4.6.0" RuntimeVersion string `protobuf:"bytes,8,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"` // eg "Linux box 4.6.5-1-ec2 #1 SMP Mon Aug 1 02:31:38 PDT 2016 x86_64 GNU/Linux" Uname string `protobuf:"bytes,9,opt,name=uname,proto3" json:"uname,omitempty"` // eg "current", "prod" SchemaTag string `protobuf:"bytes,10,opt,name=schema_tag,json=schemaTag,proto3" json:"schema_tag,omitempty"` // An id that is used to represent the schema to Apollo Graph Manager // Using this in place of what used to be schema_hash, since that is no longer // attached to a schema in the backend. ExecutableSchemaId string `protobuf:"bytes,11,opt,name=executable_schema_id,json=executableSchemaId,proto3" json:"executable_schema_id,omitempty"` // contains filtered or unexported fields }
The `service` value embedded within the header key is not guaranteed to contain an actual service, and, in most cases, the service information is trusted to come from upstream processing. If the service _is_ specified in this header, then it is checked to match the context that is reporting it. Otherwise, the service information is deduced from the token context of the reporter and then sent along via other mechanisms (in Kafka, the `ReportKafkaKey). The other information (hostname, agent_version, etc.) is sent by the Apollo Engine Reporting agent, but we do not currently save that information to any of our persistent storage.
func (*ReportHeader) Descriptor
deprecated
func (*ReportHeader) Descriptor() ([]byte, []int)
Deprecated: Use ReportHeader.ProtoReflect.Descriptor instead.
func (*ReportHeader) GetAgentVersion ¶
func (x *ReportHeader) GetAgentVersion() string
func (*ReportHeader) GetExecutableSchemaId ¶
func (x *ReportHeader) GetExecutableSchemaId() string
func (*ReportHeader) GetHostname ¶
func (x *ReportHeader) GetHostname() string
func (*ReportHeader) GetRuntimeVersion ¶
func (x *ReportHeader) GetRuntimeVersion() string
func (*ReportHeader) GetSchemaTag ¶
func (x *ReportHeader) GetSchemaTag() string
func (*ReportHeader) GetServiceVersion ¶
func (x *ReportHeader) GetServiceVersion() string
func (*ReportHeader) GetUname ¶
func (x *ReportHeader) GetUname() string
func (*ReportHeader) ProtoMessage ¶
func (*ReportHeader) ProtoMessage()
func (*ReportHeader) ProtoReflect ¶
func (x *ReportHeader) ProtoReflect() protoreflect.Message
func (*ReportHeader) Reset ¶
func (x *ReportHeader) Reset()
func (*ReportHeader) String ¶
func (x *ReportHeader) String() string
type StatsContext ¶
type StatsContext struct { ClientReferenceId string `protobuf:"bytes,1,opt,name=client_reference_id,json=clientReferenceId,proto3" json:"client_reference_id,omitempty"` ClientName string `protobuf:"bytes,2,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"` ClientVersion string `protobuf:"bytes,3,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` // contains filtered or unexported fields }
func (*StatsContext) Descriptor
deprecated
func (*StatsContext) Descriptor() ([]byte, []int)
Deprecated: Use StatsContext.ProtoReflect.Descriptor instead.
func (*StatsContext) GetClientName ¶
func (x *StatsContext) GetClientName() string
func (*StatsContext) GetClientReferenceId ¶
func (x *StatsContext) GetClientReferenceId() string
func (*StatsContext) GetClientVersion ¶
func (x *StatsContext) GetClientVersion() string
func (*StatsContext) ProtoMessage ¶
func (*StatsContext) ProtoMessage()
func (*StatsContext) ProtoReflect ¶
func (x *StatsContext) ProtoReflect() protoreflect.Message
func (*StatsContext) Reset ¶
func (x *StatsContext) Reset()
func (*StatsContext) String ¶
func (x *StatsContext) String() string
type Trace ¶
type Trace struct { // Wallclock time when the trace began. StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // required // Wallclock time when the trace ended. EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // required // High precision duration of the trace; may not equal end_time-start_time // (eg, if your machine's clock changed during the trace). DurationNs uint64 `protobuf:"varint,11,opt,name=duration_ns,json=durationNs,proto3" json:"duration_ns,omitempty"` // required // A tree containing information about all resolvers run directly by this // service, including errors. Root *Trace_Node `protobuf:"bytes,14,opt,name=root,proto3" json:"root,omitempty"` // In addition to details.raw_query, we include a "signature" of the query, // which can be normalized: for example, you may want to discard aliases, drop // unused operations and fragments, sort fields, etc. The most important thing // here is that the signature match the signature in StatsReports. In // StatsReports signatures show up as the key in the per_query map (with the // operation name prepended). The signature should be a valid GraphQL query. // All traces must have a signature; if this Trace is in a FullTracesReport // that signature is in the key of traces_per_query rather than in this field. // Engineproxy provides the signature in legacy_signature_needs_resigning // instead. Signature string `protobuf:"bytes,19,opt,name=signature,proto3" json:"signature,omitempty"` // Optional: when GraphQL parsing or validation against the GraphQL schema fails, these fields // can include reference to the operation being sent for users to dig into the set of operations // that are failing validation. UnexecutedOperationBody string `protobuf:"bytes,27,opt,name=unexecutedOperationBody,proto3" json:"unexecutedOperationBody,omitempty"` UnexecutedOperationName string `protobuf:"bytes,28,opt,name=unexecutedOperationName,proto3" json:"unexecutedOperationName,omitempty"` Details *Trace_Details `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"` // Note: engineproxy always sets client_name, client_version, and client_address to "none". // apollo-engine-reporting allows for them to be set by the user. ClientName string `protobuf:"bytes,7,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"` ClientVersion string `protobuf:"bytes,8,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` ClientAddress string `protobuf:"bytes,9,opt,name=client_address,json=clientAddress,proto3" json:"client_address,omitempty"` ClientReferenceId string `protobuf:"bytes,23,opt,name=client_reference_id,json=clientReferenceId,proto3" json:"client_reference_id,omitempty"` Http *Trace_HTTP `protobuf:"bytes,10,opt,name=http,proto3" json:"http,omitempty"` CachePolicy *Trace_CachePolicy `protobuf:"bytes,18,opt,name=cache_policy,json=cachePolicy,proto3" json:"cache_policy,omitempty"` // If this Trace was created by a gateway, this is the query plan, including // sub-Traces for federated services. Note that the 'root' tree on the // top-level Trace won't contain any resolvers (though it could contain errors // that occurred in the gateway itself). QueryPlan *Trace_QueryPlanNode `protobuf:"bytes,26,opt,name=query_plan,json=queryPlan,proto3" json:"query_plan,omitempty"` // Was this response served from a full query response cache? (In that case // the node tree will have no resolvers.) FullQueryCacheHit bool `protobuf:"varint,20,opt,name=full_query_cache_hit,json=fullQueryCacheHit,proto3" json:"full_query_cache_hit,omitempty"` // Was this query specified successfully as a persisted query hash? PersistedQueryHit bool `protobuf:"varint,21,opt,name=persisted_query_hit,json=persistedQueryHit,proto3" json:"persisted_query_hit,omitempty"` // Did this query contain both a full query string and a persisted query hash? // (This typically means that a previous request was rejected as an unknown // persisted query.) PersistedQueryRegister bool `` /* 131-byte string literal not displayed */ // Was this operation registered and a part of the safelist? RegisteredOperation bool `protobuf:"varint,24,opt,name=registered_operation,json=registeredOperation,proto3" json:"registered_operation,omitempty"` // Was this operation forbidden due to lack of safelisting? ForbiddenOperation bool `protobuf:"varint,25,opt,name=forbidden_operation,json=forbiddenOperation,proto3" json:"forbidden_operation,omitempty"` // contains filtered or unexported fields }
func (*Trace) Descriptor
deprecated
func (*Trace) GetCachePolicy ¶
func (x *Trace) GetCachePolicy() *Trace_CachePolicy
func (*Trace) GetClientAddress ¶
func (*Trace) GetClientName ¶
func (*Trace) GetClientReferenceId ¶
func (*Trace) GetClientVersion ¶
func (*Trace) GetDetails ¶
func (x *Trace) GetDetails() *Trace_Details
func (*Trace) GetDurationNs ¶
func (*Trace) GetEndTime ¶
func (x *Trace) GetEndTime() *timestamppb.Timestamp
func (*Trace) GetForbiddenOperation ¶
func (*Trace) GetFullQueryCacheHit ¶
func (*Trace) GetHttp ¶
func (x *Trace) GetHttp() *Trace_HTTP
func (*Trace) GetPersistedQueryHit ¶
func (*Trace) GetPersistedQueryRegister ¶
func (*Trace) GetQueryPlan ¶
func (x *Trace) GetQueryPlan() *Trace_QueryPlanNode
func (*Trace) GetRegisteredOperation ¶
func (*Trace) GetRoot ¶
func (x *Trace) GetRoot() *Trace_Node
func (*Trace) GetSignature ¶
func (*Trace) GetStartTime ¶
func (x *Trace) GetStartTime() *timestamppb.Timestamp
func (*Trace) GetUnexecutedOperationBody ¶
func (*Trace) GetUnexecutedOperationName ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) ProtoReflect ¶
func (x *Trace) ProtoReflect() protoreflect.Message
type Trace_CachePolicy ¶
type Trace_CachePolicy struct { Scope Trace_CachePolicy_Scope `protobuf:"varint,1,opt,name=scope,proto3,enum=Trace_CachePolicy_Scope" json:"scope,omitempty"` MaxAgeNs int64 `protobuf:"varint,2,opt,name=max_age_ns,json=maxAgeNs,proto3" json:"max_age_ns,omitempty"` // use 0 for absent, -1 for 0 // contains filtered or unexported fields }
func (*Trace_CachePolicy) Descriptor
deprecated
func (*Trace_CachePolicy) Descriptor() ([]byte, []int)
Deprecated: Use Trace_CachePolicy.ProtoReflect.Descriptor instead.
func (*Trace_CachePolicy) GetMaxAgeNs ¶
func (x *Trace_CachePolicy) GetMaxAgeNs() int64
func (*Trace_CachePolicy) GetScope ¶
func (x *Trace_CachePolicy) GetScope() Trace_CachePolicy_Scope
func (*Trace_CachePolicy) ProtoMessage ¶
func (*Trace_CachePolicy) ProtoMessage()
func (*Trace_CachePolicy) ProtoReflect ¶
func (x *Trace_CachePolicy) ProtoReflect() protoreflect.Message
func (*Trace_CachePolicy) Reset ¶
func (x *Trace_CachePolicy) Reset()
func (*Trace_CachePolicy) String ¶
func (x *Trace_CachePolicy) String() string
type Trace_CachePolicy_Scope ¶
type Trace_CachePolicy_Scope int32
const ( Trace_CachePolicy_UNKNOWN Trace_CachePolicy_Scope = 0 Trace_CachePolicy_PUBLIC Trace_CachePolicy_Scope = 1 Trace_CachePolicy_PRIVATE Trace_CachePolicy_Scope = 2 )
func (Trace_CachePolicy_Scope) Descriptor ¶
func (Trace_CachePolicy_Scope) Descriptor() protoreflect.EnumDescriptor
func (Trace_CachePolicy_Scope) Enum ¶
func (x Trace_CachePolicy_Scope) Enum() *Trace_CachePolicy_Scope
func (Trace_CachePolicy_Scope) EnumDescriptor
deprecated
func (Trace_CachePolicy_Scope) EnumDescriptor() ([]byte, []int)
Deprecated: Use Trace_CachePolicy_Scope.Descriptor instead.
func (Trace_CachePolicy_Scope) Number ¶
func (x Trace_CachePolicy_Scope) Number() protoreflect.EnumNumber
func (Trace_CachePolicy_Scope) String ¶
func (x Trace_CachePolicy_Scope) String() string
func (Trace_CachePolicy_Scope) Type ¶
func (Trace_CachePolicy_Scope) Type() protoreflect.EnumType
type Trace_Details ¶
type Trace_Details struct { // The variables associated with this query (unless the reporting agent is // configured to keep them all private). Values are JSON: ie, strings are // enclosed in double quotes, etc. The value of a private variable is // the empty string. VariablesJson map[string]string `` /* 188-byte string literal not displayed */ // This is deprecated and only used for legacy applications // don't include this in traces inside a FullTracesReport; the operation // name for these traces comes from the key of the traces_per_query map. OperationName string `protobuf:"bytes,3,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` // contains filtered or unexported fields }
func (*Trace_Details) Descriptor
deprecated
func (*Trace_Details) Descriptor() ([]byte, []int)
Deprecated: Use Trace_Details.ProtoReflect.Descriptor instead.
func (*Trace_Details) GetOperationName ¶
func (x *Trace_Details) GetOperationName() string
func (*Trace_Details) GetVariablesJson ¶
func (x *Trace_Details) GetVariablesJson() map[string]string
func (*Trace_Details) ProtoMessage ¶
func (*Trace_Details) ProtoMessage()
func (*Trace_Details) ProtoReflect ¶
func (x *Trace_Details) ProtoReflect() protoreflect.Message
func (*Trace_Details) Reset ¶
func (x *Trace_Details) Reset()
func (*Trace_Details) String ¶
func (x *Trace_Details) String() string
type Trace_Error ¶
type Trace_Error struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // required Location []*Trace_Location `protobuf:"bytes,2,rep,name=location,proto3" json:"location,omitempty"` TimeNs uint64 `protobuf:"varint,3,opt,name=time_ns,json=timeNs,proto3" json:"time_ns,omitempty"` Json string `protobuf:"bytes,4,opt,name=json,proto3" json:"json,omitempty"` // contains filtered or unexported fields }
func (*Trace_Error) Descriptor
deprecated
func (*Trace_Error) Descriptor() ([]byte, []int)
Deprecated: Use Trace_Error.ProtoReflect.Descriptor instead.
func (*Trace_Error) GetJson ¶
func (x *Trace_Error) GetJson() string
func (*Trace_Error) GetLocation ¶
func (x *Trace_Error) GetLocation() []*Trace_Location
func (*Trace_Error) GetMessage ¶
func (x *Trace_Error) GetMessage() string
func (*Trace_Error) GetTimeNs ¶
func (x *Trace_Error) GetTimeNs() uint64
func (*Trace_Error) ProtoMessage ¶
func (*Trace_Error) ProtoMessage()
func (*Trace_Error) ProtoReflect ¶
func (x *Trace_Error) ProtoReflect() protoreflect.Message
func (*Trace_Error) Reset ¶
func (x *Trace_Error) Reset()
func (*Trace_Error) String ¶
func (x *Trace_Error) String() string
type Trace_HTTP ¶
type Trace_HTTP struct { Method Trace_HTTP_Method `protobuf:"varint,1,opt,name=method,proto3,enum=Trace_HTTP_Method" json:"method,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // Should exclude manual blacklist ("Auth" by default) RequestHeaders map[string]*Trace_HTTP_Values `` /* 191-byte string literal not displayed */ ResponseHeaders map[string]*Trace_HTTP_Values `` /* 194-byte string literal not displayed */ StatusCode uint32 `protobuf:"varint,6,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Secure bool `protobuf:"varint,8,opt,name=secure,proto3" json:"secure,omitempty"` // TLS was used Protocol string `protobuf:"bytes,9,opt,name=protocol,proto3" json:"protocol,omitempty"` // by convention "HTTP/1.0", "HTTP/1.1", "HTTP/2" or "h2" // contains filtered or unexported fields }
func (*Trace_HTTP) Descriptor
deprecated
func (*Trace_HTTP) Descriptor() ([]byte, []int)
Deprecated: Use Trace_HTTP.ProtoReflect.Descriptor instead.
func (*Trace_HTTP) GetHost ¶
func (x *Trace_HTTP) GetHost() string
func (*Trace_HTTP) GetMethod ¶
func (x *Trace_HTTP) GetMethod() Trace_HTTP_Method
func (*Trace_HTTP) GetPath ¶
func (x *Trace_HTTP) GetPath() string
func (*Trace_HTTP) GetProtocol ¶
func (x *Trace_HTTP) GetProtocol() string
func (*Trace_HTTP) GetRequestHeaders ¶
func (x *Trace_HTTP) GetRequestHeaders() map[string]*Trace_HTTP_Values
func (*Trace_HTTP) GetResponseHeaders ¶
func (x *Trace_HTTP) GetResponseHeaders() map[string]*Trace_HTTP_Values
func (*Trace_HTTP) GetSecure ¶
func (x *Trace_HTTP) GetSecure() bool
func (*Trace_HTTP) GetStatusCode ¶
func (x *Trace_HTTP) GetStatusCode() uint32
func (*Trace_HTTP) ProtoMessage ¶
func (*Trace_HTTP) ProtoMessage()
func (*Trace_HTTP) ProtoReflect ¶
func (x *Trace_HTTP) ProtoReflect() protoreflect.Message
func (*Trace_HTTP) Reset ¶
func (x *Trace_HTTP) Reset()
func (*Trace_HTTP) String ¶
func (x *Trace_HTTP) String() string
type Trace_HTTP_Method ¶
type Trace_HTTP_Method int32
const ( Trace_HTTP_UNKNOWN Trace_HTTP_Method = 0 Trace_HTTP_OPTIONS Trace_HTTP_Method = 1 Trace_HTTP_GET Trace_HTTP_Method = 2 Trace_HTTP_HEAD Trace_HTTP_Method = 3 Trace_HTTP_POST Trace_HTTP_Method = 4 Trace_HTTP_PUT Trace_HTTP_Method = 5 Trace_HTTP_DELETE Trace_HTTP_Method = 6 Trace_HTTP_TRACE Trace_HTTP_Method = 7 Trace_HTTP_CONNECT Trace_HTTP_Method = 8 Trace_HTTP_PATCH Trace_HTTP_Method = 9 )
func (Trace_HTTP_Method) Descriptor ¶
func (Trace_HTTP_Method) Descriptor() protoreflect.EnumDescriptor
func (Trace_HTTP_Method) Enum ¶
func (x Trace_HTTP_Method) Enum() *Trace_HTTP_Method
func (Trace_HTTP_Method) EnumDescriptor
deprecated
func (Trace_HTTP_Method) EnumDescriptor() ([]byte, []int)
Deprecated: Use Trace_HTTP_Method.Descriptor instead.
func (Trace_HTTP_Method) Number ¶
func (x Trace_HTTP_Method) Number() protoreflect.EnumNumber
func (Trace_HTTP_Method) String ¶
func (x Trace_HTTP_Method) String() string
func (Trace_HTTP_Method) Type ¶
func (Trace_HTTP_Method) Type() protoreflect.EnumType
type Trace_HTTP_Values ¶
type Trace_HTTP_Values struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Trace_HTTP_Values) Descriptor
deprecated
func (*Trace_HTTP_Values) Descriptor() ([]byte, []int)
Deprecated: Use Trace_HTTP_Values.ProtoReflect.Descriptor instead.
func (*Trace_HTTP_Values) GetValue ¶
func (x *Trace_HTTP_Values) GetValue() []string
func (*Trace_HTTP_Values) ProtoMessage ¶
func (*Trace_HTTP_Values) ProtoMessage()
func (*Trace_HTTP_Values) ProtoReflect ¶
func (x *Trace_HTTP_Values) ProtoReflect() protoreflect.Message
func (*Trace_HTTP_Values) Reset ¶
func (x *Trace_HTTP_Values) Reset()
func (*Trace_HTTP_Values) String ¶
func (x *Trace_HTTP_Values) String() string
type Trace_Location ¶
type Trace_Location struct { Line uint32 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"` Column uint32 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"` // contains filtered or unexported fields }
func (*Trace_Location) Descriptor
deprecated
func (*Trace_Location) Descriptor() ([]byte, []int)
Deprecated: Use Trace_Location.ProtoReflect.Descriptor instead.
func (*Trace_Location) GetColumn ¶
func (x *Trace_Location) GetColumn() uint32
func (*Trace_Location) GetLine ¶
func (x *Trace_Location) GetLine() uint32
func (*Trace_Location) ProtoMessage ¶
func (*Trace_Location) ProtoMessage()
func (*Trace_Location) ProtoReflect ¶
func (x *Trace_Location) ProtoReflect() protoreflect.Message
func (*Trace_Location) Reset ¶
func (x *Trace_Location) Reset()
func (*Trace_Location) String ¶
func (x *Trace_Location) String() string
type Trace_Node ¶
type Trace_Node struct { // The name of the field (for Nodes representing a resolver call) or the // index in a list (for intermediate Nodes representing elements of a list). // field_name is the name of the field as it appears in the GraphQL // response: ie, it may be an alias. (In that case, the original_field_name // field holds the actual field name from the schema.) In any context where // we're building up a path, we use the response_name rather than the // original_field_name. // // Types that are assignable to Id: // *Trace_Node_ResponseName // *Trace_Node_Index Id isTrace_Node_Id `protobuf_oneof:"id"` OriginalFieldName string `protobuf:"bytes,14,opt,name=original_field_name,json=originalFieldName,proto3" json:"original_field_name,omitempty"` // The field's return type; e.g. "String!" for User.email:String! Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // The field's parent type; e.g. "User" for User.email:String! ParentType string `protobuf:"bytes,13,opt,name=parent_type,json=parentType,proto3" json:"parent_type,omitempty"` CachePolicy *Trace_CachePolicy `protobuf:"bytes,5,opt,name=cache_policy,json=cachePolicy,proto3" json:"cache_policy,omitempty"` // relative to the trace's start_time, in ns StartTime uint64 `protobuf:"varint,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // relative to the trace's start_time, in ns EndTime uint64 `protobuf:"varint,9,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Error []*Trace_Error `protobuf:"bytes,11,rep,name=error,proto3" json:"error,omitempty"` Child []*Trace_Node `protobuf:"bytes,12,rep,name=child,proto3" json:"child,omitempty"` // contains filtered or unexported fields }
We store information on each resolver execution as a Node on a tree. The structure of the tree corresponds to the structure of the GraphQL response; it does not indicate the order in which resolvers were invoked. Note that nodes representing indexes (and the root node) don't contain all Node fields (eg types and times).
func (*Trace_Node) Descriptor
deprecated
func (*Trace_Node) Descriptor() ([]byte, []int)
Deprecated: Use Trace_Node.ProtoReflect.Descriptor instead.
func (*Trace_Node) GetCachePolicy ¶
func (x *Trace_Node) GetCachePolicy() *Trace_CachePolicy
func (*Trace_Node) GetChild ¶
func (x *Trace_Node) GetChild() []*Trace_Node
func (*Trace_Node) GetEndTime ¶
func (x *Trace_Node) GetEndTime() uint64
func (*Trace_Node) GetError ¶
func (x *Trace_Node) GetError() []*Trace_Error
func (*Trace_Node) GetId ¶
func (m *Trace_Node) GetId() isTrace_Node_Id
func (*Trace_Node) GetIndex ¶
func (x *Trace_Node) GetIndex() uint32
func (*Trace_Node) GetOriginalFieldName ¶
func (x *Trace_Node) GetOriginalFieldName() string
func (*Trace_Node) GetParentType ¶
func (x *Trace_Node) GetParentType() string
func (*Trace_Node) GetResponseName ¶
func (x *Trace_Node) GetResponseName() string
func (*Trace_Node) GetStartTime ¶
func (x *Trace_Node) GetStartTime() uint64
func (*Trace_Node) GetType ¶
func (x *Trace_Node) GetType() string
func (*Trace_Node) ProtoMessage ¶
func (*Trace_Node) ProtoMessage()
func (*Trace_Node) ProtoReflect ¶
func (x *Trace_Node) ProtoReflect() protoreflect.Message
func (*Trace_Node) Reset ¶
func (x *Trace_Node) Reset()
func (*Trace_Node) String ¶
func (x *Trace_Node) String() string
type Trace_Node_Index ¶
type Trace_Node_Index struct {
Index uint32 `protobuf:"varint,2,opt,name=index,proto3,oneof"`
}
type Trace_Node_ResponseName ¶
type Trace_Node_ResponseName struct {
ResponseName string `protobuf:"bytes,1,opt,name=response_name,json=responseName,proto3,oneof"`
}
type Trace_QueryPlanNode ¶
type Trace_QueryPlanNode struct { // Types that are assignable to Node: // *Trace_QueryPlanNode_Sequence // *Trace_QueryPlanNode_Parallel // *Trace_QueryPlanNode_Fetch // *Trace_QueryPlanNode_Flatten Node isTrace_QueryPlanNode_Node `protobuf_oneof:"node"` // contains filtered or unexported fields }
represents a node in the query plan, under which there is a trace tree for that service fetch. In particular, each fetch node represents a call to an implementing service, and calls to implementing services may not be unique. See https://github.com/apollographql/apollo-server/blob/main/packages/apollo-gateway/src/QueryPlan.ts for more information and details.
func (*Trace_QueryPlanNode) Descriptor
deprecated
func (*Trace_QueryPlanNode) Descriptor() ([]byte, []int)
Deprecated: Use Trace_QueryPlanNode.ProtoReflect.Descriptor instead.
func (*Trace_QueryPlanNode) GetFetch ¶
func (x *Trace_QueryPlanNode) GetFetch() *Trace_QueryPlanNode_FetchNode
func (*Trace_QueryPlanNode) GetFlatten ¶
func (x *Trace_QueryPlanNode) GetFlatten() *Trace_QueryPlanNode_FlattenNode
func (*Trace_QueryPlanNode) GetNode ¶
func (m *Trace_QueryPlanNode) GetNode() isTrace_QueryPlanNode_Node
func (*Trace_QueryPlanNode) GetParallel ¶
func (x *Trace_QueryPlanNode) GetParallel() *Trace_QueryPlanNode_ParallelNode
func (*Trace_QueryPlanNode) GetSequence ¶
func (x *Trace_QueryPlanNode) GetSequence() *Trace_QueryPlanNode_SequenceNode
func (*Trace_QueryPlanNode) ProtoMessage ¶
func (*Trace_QueryPlanNode) ProtoMessage()
func (*Trace_QueryPlanNode) ProtoReflect ¶
func (x *Trace_QueryPlanNode) ProtoReflect() protoreflect.Message
func (*Trace_QueryPlanNode) Reset ¶
func (x *Trace_QueryPlanNode) Reset()
func (*Trace_QueryPlanNode) String ¶
func (x *Trace_QueryPlanNode) String() string
type Trace_QueryPlanNode_Fetch ¶
type Trace_QueryPlanNode_Fetch struct {
Fetch *Trace_QueryPlanNode_FetchNode `protobuf:"bytes,3,opt,name=fetch,proto3,oneof"`
}
type Trace_QueryPlanNode_FetchNode ¶
type Trace_QueryPlanNode_FetchNode struct { // XXX When we want to include more details about the sub-operation that was // executed against this service, we should include that here in each fetch node. // This might include an operation signature, requires directive, reference resolutions, etc. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` TraceParsingFailed bool `protobuf:"varint,2,opt,name=trace_parsing_failed,json=traceParsingFailed,proto3" json:"trace_parsing_failed,omitempty"` // This Trace only contains start_time, end_time, duration_ns, and root; // all timings were calculated **on the federated service**, and clock skew // will be handled by the ingress server. Trace *Trace `protobuf:"bytes,3,opt,name=trace,proto3" json:"trace,omitempty"` // relative to the outer trace's start_time, in ns, measured in the gateway. SentTimeOffset uint64 `protobuf:"varint,4,opt,name=sent_time_offset,json=sentTimeOffset,proto3" json:"sent_time_offset,omitempty"` // Wallclock times measured in the gateway for when this operation was // sent and received. SentTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=sent_time,json=sentTime,proto3" json:"sent_time,omitempty"` ReceivedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=received_time,json=receivedTime,proto3" json:"received_time,omitempty"` // contains filtered or unexported fields }
This represents a node to send an operation to an implementing service
func (*Trace_QueryPlanNode_FetchNode) Descriptor
deprecated
func (*Trace_QueryPlanNode_FetchNode) Descriptor() ([]byte, []int)
Deprecated: Use Trace_QueryPlanNode_FetchNode.ProtoReflect.Descriptor instead.
func (*Trace_QueryPlanNode_FetchNode) GetReceivedTime ¶
func (x *Trace_QueryPlanNode_FetchNode) GetReceivedTime() *timestamppb.Timestamp
func (*Trace_QueryPlanNode_FetchNode) GetSentTime ¶
func (x *Trace_QueryPlanNode_FetchNode) GetSentTime() *timestamppb.Timestamp
func (*Trace_QueryPlanNode_FetchNode) GetSentTimeOffset ¶
func (x *Trace_QueryPlanNode_FetchNode) GetSentTimeOffset() uint64
func (*Trace_QueryPlanNode_FetchNode) GetServiceName ¶
func (x *Trace_QueryPlanNode_FetchNode) GetServiceName() string
func (*Trace_QueryPlanNode_FetchNode) GetTrace ¶
func (x *Trace_QueryPlanNode_FetchNode) GetTrace() *Trace
func (*Trace_QueryPlanNode_FetchNode) GetTraceParsingFailed ¶
func (x *Trace_QueryPlanNode_FetchNode) GetTraceParsingFailed() bool
func (*Trace_QueryPlanNode_FetchNode) ProtoMessage ¶
func (*Trace_QueryPlanNode_FetchNode) ProtoMessage()
func (*Trace_QueryPlanNode_FetchNode) ProtoReflect ¶
func (x *Trace_QueryPlanNode_FetchNode) ProtoReflect() protoreflect.Message
func (*Trace_QueryPlanNode_FetchNode) Reset ¶
func (x *Trace_QueryPlanNode_FetchNode) Reset()
func (*Trace_QueryPlanNode_FetchNode) String ¶
func (x *Trace_QueryPlanNode_FetchNode) String() string
type Trace_QueryPlanNode_Flatten ¶
type Trace_QueryPlanNode_Flatten struct {
Flatten *Trace_QueryPlanNode_FlattenNode `protobuf:"bytes,4,opt,name=flatten,proto3,oneof"`
}
type Trace_QueryPlanNode_FlattenNode ¶
type Trace_QueryPlanNode_FlattenNode struct { ResponsePath []*Trace_QueryPlanNode_ResponsePathElement `protobuf:"bytes,1,rep,name=response_path,json=responsePath,proto3" json:"response_path,omitempty"` Node *Trace_QueryPlanNode `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
This node represents a way to reach into the response path and attach related entities. XXX Flatten is really not the right name and this node may be renamed in the query planner.
func (*Trace_QueryPlanNode_FlattenNode) Descriptor
deprecated
func (*Trace_QueryPlanNode_FlattenNode) Descriptor() ([]byte, []int)
Deprecated: Use Trace_QueryPlanNode_FlattenNode.ProtoReflect.Descriptor instead.
func (*Trace_QueryPlanNode_FlattenNode) GetNode ¶
func (x *Trace_QueryPlanNode_FlattenNode) GetNode() *Trace_QueryPlanNode
func (*Trace_QueryPlanNode_FlattenNode) GetResponsePath ¶
func (x *Trace_QueryPlanNode_FlattenNode) GetResponsePath() []*Trace_QueryPlanNode_ResponsePathElement
func (*Trace_QueryPlanNode_FlattenNode) ProtoMessage ¶
func (*Trace_QueryPlanNode_FlattenNode) ProtoMessage()
func (*Trace_QueryPlanNode_FlattenNode) ProtoReflect ¶
func (x *Trace_QueryPlanNode_FlattenNode) ProtoReflect() protoreflect.Message
func (*Trace_QueryPlanNode_FlattenNode) Reset ¶
func (x *Trace_QueryPlanNode_FlattenNode) Reset()
func (*Trace_QueryPlanNode_FlattenNode) String ¶
func (x *Trace_QueryPlanNode_FlattenNode) String() string
type Trace_QueryPlanNode_Parallel ¶
type Trace_QueryPlanNode_Parallel struct {
Parallel *Trace_QueryPlanNode_ParallelNode `protobuf:"bytes,2,opt,name=parallel,proto3,oneof"`
}
type Trace_QueryPlanNode_ParallelNode ¶
type Trace_QueryPlanNode_ParallelNode struct { Nodes []*Trace_QueryPlanNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
This represents a set of nodes to be executed in parallel by the Gateway executor
func (*Trace_QueryPlanNode_ParallelNode) Descriptor
deprecated
func (*Trace_QueryPlanNode_ParallelNode) Descriptor() ([]byte, []int)
Deprecated: Use Trace_QueryPlanNode_ParallelNode.ProtoReflect.Descriptor instead.
func (*Trace_QueryPlanNode_ParallelNode) GetNodes ¶
func (x *Trace_QueryPlanNode_ParallelNode) GetNodes() []*Trace_QueryPlanNode
func (*Trace_QueryPlanNode_ParallelNode) ProtoMessage ¶
func (*Trace_QueryPlanNode_ParallelNode) ProtoMessage()
func (*Trace_QueryPlanNode_ParallelNode) ProtoReflect ¶
func (x *Trace_QueryPlanNode_ParallelNode) ProtoReflect() protoreflect.Message
func (*Trace_QueryPlanNode_ParallelNode) Reset ¶
func (x *Trace_QueryPlanNode_ParallelNode) Reset()
func (*Trace_QueryPlanNode_ParallelNode) String ¶
func (x *Trace_QueryPlanNode_ParallelNode) String() string
type Trace_QueryPlanNode_ResponsePathElement ¶
type Trace_QueryPlanNode_ResponsePathElement struct { // Types that are assignable to Id: // *Trace_QueryPlanNode_ResponsePathElement_FieldName // *Trace_QueryPlanNode_ResponsePathElement_Index Id isTrace_QueryPlanNode_ResponsePathElement_Id `protobuf_oneof:"id"` // contains filtered or unexported fields }
func (*Trace_QueryPlanNode_ResponsePathElement) Descriptor
deprecated
func (*Trace_QueryPlanNode_ResponsePathElement) Descriptor() ([]byte, []int)
Deprecated: Use Trace_QueryPlanNode_ResponsePathElement.ProtoReflect.Descriptor instead.
func (*Trace_QueryPlanNode_ResponsePathElement) GetFieldName ¶
func (x *Trace_QueryPlanNode_ResponsePathElement) GetFieldName() string
func (*Trace_QueryPlanNode_ResponsePathElement) GetId ¶
func (m *Trace_QueryPlanNode_ResponsePathElement) GetId() isTrace_QueryPlanNode_ResponsePathElement_Id
func (*Trace_QueryPlanNode_ResponsePathElement) GetIndex ¶
func (x *Trace_QueryPlanNode_ResponsePathElement) GetIndex() uint32
func (*Trace_QueryPlanNode_ResponsePathElement) ProtoMessage ¶
func (*Trace_QueryPlanNode_ResponsePathElement) ProtoMessage()
func (*Trace_QueryPlanNode_ResponsePathElement) ProtoReflect ¶
func (x *Trace_QueryPlanNode_ResponsePathElement) ProtoReflect() protoreflect.Message
func (*Trace_QueryPlanNode_ResponsePathElement) Reset ¶
func (x *Trace_QueryPlanNode_ResponsePathElement) Reset()
func (*Trace_QueryPlanNode_ResponsePathElement) String ¶
func (x *Trace_QueryPlanNode_ResponsePathElement) String() string
type Trace_QueryPlanNode_ResponsePathElement_FieldName ¶
type Trace_QueryPlanNode_ResponsePathElement_FieldName struct {
FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3,oneof"`
}
type Trace_QueryPlanNode_ResponsePathElement_Index ¶
type Trace_QueryPlanNode_ResponsePathElement_Index struct {
Index uint32 `protobuf:"varint,2,opt,name=index,proto3,oneof"`
}
type Trace_QueryPlanNode_Sequence ¶
type Trace_QueryPlanNode_Sequence struct {
Sequence *Trace_QueryPlanNode_SequenceNode `protobuf:"bytes,1,opt,name=sequence,proto3,oneof"`
}
type Trace_QueryPlanNode_SequenceNode ¶
type Trace_QueryPlanNode_SequenceNode struct { Nodes []*Trace_QueryPlanNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
This represents a set of nodes to be executed sequentially by the Gateway executor
func (*Trace_QueryPlanNode_SequenceNode) Descriptor
deprecated
func (*Trace_QueryPlanNode_SequenceNode) Descriptor() ([]byte, []int)
Deprecated: Use Trace_QueryPlanNode_SequenceNode.ProtoReflect.Descriptor instead.
func (*Trace_QueryPlanNode_SequenceNode) GetNodes ¶
func (x *Trace_QueryPlanNode_SequenceNode) GetNodes() []*Trace_QueryPlanNode
func (*Trace_QueryPlanNode_SequenceNode) ProtoMessage ¶
func (*Trace_QueryPlanNode_SequenceNode) ProtoMessage()
func (*Trace_QueryPlanNode_SequenceNode) ProtoReflect ¶
func (x *Trace_QueryPlanNode_SequenceNode) ProtoReflect() protoreflect.Message
func (*Trace_QueryPlanNode_SequenceNode) Reset ¶
func (x *Trace_QueryPlanNode_SequenceNode) Reset()
func (*Trace_QueryPlanNode_SequenceNode) String ¶
func (x *Trace_QueryPlanNode_SequenceNode) String() string
type TracesAndStats ¶
type TracesAndStats struct { Trace []*Trace `protobuf:"bytes,1,rep,name=trace,proto3" json:"trace,omitempty"` StatsWithContext []*ContextualizedStats `protobuf:"bytes,2,rep,name=stats_with_context,json=statsWithContext,proto3" json:"stats_with_context,omitempty"` // This field is used to validate that the algorithm used to construct `stats_with_context` // matches similar algorithms in Apollo's servers. It is otherwise ignored and should not // be included in reports. InternalTracesContributingToStats []*Trace `` /* 166-byte string literal not displayed */ // contains filtered or unexported fields }
A sequence of traces and stats. An individual trace should either be counted as a stat or trace
func (*TracesAndStats) Descriptor
deprecated
func (*TracesAndStats) Descriptor() ([]byte, []int)
Deprecated: Use TracesAndStats.ProtoReflect.Descriptor instead.
func (*TracesAndStats) GetInternalTracesContributingToStats ¶
func (x *TracesAndStats) GetInternalTracesContributingToStats() []*Trace
func (*TracesAndStats) GetStatsWithContext ¶
func (x *TracesAndStats) GetStatsWithContext() []*ContextualizedStats
func (*TracesAndStats) GetTrace ¶
func (x *TracesAndStats) GetTrace() []*Trace
func (*TracesAndStats) ProtoMessage ¶
func (*TracesAndStats) ProtoMessage()
func (*TracesAndStats) ProtoReflect ¶
func (x *TracesAndStats) ProtoReflect() protoreflect.Message
func (*TracesAndStats) Reset ¶
func (x *TracesAndStats) Reset()
func (*TracesAndStats) String ¶
func (x *TracesAndStats) String() string
type Type ¶
type Type struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // required; eg "User" for User.email:String! Field []*Field `protobuf:"bytes,2,rep,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
func (*Type) Descriptor
deprecated
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()
func (*Type) ProtoReflect ¶
func (x *Type) ProtoReflect() protoreflect.Message
type TypeStat ¶
type TypeStat struct { // Key is (eg) "email" for User.email:String! PerFieldStat map[string]*FieldStat `` /* 187-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TypeStat) Descriptor
deprecated
func (*TypeStat) GetPerFieldStat ¶
func (*TypeStat) ProtoMessage ¶
func (*TypeStat) ProtoMessage()
func (*TypeStat) ProtoReflect ¶
func (x *TypeStat) ProtoReflect() protoreflect.Message