Monitoring Graphene Django Python GraphQL API Using Sentry
Read about How To Set Up Sentry With Your Python GraphQL API In 5 Minutes
Published in
5 min readMar 15, 2021
As engineering teams are adopting CI/CD practices, software products are getting delivered faster than ever. Error monitoring comes in handy as it provides developers the confidence to deploy faster while knowing there’s a safety net watching their deployments.
On top of that, having error monitoring helps developers to fix and debug errors faster, in order words, developers can spend more quality time building new high-quality features.
The goal of this post is to document and share some of the issues and tips that I have learned while I was working on setting up Sentry monitoring with Django Graphene projects.
By the end of this post, you would be able to know:
- How to hide or ignore
Traceback (most recent call last)
logger errors - How to log Sentry errors with Django Graphene using middleware
- How to monitor your GraphQL query performance on Sentry
- How to log each GraphQL operation correctly on Sentry