-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
64e057c
commit 514bb86
Showing
44 changed files
with
2,524 additions
and
1,252 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.