Home / Companies / Moesif / Blog / Post Details
Content Deep Dive

Monitoring GraphQL APIs built with Django and Graphene

Blog post from Moesif

Post Details
Company
Date Published
Author
Keyur Doshi
Word Count
682
Language
English
Hacker News Points
-
Summary

This tutorial guides users through the process of monitoring GraphQL APIs using Moesif API Analytics, assuming prior knowledge of GraphQL and Python with Django and Graphene. It details the installation of the moesifdjango library, integration of middleware by updating the graphene_python/settings.py file, and configuration of the MOESIF_MIDDLEWARE with specific options like application ID, user identification, company identification, metadata addition, and event masking. After setting up, all API calls are captured by Moesif, allowing for detailed analysis and the inclusion of custom metadata, user, and company information. The tutorial concludes with a hands-on example available on GitHub and hints at a subsequent tutorial focusing on pagination.