Simple play icon Course

Instrumenting Applications with Metrics for Prometheus

by Elton Stoneman

Instrumentation tells you what's going on inside your apps, helping you to see if they're healthy and to track down any problems. This course will teach you how to add metrics to your own apps so you can monitor them with Prometheus and Grafana.

What you'll learn

Applications need to provide a metrics API for Prometheus to read, which contains data on how hard the app is working and what it's actually doing. In this course, Instrumenting Applications with Metrics for Prometheus, you'll learn how to set that up in four major languages - Java, Go, Node.js, and .NET.

First, you'll see how easy it is to add Prometheus support using a client library. Next, you'll learn how to record the custom metrics that are relevant to your apps. Then, you'll see how to integrate monitoring with batch processing jobs. Finally, you'll learn how to collect metrics in Prometheus from distributed components and view them in a Grafana dashboard.

When you're finished with the course, you’ll have the skills and knowledge to add monitoring to your own applications.

About the author

Elton is a 10-time Microsoft MVP, author, trainer and speaker. He spent most of his career as a consultant working in Microsoft technologies, architecting and delivering complex solutions for industry leaders. He has delivered APIs on Azure serving millions of clients daily, Big Data solutions processing billions of events weekly, and cutting-edge solutions powered by containers. Elton's experience with .NET goes from .NET 1.0 running on Windows Server, right up to .NET Core running on Linux. Wh... more

Ready to upskill? Get started