Monitoring in Hasura
Tags: monitoring, errorlogging, tracing
Published: 2021-04-26 06:50:33

---
title: Monitoring in Hasura
published: true
date: 2021-04-23 12:26:01 UTC
tags: Monitoring,ErrorLogging,Tracing
canonical_url: https://hasura.io/blog/monitoring-in-hasura/
---

![Monitoring in Hasura](https://hasura.io/blog/content/images/2021/04/monitoring_blog.jpg)

Hasura helps you monitor what matters so that you can optimize your apps, products, and services with precision. With our monitoring tooling sitting in the same infrastructure as the metal running your apps, there's no truer source of metrics than what you can find in your console. Monitoring can also be scoped to specific contributor roles so that an architect or business operations account would only be able to access the monitoring tab and not the underlying API settings or data.

In this post, we'll do a breakdown of the different monitoring sections of the Hasura console.

## Overview

Overview, as the name describes, shows you the general averages of your API. Requests per minute, success rate, average execution time, active subscriptions and number of open websockets (the primary protocol used for subscriptions at the time of writing.) Lastly, it graphs the results so you can can quickly spot spikes and valleys for a more complete picture of your data.

![Monitoring in Hasura](https://hasura.io/blog/content/images/2021/04/cloud.hasura.io_project_92b35949-52b8-4d7e-a344-edd5d7de4786_console_pro.png)<figcaption>Overview Tab</figcaption>

## Errors

Errors are a consolidated view of the specific errors in your project. They are additionally grouped by the most common errors in the window at the bottom of the screen.

![Monitoring in Hasura](https://hasura.io/blog/content/images/2021/04/cloud.hasura.io_project_92b35949-52b8-4d7e-a344-edd5d7de4786_console_pro--6-.png)<figcaption>Errors Tab</figcaption>

## Usage

Usage shows you the entire application usage metrics from the frequency of particular operations, the response size, execution time, and more.

![Monitoring in Hasura](https://hasura.io/blog/content/images/2021/04/cloud.hasura.io_project_92b35949-52b8-4d7e-a344-edd5d7de4786_console_pro--1-.png)<figcaption>Usage Tab</figcaption>

## Operations

Drilling down on more details under errors or usage queries, will lead you to the top-level overview of operations. Operations show you every request coming into Hasura as well as the ability to inspect all parts of the request. Further, you can enable logging query variables and display when null/empty values were returned from the database.

![Monitoring in Hasura](https://hasura.io/blog/content/images/2021/04/cloud.hasura.io_project_92b35949-52b8-4d7e-a344-edd5d7de4786_console_pro--2-.png)<figcaption>Operations Tab</figcaption>

![Monitoring in Hasura](https://hasura.io/blog/content/images/2021/04/cloud.hasura.io_project_92b35949-52b8-4d7e-a344-edd5d7de4786_console_pro--5-.png)<figcaption>Operation inspect view</figcaption>

## Websockets

Websockets show you the active, concurrent, websocket connections to Hasura. You can see if any clients are running unusually long, their health metrics, and how well they are performing.

![Monitoring in Hasura](https://hasura.io/blog/content/images/2021/04/cloud.hasura.io_project_92b35949-52b8-4d7e-a344-edd5d7de4786_console_pro--3-.png)<figcaption>Websockets Tab</figcaption>

## Subscription workers

Subscriptions are the other half of the websocket analysis as these two are typically bundled together. Subscription workers show you what is being queried, what the responses are, the payload size, and again how many workers are currently running.

![Monitoring in Hasura](https://hasura.io/blog/content/images/2021/04/cloud.hasura.io_project_92b35949-52b8-4d7e-a344-edd5d7de4786_console_pro--4-.png)<figcaption>Subscriptions Tab</figcaption>

You can view the monitoring tab walk through in this attached video.

{% youtube s9L5C5i_JkQ %}<figcaption>Monitoring in Hasura Cloud</figcaption>