Federation tracing should only be enabled if the Router/Gateway sends the proper ftv1 header and value. Currently trace data is generated even if the header is not specified which leads to unnecessary computations of data that will ultimately be discarded by the Router/Gateway.... If header is not specified, we should default to false to avoid those unnecessary computations.
Federation tracing should only be enabled if the Router/Gateway sends the proper
ftv1
header and value. Currently trace data is generated even if the header is not specified which leads to unnecessary computations of data that will ultimately be discarded by the Router/Gateway.... If header is not specified, we should default tofalse
to avoid those unnecessary computations.See: https://www.apollographql.com/docs/federation/metrics/
Supersedes: https://github.com/apollographql/federation-jvm/pull/368