Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial studio agent, client awareness and operation reporting #309

Merged
merged 105 commits into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from 78 commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
f4d71ae
Start exploring options around a studio agent
garypen Dec 14, 2021
b03ead8
Merge branch 'main' into usage-agent
garypen Dec 14, 2021
a1b6439
Experiment some more with various tracing options
garypen Dec 15, 2021
50a24d9
Merge branch 'main' into usage-agent
garypen Dec 15, 2021
083ca02
Some hackery to figure out what is happening
garypen Dec 16, 2021
4822655
Start integrating apollo telemetry client with router
garypen Dec 17, 2021
e5b8f2a
Add enough functionality to automate sending some trace data
garypen Dec 18, 2021
6ff030d
Focus efforts on the OpenTelemetry approach
garypen Dec 20, 2021
faa3272
Merge branch 'main' into usage-agent
garypen Dec 20, 2021
a63748f
Clean up integration of Apollo OT tracing
garypen Dec 20, 2021
85da9eb
Add usage_agent dependency to github repo
garypen Dec 20, 2021
ceff8dc
Revise git dependency for usage_agent
garypen Dec 20, 2021
5c03ffc
Make cargo deny happy
garypen Dec 20, 2021
06a6117
Add a usage server to the router
garypen Dec 20, 2021
f84cdb1
Update versions to pickup usage-agent changes
garypen Jan 4, 2022
c839ec9
Migrate usage-agent to router repo
garypen Jan 4, 2022
9280c35
Try to fix licensing complaints
garypen Jan 4, 2022
8def90a
Merge branch 'main' into usage-agent
garypen Jan 4, 2022
d60aaea
Pin encoding_rs to 0.8.29 and add usage_agent to deny.toml
garypen Jan 4, 2022
de28a3b
Further investigation of work for studio agent functionality
garypen Jan 6, 2022
8abaebc
Fix some complaints about licensing and clippy
garypen Jan 7, 2022
de78fa0
Merge branch 'main' into garypen/66-usage-agent
garypen Jan 7, 2022
24836db
Move telemetry from prepare to execute
garypen Jan 7, 2022
de66553
Throw away the custom logging investigation
garypen Jan 7, 2022
1e374b3
Start thinking about how to propagate client information
garypen Jan 7, 2022
9715096
Clean up some of the logging and fake statistics
garypen Jan 7, 2022
d0b0d45
Replace use of libflate with flate2
garypen Jan 10, 2022
96cea73
Make sure to seek before truncating
garypen Jan 10, 2022
31e2520
Add some sleeping to see if that helps the linux tests to pass
garypen Jan 10, 2022
1a339dc
Make clear what the call to set_global_tracer() is returning
garypen Jan 10, 2022
29a8f42
Merge branch 'main' into garypen/66-usage-agent
garypen Jan 10, 2022
4c370f3
Add support for configurable collectors
garypen Jan 11, 2022
348cb81
Merge branch 'main' into garypen/66-usage-agent
garypen Jan 11, 2022
b33fb06
Do some snapshot updates and tweaking to help cargo xtask all to pass
garypen Jan 11, 2022
4548890
Enable client detail recording
garypen Jan 12, 2022
084f55c
More cleaning up of code and make agent work with jaeger
garypen Jan 13, 2022
63391e4
Re-structure code in bid to figure out what is causing hangs
garypen Jan 17, 2022
8a049fa
resolve issues with configuration change responses
garypen Jan 18, 2022
b00bdda
some polishing
garypen Jan 18, 2022
7e76cf0
Merge branch 'main' into garypen/66-usage-agent
garypen Jan 19, 2022
91d6231
Improve internal server robustness
garypen Jan 19, 2022
f8bcdc9
Add "uname" support for windows
garypen Jan 19, 2022
52c7e09
pull in code review changes for 331/337
garypen Jan 19, 2022
fd82b60
Merge branch 'main' into garypen/66-usage-agent
garypen Jan 19, 2022
ca8f210
Remove hard-coded addresses and improve configurability
garypen Jan 19, 2022
eaa97d8
Add support for studio integration into router configuration
garypen Jan 20, 2022
297d8d1
flush opentelemtry events and clean up some code names
garypen Jan 20, 2022
346cc77
relayer not required if we don't have graph configuration
garypen Jan 20, 2022
244f7a9
add support for retries and triggering transfers
garypen Jan 21, 2022
663ce7b
rename usage-agent to apollo-relay
garypen Jan 21, 2022
e208be1
format the changes I made
garypen Jan 21, 2022
5cefecf
Fix enough stuff to keep xtask all happy
garypen Jan 21, 2022
8cd1ee4
rename server to relay
garypen Jan 21, 2022
ad289e3
Commit to renaming agent/server to relay
garypen Jan 21, 2022
9819840
Improve performance by lowering synchronisation
garypen Jan 24, 2022
d8d630b
Cleanup reqwest interaction a little
garypen Jan 24, 2022
e705d6f
Merge branch 'main' into garypen/66-usage-agent
garypen Jan 24, 2022
c0fafa9
Add support for overriding apollo ingress
garypen Jan 25, 2022
b99d796
code review feedback on backoff Duration
garypen Jan 25, 2022
eee04d9
Introduce DurationHistory struct to help with bucketing
garypen Jan 25, 2022
8cd56ec
port existing TS tests for DurationHistogram
garypen Jan 26, 2022
f0e4bd8
Merge branch 'main' into garypen/66-usage-agent
garypen Jan 26, 2022
99526d0
Improve normalization error reporting
garypen Jan 26, 2022
87314b7
fix bug where usage data is double transferred
garypen Jan 26, 2022
b2a5c28
rename relay to spaceport
garypen Jan 26, 2022
949bf03
improve comments and clean up some redundant cloning
garypen Jan 26, 2022
aaf8ba0
Improve performance and scalability of telemetry
garypen Jan 27, 2022
9e73d28
Merge branch 'main' into garypen/66-usage-agent
garypen Jan 27, 2022
3ffff59
remove comment and stop producing json for tracing subscribers
garypen Jan 27, 2022
8a86a88
move many spans from info to trace
garypen Jan 28, 2022
b87ff86
Move the telemetry recording a bit further up the stack
garypen Jan 28, 2022
3f873b6
Merge branch 'main' into garypen/66-usage-agent
garypen Jan 28, 2022
b2afdc0
Odd, merged with main but Cargo.lock hasn't been updated
garypen Jan 28, 2022
0d86b50
Odd, why is licenses.html not updated
garypen Jan 28, 2022
92988c6
don't report studio keys on debug output
garypen Jan 28, 2022
a2bb359
Final round of cleanup before starting first code review
garypen Jan 31, 2022
7026a33
Merge branch 'main' into garypen/66-usage-agent
garypen Jan 31, 2022
27caf08
some small changes to fit in with code review comments
garypen Jan 31, 2022
25ad732
review comment
garypen Feb 2, 2022
6c5be65
more review comments
garypen Feb 2, 2022
6ff86de
review comments
garypen Feb 2, 2022
a7d7a59
code review comments lead to spaceport re-structure
garypen Feb 2, 2022
220ccaa
address snapshot review comment
garypen Feb 2, 2022
9f2e421
Merge branch 'main' into garypen/66-usage-agent
garypen Feb 2, 2022
fd7f130
reverse out snapshot level change (back to DEBUG)
garypen Feb 2, 2022
6da5f92
use the same cargo versioning approach as other components
garypen Feb 2, 2022
7da9dcc
remember to fix licenses.html after changing cargo.toml
garypen Feb 2, 2022
78d2004
bryn's code review comment about coud location
garypen Feb 3, 2022
07001d2
improve transfer triggering
garypen Feb 3, 2022
1b15dad
Merge branch 'main' into garypen/66-usage-agent
garypen Feb 3, 2022
f1a78a9
remove snapshots which aren't on main
garypen Feb 3, 2022
13565b6
remove all snapshots not on main
garypen Feb 3, 2022
1f6ef44
merged with main so update licenses.html
garypen Feb 3, 2022
03d809b
review comments
garypen Feb 4, 2022
d5b2d7f
more review comments
garypen Feb 4, 2022
2b01014
code review comments
garypen Feb 4, 2022
2b78f00
add support for apollo telemetry when OTLP tracing enabled
garypen Feb 4, 2022
af58cb9
fix various strange errors relating to insta snapshots
garypen Feb 4, 2022
92b6df9
review comments
garypen Feb 4, 2022
d6fb85e
review comments
garypen Feb 4, 2022
2e3efba
remove op_name from normalized query cache
garypen Feb 4, 2022
adb2e7b
review comment to remove Ingress from a comment
garypen Feb 7, 2022
042f837
review comments
garypen Feb 8, 2022
b9ed1b8
address review comments
garypen Feb 8, 2022
2c83393
update comments around set global tracer
garypen Feb 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
rust 1.57.0
rust 1.58.1

nodejs 16.9.1
207 changes: 191 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
default-members = ["apollo-router", "apollo-router-core"]
members = [
"apollo-spaceport",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the name <3 🚀

"apollo-router",
"apollo-router-core",
"apollo-router-benchmarks",
Expand Down
Loading