TypeScript logo but with a P
Patrick Spafford Software Engineer

Featured Demo: Express API Metrics Dashboard


March 1, 2024

views

This page tracks the performance of this site's Node.js Express API, which has the world-breaking task of managing blog post views.

So how does it work? The view counter API records the processing times for different types of requests. It then hands these off to a metrics microservice (a Java Spring Boot application), which writes the data to MongoDB. To generate these graphs, this site gets data from the metrics microservice using GraphQL.