Skip to content

Conversation

@arutkowski00
Copy link
Collaborator

When using Apollo Federated tracing functionality with Apollo Router, Apollo Router did not report the subgraph tracing data to Apollo Studio. Based on Gusto#29 which claims the tracing should use Base64.strict_encode64 so that in JS / Apollo Gateway the decoding is faster, I tried using it with Router and after Router would successfully report the trace data to Apollo Studio.


Original PR: Gusto#296
Original author: @cgriego

```
The implicit block expectation syntax is deprecated, you should pass a block rather than an argument to `expect` to use the provided block expectation matcher or the matcher must implement `supports_value_expectations?`. e.g  `expect { value }.to raise /The _entities resolver tried to load an entity for type "TypeNotInSchema"/` not `expect(value).to raise /The _entities resolver tried to load an entity for type "TypeNotInSchema"/`
```
Apollo Router isn't reporting federated trace data to Apollo Studio when
using `Base64.encode64`, which uses newlines, but does when using strict
encoding which doesn't use newlines.
@arutkowski00 arutkowski00 merged commit 6c86b04 into main Oct 2, 2025
52 of 53 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 2, 2025
## [3.15.1](v3.15.0...v3.15.1) (2025-10-02)

### Bug Fixes

* Apollo Federated Tracing (ftv1) with Apollo Router ([#19](#19)) ([6c86b04](6c86b04))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants