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.
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.
Course Overview Hey, how you doing? My name's Elton, and this is Instrumenting Applications with Metrics for Prometheus, here on Pluralsight. I'm a Microsoft Azure MVP and a Docker Captain. Prometheus has been my go‑to monitoring tool for many years, and I've used it to record metrics for all sorts of applications, from .NET and Java to Node.js and Go. All those languages, and many more, have a Prometheus client library, which you use to add metrics to your own application and provide an endpoint for Prometheus to scrape, and this course shows you how all that works. First, you'll learn how to use a client library and record key metrics, including an information metric with your app version details. Next, you'll see how to add custom application metrics, recording them in code and using patterns like middleware and aspect‑oriented programming. Then you'll learn how metrics collection is different for batch processing, and you'll see how to use the Prometheus Pushgateway. Lastly, you'll learn how to configure Prometheus to scrape your app using dynamic service discovery and relabeling so you don't need to manually update the config file, and you'll see how the metrics we collect over the course can build a powerful Grafana dashboard. So join me and learn how easily you can add detailed monitoring for every component of your application in Instrumental Applications with Metrics for Prometheus, right here on Pluralsight.