What is Promxy and why use it?
masterPromxy is a proxy designed to solve scaling and redundancy challenges in Prometheus deployments. It acts as a single entry point for your metrics, addressing several common pain points encountered when scaling Prometheus horizontally:
- Eliminates Data Holes: Unlike standard load balancing between Prometheus replicas (which causes gaps in graphs during node reboots or failures), Promxy provides seamless data continuity.
- Single Grafana Datasource: Instead of managing multiple Prometheus datasources or using complex 'mixed' sources in Grafana to query across shards/regions, you can point Grafana to a single Promxy endpoint.
- Removes the Need for Aggregation Layers: Promxy replaces the need for complex Prometheus federation/aggregation shards. This reduces the load on your existing shards and eliminates the need to maintain separate alerting rules for an aggregation layer.
- Access Logging: Provides access logs for your metrics queries, which is not natively available in standard Prometheus setups.