apollographql / federation-jvm

JVM support for Apollo Federation
https://www.apollographql.com/docs/federation/
MIT License
245 stars 65 forks source link

Default to not tracing #368

Closed smyrick closed 7 months ago

smyrick commented 7 months ago

Federation tracing should only be enabled if the Router/Gateway sends the proper ftv1 header and value. We want to default to false so we are not wasting CPU cycles tracking resolvers and building the extensions if it not going to be used

https://www.apollographql.com/docs/federation/metrics/

We need tests. Just making this to start discussion

dariuszkuc commented 7 months ago

Superseded by #370