Prometheus proxy that rewrites queries on the fly, passing them on to another Prometheus instance.
Status: Entirely alpha, with a bunch of issues left to fix for the reader.
$ go run .
2023/03/02 11:12:07 Listening on http://localhost:19090
This runs the proxy at http://localhost:19090, rewriting queries as configured in config.yaml
and passes them on to http://localhost:9090.
Alternatively, you can run the pre-built docker image:
docker run -it --rm -v $PWD/config.yaml:/config.yaml -p 19090:19090 ghcr.io/spreadshirt/prom-revisionist:0.0.1-alpha2 -config /config.yaml
Example config rewriting Jaeger Monitor queries to work with different metrics than the ones generated by spanmetricsprocessor.
This project is licensed under the MIT License.