Metric Collection Strategies
Discover various approaches to collecting metrics, including push vs. pull models. Explore common agents and libraries used for metric extraction.
Welcome to Metric Collection!
In this lesson, we'll explore how to gather those valuable metrics we discussed previously. Think of it as setting up the 'ears' and 'eyes' for your system!
Collecting metrics is crucial for understanding how your applications and infrastructure are performing. It helps you quickly spot issues and ensure everything is running smoothly.
Two Main Approaches: Push or Pull
When it comes to getting metrics from your systems, there are two fundamental strategies:
- Push Model: The application or a dedicated agent sends metrics to a central collector.
- Pull Model: A central collector fetches metrics from the applications or agents.
Each approach has its own strengths and weaknesses, which we'll explore next.
All lessons in this course
- Types of Metrics Explained
- Metric Collection Strategies
- Metric Visualization and Alerting
- Metric Cardinality and Labeling Best Practices