DEV Community

Hasura for Hasura

Posted on • Originally published at hasura.io on

Logging input variables and response body analysis in Hasura Cloud

Logging input variables and response body analysis in Hasura Cloud

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.

Top comments (0)