Instrumenting Applications with Metrics for Prometheus
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.
Table of contents
- Introducing Client Libraries and Application Metrics 4m
- Demo: Adding Metrics to a Web Application 5m
- Understanding Common Patterns with Client Libraries 3m
- Demo: Exploring Client Library Metrics 7m
- Adding Custom Metrics to your Applications 4m
- Demo: Recording Application Information 5m
- Module Summary 3m
- Recording Metrics with Middleware and AOP 3m
- Demo: Adding Metrics to the Stock API with the Go Client Library 4m
- Demo: Collecting Metrics with Middleware 6m
- Managing Cardinality in Custom Metrics 4m
- Demo: Adding Metrics to the Products API with the Java Micrometer Library 6m
- Demo: Collecting Metrics with Aspect-oriented Programming 6m
- Module Summary 4m