Exploring Application Metrics with Dungeons & Dragons

In a recent article on Jaxenter, Erin Schnabel explores what the popular role-playing game Dungeons & Dragons (D&D) has in common with application metrics and frameworks like Quarkus and Micrometer. In this deeply detailed article, Schnabel takes readers on an adventure full of monsters, graphs, and metrics.

While simultaneously learning the fundamentals of D&D and preparing a talk on application metrics, Schnabel decided to put the two tasks together. The article recounts her development of Monster Combat, “an application that pits classic D&D monsters against each other using D&D 5E combat rules and application metrics to analyze what happens.”

Schnabel says “Monster Combat has two applications, a Spring Boot application and a Quarkus application that both use the core engine to create and drive encounters and rounds.” 

The article includes many graphs visualizing Schabel’s data, exploring questions such as: 

  • What is the most lethal monster?
  • How many rounds (on average) are in an encounter?
  • How often are attacks successful?
  • What kinds of weapons do the most damage?
  • What is the average amount of damage in any given attack?

Schnabel shares lessons learned from the experience, “both as a new DM trying to understand how D&D works, and as a developer going beyond cut-and-paste examples to use and understand the data I was gathering.” 

Read the complete article at Jaxenter.