系统架构

介绍Pigsty的系统架构

Architecture

Pigsty is based on open source projects like prometheus, grafana, pg_exporter and follow their best practices.

TL;DR

  • Grafana provides the final user interface, turn metrics into charts.

  • Prometheus scrape, collect metrics and serve queries

  • Exporter (node, postgres, pgbouncer, haproxy) expose server metrics

  • Exporter service are registed into consul, and be discovered by prometheus

  • Read more about pg_exporter

  • Available metrics

最后修改 January 1, 0001