Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

feat: allow specified public query var values to be exposed in apollo studio #1145

Closed
wants to merge 1 commit into from

Conversation

jpetto
Copy link
Contributor

@jpetto jpetto commented Jan 17, 2024

Goal

allow specified query var values to be displayed in apollo studio (to aid in debugging).

Tickets

Implementation Decisions

decided to do an allow list instead of allowing all for future-proofing against displaying potentially sensitive query vars.

@jpetto jpetto requested a review from a team as a code owner January 17, 2024 18:16
@jpetto jpetto requested review from efixler and kschelonka and removed request for a team January 17, 2024 18:16
@jpetto jpetto force-pushed the MC-422-unmask-query-variables branch from 1b718c8 to 30d613f Compare January 17, 2024 18:19
@jpetto jpetto force-pushed the MC-422-unmask-query-variables branch from 30d613f to 920588f Compare January 17, 2024 18:34
@bassrock
Copy link
Contributor

bassrock commented Jan 17, 2024

While i think this will work, I think it will double report, because the federated gateway is already sending this telemetry to apollo studio

I think you need https://www.apollographql.com/docs/router/configuration/telemetry/apollo-telemetry/#send_variable_values added to https://github.com/Pocket/pocket-monorepo/blob/main/servers/client-api/config/router.yaml

@jpetto jpetto marked this pull request as draft January 17, 2024 18:59
@jpetto
Copy link
Contributor Author

jpetto commented Jan 17, 2024

closing in favor of Pocket/pocket-monorepo#76

@jpetto jpetto closed this Jan 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants