promxy
Promxy is an aggregating proxy that unifies multiple Prometheus instances into a single API endpoint, enabling high-availability and cross-shard query aggregation without modifying existing Prometheus infrastructure. It simplifies operations at scale by eliminating the need for multiple data sources in Grafana and allowing queries to span all monitored data.
Key facts
Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.
| Field | Value |
|---|---|
| Repository | jacksontj/promxy |
| Owner | jacksontj |
| Primary language | Go |
| License | MIT — OSI-approved |
| Stars | 1.3k |
| Forks | 157 |
| Open issues | 14 |
| Latest release | v0.0.96 (2026-07-06) |
| Last updated | 2026-07-05 |
| Source | https://github.com/jacksontj/promxy |
What promxy is
Written in Go, Promxy implements a scatter-gather proxy pattern that forwards requests to multiple Prometheus ServerGroups, merges responses, and exposes a Prometheus-compatible `/v1` API. It supports query federation, HA failover (filling gaps when one shard is unavailable), and optional remote_write for recording/alerting rule outputs.
Get the promxy source
Clone the repository and explore it locally.
git clone https://github.com/jacksontj/promxy.gitcd promxy# follow the project's README for install & configurationNeed it deployed, integrated, or customized instead? DEV.co ships production installs.
Best use cases
Implementation considerations
- Promxy must be able to reach all configured Prometheus ServerGroups; network isolation or authentication barriers require proxy configuration per servergroup.
- Configure the `ignore_error` option carefully—by default, unavailable servergroups fail the query (safe for alerting); enabling it silently serves partial data.
- Recording rules and alerting rule outputs require a remote_write target; promxy itself does not store metrics, so define where evaluated rules should be written.
- Scatter-gather queries scale linearly with servergroup count; monitor query latency as you add shards and consider query optimization or result caching if needed.
- Ensure consistent scrape configs and retention across all prometheus instances in a servergroup; mismatches may cause unexpected gaps or inconsistencies in merged results.
When to avoid it — and what to weigh
- Single Prometheus instance — If you operate a single Prometheus server without HA requirements, Promxy adds operational overhead with no benefit.
- High-frequency real-time analytics — Promxy's scatter-gather design inherently adds latency; queries complete at the speed of the slowest backend. For sub-second SLAs or real-time workloads, consider direct Prometheus access.
- Local time-series database write requirements — Promxy has no local TSDB; recording rules require external remote_write backend. If you need local persistence of computed metrics, use native Prometheus instead.
- Highly heterogeneous Prometheus versions — Promxy targets the `/v1` API but features vary by Prometheus version (subqueries, SD options); mixing very old and very new instances may cause inconsistent behavior.
License & commercial use
MIT License. Permissive OSI-approved license permitting commercial use, modification, and redistribution with minimal restrictions.
MIT license explicitly permits commercial use without royalties or special permissions. Typical MIT obligations apply: include license and copyright notice in derivatives. No warranty provided; review Promxy's operational readiness for your SLA requirements independently.
DEV.co evaluation signals
Editorial assessment — not user reviews. Directional, with an explicit confidence level.
| Signal | Assessment |
|---|---|
| Maintenance | Active |
| Documentation | Adequate |
| License clarity | Clear |
| Deployment complexity | Low |
| DEV.co fit | Strong |
| Assessment confidence | High |
Promxy is a network proxy; ensure it is deployed in trusted network segments and that backend Prometheus instances are not exposed to untrusted clients through it. Authentication/TLS between Promxy and backends is configurable but not detailed in provided documentation—review servergroup auth config before production use. No built-in rate limiting or DDoS protection stated; consider reverse-proxy hardening if internet-facing.
Alternatives to consider
Thanos
Provides global query view across Prometheus instances, object storage integration, and long-term retention. More complex but offers query deduplication and compaction; better for large-scale multi-region setups.
VictoriaMetrics + federation
VictoriaMetrics can scrape multiple Prometheus instances and expose a unified API with better performance characteristics. Single-binary deployment; no scatter-gather penalty.
Prometheus native federation
Built-in Prometheus federation (scrape /federate endpoint) avoids external proxy; simpler for small setups but limited aggregation and HA semantics compared to Promxy.
Build on promxy with DEV.co software developers
Promxy simplifies HA setups and multi-shard aggregation. Deploy it as a stateless proxy between Grafana and your Prometheus shards—no changes to existing instances needed. Contact us to review architecture and evaluate fit for your monitoring scale.
Talk to DEV.coRelated open-source tools
Surfaced by semantic similarity across the DEV.co open-source index.
Related on DEV.co
Explore the category and the services that help you build with it.
promxy FAQ
Do I need to modify my Prometheus instances to use Promxy?
What happens when one Prometheus instance goes down?
How does Promxy handle recording rules?
Is Promxy suitable for queries with very large result sets?
Software developers & web developers for hire
DEV.co helps companies turn open-source tools like promxy into production software. Our software development services cover the full lifecycle — architecture, web development, integration, and maintenance — delivered by software developers and web developers who ship. Engage our software development agency to implement or customize it for your open-source observability stack.
Ready to consolidate your Prometheus infrastructure?
Promxy simplifies HA setups and multi-shard aggregation. Deploy it as a stateless proxy between Grafana and your Prometheus shards—no changes to existing instances needed. Contact us to review architecture and evaluate fit for your monitoring scale.