Logging input variables and response body analysis in Hasura Cloud

Hasura
1 min readApr 19, 2021

--

Knowing what someone was asking for, and what they found, are the two critical parts of understanding what your customers want, and thus, your ability to optimize your offerings.

In Hasura cloud, you can turn on the ability (in the monitoring tab) to see what input variables a customer passed in, ie. {topic: "Historical novels on the transatlantic pottery trade"} and what was returned, null.

GraphQL Logging

Because of it’s high degree of flexibility, GraphQL logging can often be highly implementation specific. By capturing query variables, the user defined input of your queries/mutations, you have a robust toolset to understand the full picture of how your users are using your application, product, or service.

In this video, we’ll show you where to find the the logging settings, how to view them, and understand why you would want to perform response body analysis.

NOTE: We will be updating the UI in Hasura Cloud to reflect the ability to ‘Enable Response Body Analysis’ and ‘Capture Query Variables’ in the near future.

Originally published at https://hasura.io on April 19, 2021.

--

--

Hasura
Hasura

Written by Hasura

⚡️ Instant realtime GraphQL APIs! Connect Hasura to your database & data sources (GraphQL, REST & 3rd party API) and get a unified data access layer instantly.

No responses yet