https://github.com/keep94/wavefront_promql_proxy
https://github.com/keep94/wavefront_promql_proxy
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/keep94/wavefront_promql_proxy
- Owner: keep94
- License: bsd-3-clause
- Created: 2021-02-04T02:07:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-23T20:19:06.000Z (almost 5 years ago)
- Last Synced: 2025-06-05T11:11:34.931Z (about 1 year ago)
- Language: Go
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
wavefront_promql_proxy
======================
A proxy server that sits between a Wavefront server and a PromQL client.
To build the tool:
```sh
$ go build ./cmd/wavefront_promql_proxy
```
To use the proxy, set WAVEFRONT_ADDRESS environment variable to the address
of the Wavefront server, e.g test.wavefront.com. Set the WAVEFRONT_TOKEN
environment variable to the API token. Then run the proxy server. The proxy
server listens on port 9090. Currently it only handles query_range queries
e.g (/api/v1/query_range).
Simply send PromQL query_range requests to
http://localhost:9090/api/v1/query_range
