Default package

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ContextualizedQueryLatencyStats

apollo_trace.proto:316

message ContextualizedStats

apollo_trace.proto:406

Used in: TracesAndStats

message ContextualizedTypeStats

apollo_trace.proto:321

message FieldStat

apollo_trace.proto:326

Used in: TypeStat

message PathErrorStats

apollo_trace.proto:282

Used in: QueryLatencyStats

message QueryLatencyStats

apollo_trace.proto:288

Used in: ContextualizedQueryLatencyStats, ContextualizedStats

message ReferencedFieldsForType

apollo_trace.proto:366

Used in: TracesAndStats

message Report

apollo_trace.proto:383

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

message ReportHeader

apollo_trace.proto:259

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.

Used in: Report

message StatsContext

apollo_trace.proto:309

Used in: ContextualizedQueryLatencyStats, ContextualizedStats, ContextualizedTypeStats

message Trace

apollo_trace.proto:6

Used in: Trace.QueryPlanNode.FetchNode, TracesAndStats

message Trace.CachePolicy

apollo_trace.proto:7

Used in: Trace, Node

enum Trace.CachePolicy.Scope

apollo_trace.proto:8

Used in: CachePolicy

message Trace.Details

apollo_trace.proto:18

Used in: Trace

message Trace.Error

apollo_trace.proto:32

Used in: Node

message Trace.HTTP

apollo_trace.proto:39

Used in: Trace

enum Trace.HTTP.Method

apollo_trace.proto:44

Used in: HTTP

message Trace.HTTP.Values

apollo_trace.proto:40

Used in: HTTP

message Trace.Location

apollo_trace.proto:70

Used in: Error

message Trace.Node

apollo_trace.proto:80

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

Used in: Trace

message Trace.QueryPlanNode

apollo_trace.proto:118

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.

Used in: Trace, QueryPlanNode.FlattenNode, QueryPlanNode.ParallelNode, QueryPlanNode.SequenceNode

message Trace.QueryPlanNode.FetchNode

apollo_trace.proto:128

This represents a node to send an operation to an implementing service

Used in: QueryPlanNode

message Trace.QueryPlanNode.FlattenNode

apollo_trace.proto:152

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.

Used in: QueryPlanNode

message Trace.QueryPlanNode.ParallelNode

apollo_trace.proto:124

This represents a set of nodes to be executed in parallel by the Gateway executor

Used in: QueryPlanNode

message Trace.QueryPlanNode.ResponsePathElement

apollo_trace.proto:156

Used in: FlattenNode

message Trace.QueryPlanNode.SequenceNode

apollo_trace.proto:120

This represents a set of nodes to be executed sequentially by the Gateway executor

Used in: QueryPlanNode

message TracesAndStats

apollo_trace.proto:417

A sequence of traces and stats. An individual operation should either be described as a trace or as part of stats, but not both.

Used in: Report

message TypeStat

apollo_trace.proto:360

Used in: ContextualizedStats, ContextualizedTypeStats