1. Architecture of Prometheus Server
- Architecture of Prometheus
- How Prometheus Works behind the scenes (Life Cycle)
2. Installation and UI Tour
- Virtual Machine Installation
- Prometheus Installation
- First Look of Prometheus UI
- Understanding Prometheus Configuration File
- Prometheus First Run
3. Exporters – Set 1
- What are Exporters?
- WMI Exporter – Monitoring Windows Systems
4. PromQL – Prometheus Query Language
- Data Types in PromQL
- Selectors & Matchers
- Binary Operators
- ‘ignoring’ and ‘on’ keywords
- Aggregation Operators
- Functions – ‘rate’ & ‘irate’
- Functions – changes, deriv, predict_linear
- Functions continued
5. Client Libraries – Adding Instrumentation to Python Application
- What are Client Libraries and Metric Types
- Python app Boilerplate Code
- Exposing Metrics from Python app using Prometheus Client
- Counter Metrics Exposition
- Adding Labels to Exposed Metrics
- Gauge Metrics Exposition
- Summary Metrics Exposition
- Histogram Metrics Exposition
6. Client Libraries – Instrumenting GO Applications
- GO app Boilerplate Code
- Counter Metrics Exposition
- Gauge Metrics Exposition
- Summary Metrics Exposition
- Histogram Metrics Exposition
7. Quantification of Instrumentation
- What to Instrument?
- How much to Instrument?
8. Recording Rules
- What are Recording Rules?
- Reload Prometheus Configurations on-the-fly
- Writing Recording Rules
- Writing Recording Rules continued
- Add Multiple Rules
- Best Practices for Recording Rules
9. Alerting
- What is Alerting?
- Writing & Firing the first Alert
- ‘for’ clause
- Adding Labels to Alerts
- Installing Alertmanager
- Adding Alert Notifier – Gmail
- Sending Alert Notifications – Gmail
- Templating the Alerts
10. Create Routing Tree for Alerts – Case Study
- Case Study – Problem Statement
- Understanding the Use Case for Routing Tree
- Write Alerting Rules for the Use Case
- Coding the Routing Tree
- Run the Routing Tree
- Grouping the Alerts
- Throttling the Alerts
- Inhibiting the Alerts
- Silencing the Alerts
- ‘continue’ clause
11. PagerDuty & Slack – Alert Notifiers
- Slack integration with Prometheus
- PagerDuty integration with Prometheus
12. Blackbox Exporter & Relabeling
- What is Blackbox exporter
- Download Blackbox exporter
- ‘http’ probe module
- ‘tcp’ & ‘icmp’ probe module
- ‘dns’ probe module
- Scraping targets via Blackbox
- Relabelling
13. Pushgateway
- Introduction to Pushgateway
- Getting Started with Pushgateway
- Push metrics to Pushgateway
- Automate Pushing metrics using Cron job
- Python App pushing metrics to Pushgateway
- Pushgateway Pitfalls
14. Service Discovery
- Introduction to Service Discovery
- Static Service Discovery
- File-based Service Discovery
15. Amazon Cloud (AWS) with Prometheus
- Create Prometheus User in AWS
- Spinning up AWS EC2 instance
- Node Exporter on EC2 instance
- Relabeling the private IP to public
- ‘keep’ and ‘drop’ targets with Relabeling
16. AWS Cloudwatch Exporter
- AWS Cloudwatch & UI tour
- Installation & Configuration
- Running the Cloudwatch Exporter
17. Exporters – Set 2
- ‘mysql’ Exporter
18. Create Custom Exporter
- Introduction
- Creating Target application
- Writing Custom Exporter
19. Prometheus HTTP API
- Running Prometheus with HTTP API
20. Grafana Dashboards
- Grafana Installation
- Adding Data source to Grafana
- Implementing default dashboards of Grafana
- Create Custom Dashboard