absinthe_federation
absinthe_federation copied to clipboard
Support federated tracing
Docs on federated tracing https://www.apollographql.com/docs/federation/metrics/
Proto file: https://github.com/apollographql/apollo-server/blob/main/packages/apollo-reporting-protobuf/src/reports.proto
See example tracing library for absinthe https://github.com/sikanhe/apollo-tracing-elixir
Possible design
-
CreateTrace
document phase that creates a stub%Trace{}
and stuffs it intoblueprint.execution.acc
-
Middleware
that adds a%Trace.Node{}
in theresolution.extensions
for each field that gets resolved -
AccumulateResult
document phase that walks the tree building up the trace hierarchy from the%Resolution{}
structs -
AddExtension
document phase that takes the accumulated result and puts it into theblueprint.result.extensions
Any updates here? Curious if theres been any progress/workarounds people have used to get around this issue. Seems like a must for most production use cases doesn't it?
@abdilaziz-ibrahim we have tracing setup with datadog and open telemetry and are leaning more towards that instead of fleshing this support out