Avalanche serves a text-based Prometheus metrics endpoint for load testing Prometheus and possibly other OpenMetrics consumers.
Avalanche also supports load testing for services accepting data via Prometheus remote_write API such as Thanos, Cortex, M3DB, VictoriaMetrics and other services listed here.
Metric names and unique series change over time to simulate series churn.
Checkout the blog post.
avalanche --help
docker run quay.io/freshtracks.io/avalanche --help
Two endpoints are available :
port/metrics
- metrics endpoint2112/stats
- stats endpointport/health
- healthcheck endpoint
mkdir -p $GOROOT/github.com/open-fresh
cd $GOROOT/github.com/open-fresh
git clone https://github.com/mnottheone/avalanche.git
go install github.com/open-fresh/avalanche/cmd/...
cmd --help
## Example
cmd --remote-url=http://host:port/api/v1/remote_write --remote-read-url=http://host:port/api/v1/query --metric-count=10 --label-count=1 --series-count=100 --value-interval=10 --series-interval=360000 --metric-interval=360000 --remote-requests-count=100000 --remote-write-interval=1000ms --const-label=instance=local --remote-read-batch-size=50 --remote-read-requests-count=500 --remote-read-interval=10s