Tool for pushing OMB test results to thanos-receiver.
It expects json file with results generated by mk-performce-tests.
It only sends these results:
consumeRateendToEndLatencyAvgpublishLatency99pctpublishRat
Tool assumes that it is executed right after OMB test finishes and that samples are taken every 10s. It will add timestamps to samples accordingly.
To build run:
mkdir -p ~/go/src/github.com/jhellar
cd ~/go/src/github.com/jhellar
git clone https://github.com/jhellar/remote-write.git
cd remote-write
makeUsage info:
./remote-write -h
Usage of ./remote-write:
-insecure
TLS insecure skip verify.
-labels string
Additional label:value pairs (separated by comma).
-results string
OMB results json path.
-thanos string
Thanos URL.
-token string
Bearer token.
Example usage:
./remote-write -thanos="http://thanos-receiver-route..." -results="./results.json" -labels="cluster_id:perf_test_cluster_a" -insecure -token="..."