Using PostgreSQL to Store Prometheus Metrics
summary
Using PostgreSQL to store Prometheus metrics enables full SQL queries and complex analysis that Prometheus’s native TSDB doesn’t provide. The talk covers using pg_prometheus, a Prometheus custom data type, a prometheus-postgresql-adapter and a write adapter to save metrics into PostgreSQL, and scaling with TimescaleDB to handle tens of TBs and billions of rows while adding time-series SQL functions and optimizations.
AI-written summary · about
chapters (18)
- 0:00Introduzione
- 0:32Agenda
- 5:22Prometheus history
- 6:23Prometheus Community
- 7:04Prometheus architecture
- 10:03Integration with
- 11:39Prometheus storage
- 13:40Data model
- 14:33Long term metric storage
- 17:37Setup TimescaleDB
- 19:25Migration
- 21:22pa prometheus - normalization
- 22:13Installation
- 25:36Prometheus solution
- 27:50Prometheus Configuration
- 28:58Concurrency control
- 29:32Postgresql advisory lock
- 30:25Conclusion
