public static interface Reports.TraceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Reports.Trace.CachePolicy |
getCachePolicy()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18; |
Reports.Trace.CachePolicyOrBuilder |
getCachePolicyOrBuilder()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18; |
java.lang.String |
getClientAddress()
string client_address = 9; |
com.google.protobuf.ByteString |
getClientAddressBytes()
string client_address = 9; |
java.lang.String |
getClientName()
Note: engineproxy always sets client_name, client_version, and client_address to "none".
|
com.google.protobuf.ByteString |
getClientNameBytes()
Note: engineproxy always sets client_name, client_version, and client_address to "none".
|
java.lang.String |
getClientReferenceId()
string client_reference_id = 23; |
com.google.protobuf.ByteString |
getClientReferenceIdBytes()
string client_reference_id = 23; |
java.lang.String |
getClientVersion()
string client_version = 8; |
com.google.protobuf.ByteString |
getClientVersionBytes()
string client_version = 8; |
Reports.Trace.Details |
getDetails()
.mdg.engine.proto.Trace.Details details = 6; |
Reports.Trace.DetailsOrBuilder |
getDetailsOrBuilder()
.mdg.engine.proto.Trace.Details details = 6; |
long |
getDurationNs()
High precision duration of the trace; may not equal end_time-start_time
(eg, if your machine's clock changed during the trace).
|
com.google.protobuf.Timestamp |
getEndTime()
Wallclock time when the trace ended.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Wallclock time when the trace ended.
|
boolean |
getForbiddenOperation()
Was this operation forbidden due to lack of safelisting?
|
boolean |
getFullQueryCacheHit()
Was this response served from a full query response cache? (In that case
the node tree will have no resolvers.)
|
Reports.Trace.HTTP |
getHttp()
.mdg.engine.proto.Trace.HTTP http = 10; |
Reports.Trace.HTTPOrBuilder |
getHttpOrBuilder()
.mdg.engine.proto.Trace.HTTP http = 10; |
java.lang.String |
getLegacySignatureNeedsResigning()
Older agents (eg the Go engineproxy) relied to some degree on the Engine
backend to run their own semi-compatible implementation of a specific
variant of query signatures.
|
com.google.protobuf.ByteString |
getLegacySignatureNeedsResigningBytes()
Older agents (eg the Go engineproxy) relied to some degree on the Engine
backend to run their own semi-compatible implementation of a specific
variant of query signatures.
|
long |
getOriginReportedDurationNs()
uint64 origin_reported_duration_ns = 17; |
com.google.protobuf.Timestamp |
getOriginReportedEndTime()
.google.protobuf.Timestamp origin_reported_end_time = 16; |
com.google.protobuf.TimestampOrBuilder |
getOriginReportedEndTimeOrBuilder()
.google.protobuf.Timestamp origin_reported_end_time = 16; |
com.google.protobuf.Timestamp |
getOriginReportedStartTime()
--------------------------------------------------------------
Fields below this line are only set by the old Go engineproxy.
|
com.google.protobuf.TimestampOrBuilder |
getOriginReportedStartTimeOrBuilder()
--------------------------------------------------------------
Fields below this line are only set by the old Go engineproxy.
|
boolean |
getPersistedQueryHit()
Was this query specified successfully as a persisted query hash?
|
boolean |
getPersistedQueryRegister()
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.)
|
Reports.Trace.QueryPlanNode |
getQueryPlan()
If this Trace was created by a gateway, this is the query plan, including
sub-Traces for federated services.
|
Reports.Trace.QueryPlanNodeOrBuilder |
getQueryPlanOrBuilder()
If this Trace was created by a gateway, this is the query plan, including
sub-Traces for federated services.
|
boolean |
getRegisteredOperation()
Was this operation registered and a part of the safelist?
|
Reports.Trace.Node |
getRoot()
A tree containing information about all resolvers run directly by this
service, including errors.
|
Reports.Trace.NodeOrBuilder |
getRootOrBuilder()
A tree containing information about all resolvers run directly by this
service, including errors.
|
java.lang.String |
getSignature()
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.
|
com.google.protobuf.ByteString |
getSignatureBytes()
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.
|
com.google.protobuf.Timestamp |
getStartTime()
Wallclock time when the trace began.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Wallclock time when the trace began.
|
boolean |
hasCachePolicy()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18; |
boolean |
hasDetails()
.mdg.engine.proto.Trace.Details details = 6; |
boolean |
hasEndTime()
Wallclock time when the trace ended.
|
boolean |
hasHttp()
.mdg.engine.proto.Trace.HTTP http = 10; |
boolean |
hasOriginReportedEndTime()
.google.protobuf.Timestamp origin_reported_end_time = 16; |
boolean |
hasOriginReportedStartTime()
--------------------------------------------------------------
Fields below this line are only set by the old Go engineproxy.
|
boolean |
hasQueryPlan()
If this Trace was created by a gateway, this is the query plan, including
sub-Traces for federated services.
|
boolean |
hasRoot()
A tree containing information about all resolvers run directly by this
service, including errors.
|
boolean |
hasStartTime()
Wallclock time when the trace began.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasStartTime()
Wallclock time when the trace began.
.google.protobuf.Timestamp start_time = 4;com.google.protobuf.Timestamp getStartTime()
Wallclock time when the trace began.
.google.protobuf.Timestamp start_time = 4;com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Wallclock time when the trace began.
.google.protobuf.Timestamp start_time = 4;boolean hasEndTime()
Wallclock time when the trace ended.
.google.protobuf.Timestamp end_time = 3;com.google.protobuf.Timestamp getEndTime()
Wallclock time when the trace ended.
.google.protobuf.Timestamp end_time = 3;com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Wallclock time when the trace ended.
.google.protobuf.Timestamp end_time = 3;long getDurationNs()
High precision duration of the trace; may not equal end_time-start_time (eg, if your machine's clock changed during the trace).
uint64 duration_ns = 11;boolean hasRoot()
A tree containing information about all resolvers run directly by this service, including errors.
.mdg.engine.proto.Trace.Node root = 14;Reports.Trace.Node getRoot()
A tree containing information about all resolvers run directly by this service, including errors.
.mdg.engine.proto.Trace.Node root = 14;Reports.Trace.NodeOrBuilder getRootOrBuilder()
A tree containing information about all resolvers run directly by this service, including errors.
.mdg.engine.proto.Trace.Node root = 14;java.lang.String getSignature()
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.
string signature = 19;com.google.protobuf.ByteString getSignatureBytes()
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.
string signature = 19;boolean hasDetails()
.mdg.engine.proto.Trace.Details details = 6;Reports.Trace.Details getDetails()
.mdg.engine.proto.Trace.Details details = 6;Reports.Trace.DetailsOrBuilder getDetailsOrBuilder()
.mdg.engine.proto.Trace.Details details = 6;java.lang.String getClientName()
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.
string client_name = 7;com.google.protobuf.ByteString getClientNameBytes()
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.
string client_name = 7;java.lang.String getClientVersion()
string client_version = 8;com.google.protobuf.ByteString getClientVersionBytes()
string client_version = 8;java.lang.String getClientAddress()
string client_address = 9;com.google.protobuf.ByteString getClientAddressBytes()
string client_address = 9;java.lang.String getClientReferenceId()
string client_reference_id = 23;com.google.protobuf.ByteString getClientReferenceIdBytes()
string client_reference_id = 23;boolean hasHttp()
.mdg.engine.proto.Trace.HTTP http = 10;Reports.Trace.HTTP getHttp()
.mdg.engine.proto.Trace.HTTP http = 10;Reports.Trace.HTTPOrBuilder getHttpOrBuilder()
.mdg.engine.proto.Trace.HTTP http = 10;boolean hasCachePolicy()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18;Reports.Trace.CachePolicy getCachePolicy()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18;Reports.Trace.CachePolicyOrBuilder getCachePolicyOrBuilder()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18;boolean hasQueryPlan()
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).
.mdg.engine.proto.Trace.QueryPlanNode query_plan = 26;Reports.Trace.QueryPlanNode getQueryPlan()
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).
.mdg.engine.proto.Trace.QueryPlanNode query_plan = 26;Reports.Trace.QueryPlanNodeOrBuilder getQueryPlanOrBuilder()
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).
.mdg.engine.proto.Trace.QueryPlanNode query_plan = 26;boolean getFullQueryCacheHit()
Was this response served from a full query response cache? (In that case the node tree will have no resolvers.)
bool full_query_cache_hit = 20;boolean getPersistedQueryHit()
Was this query specified successfully as a persisted query hash?
bool persisted_query_hit = 21;boolean getPersistedQueryRegister()
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.)
bool persisted_query_register = 22;boolean getRegisteredOperation()
Was this operation registered and a part of the safelist?
bool registered_operation = 24;boolean getForbiddenOperation()
Was this operation forbidden due to lack of safelisting?
bool forbidden_operation = 25;boolean hasOriginReportedStartTime()
-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.
.google.protobuf.Timestamp origin_reported_start_time = 15;com.google.protobuf.Timestamp getOriginReportedStartTime()
-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.
.google.protobuf.Timestamp origin_reported_start_time = 15;com.google.protobuf.TimestampOrBuilder getOriginReportedStartTimeOrBuilder()
-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.
.google.protobuf.Timestamp origin_reported_start_time = 15;boolean hasOriginReportedEndTime()
.google.protobuf.Timestamp origin_reported_end_time = 16;com.google.protobuf.Timestamp getOriginReportedEndTime()
.google.protobuf.Timestamp origin_reported_end_time = 16;com.google.protobuf.TimestampOrBuilder getOriginReportedEndTimeOrBuilder()
.google.protobuf.Timestamp origin_reported_end_time = 16;long getOriginReportedDurationNs()
uint64 origin_reported_duration_ns = 17;java.lang.String getLegacySignatureNeedsResigning()
Older agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures. The backend does not do this for new agents (which set the above 'signature' field). It used to still "re-sign" signatures from engineproxy, but we've now simplified the backend to no longer do this. Deprecated and ignored in FullTracesReports.
string legacy_signature_needs_resigning = 5;com.google.protobuf.ByteString getLegacySignatureNeedsResigningBytes()
Older agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures. The backend does not do this for new agents (which set the above 'signature' field). It used to still "re-sign" signatures from engineproxy, but we've now simplified the backend to no longer do this. Deprecated and ignored in FullTracesReports.
string legacy_signature_needs_resigning = 5;