You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FTV1 traces are heavy, and we should therefore only send them if they look interesting.
They are already filtered on the server side, but it is a wast of bandwidth to send them in the first place if they are not interesting.
Adds FTV1 support.
A new open telemetry exporter has been added that will convert regular
traces to Apollo traces.
A buffer of spans is collected on the server side which will retain
spans until the root request span is completed.
Once a request is completed the trace will be reconstructed and sent to
Apollo.
Span attributes that are only relevant to Apollo tracing are prefixed
with `apollo_private.` and are filtered out of other APM data.
@glasser Has given some guidance on how we should improve tracing, but
this'll be left to followup tickets as this PR is large and has been
ongoing for a significant period.
- [ ] [Don't send ftv1 traces to free tier
users](#1728).
- [ ] [Only send ftv1 traces that are
interesting](#1729).
As an aside, this PR demonstrates that spans can be used for Apollo
tracing, and that we could move to a native Otel based solution in
future.
Signed-off-by: Benjamin Coenen <[email protected]>
Co-authored-by: bryn <[email protected]>
Co-authored-by: Benjamin Coenen <[email protected]>
Co-authored-by: o0Ignition0o <[email protected]>
Co-authored-by: Coenen Benjamin <[email protected]>
Co-authored-by: Jesse Rosenberger <[email protected]>
Co-authored-by: Gary Pennington <[email protected]>
FTV1 traces are heavy, and we should therefore only send them if they look interesting.
They are already filtered on the server side, but it is a wast of bandwidth to send them in the first place if they are not interesting.
More info here: #1514 (comment)
The text was updated successfully, but these errors were encountered: