/aetos-kaukasios

Routes prometheus /api/v1/queryRange requests based on the step size requested.

Primary LanguageGo

Aetos Kaukasios

Routes prometheus /api/v1/queryRange requests based on the step size requested.

Building

It is written in golang and built using gb.

go get github.com/constabulary/gb/...
gb build

Running

Listen on port 8080, send requests under with steps under a day to server1 and send requests with steps less than a week to server2.

BIND_ADDRESS=:8080 URLS=http://server1,http://server2 STEPS=1d,1w bin/aetos-kaukasios