GraphQL query anonymization

GraphCDN GraphQL Analytics anonymizes the query metadata to ensure we can never store any sensitive information.

Firstly, we do not store variables:

# This is what we would store and you would see in the analytics...
query login($email: String!, $password: String!) {
login(email: $email, password: $password)
// ...but we do NOT store variables, ever!
"email": "",
"password": "hunter2"

Further, we automatically turn all hard-coded arguments into variables (which are not stored). For example, with this query:

query signup {
# Hard-coded sensitive data 😱
signup(email: "", password: "hunter2")

You would see the following in your metrics:

# You would see this in your metrics dashboard
# with the two hard-coded arguments automatically replaced by variables
query signup($email1: String!, $password1: String!) {
signup(email: $email1, password: $password1)

Since we do not store variables, the query is completely anonymized with no sensitive data leaking, ever.