From 483853d5c6385bd9935e70cd3886e233c244bcdc Mon Sep 17 00:00:00 2001 From: Peter Braun Date: Fri, 23 Dec 2022 13:52:36 +0100 Subject: [PATCH] update readme --- README.md | 6 ++++++ example/config.yml | 11 ++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c6a8e51..7b1f0e6 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,14 @@ This tool let's you simulate the data you need and test your queries against it. ## Installation +The latest version: + `GOPROXY=direct go install github.com/pb82/prometheus-toolbox@latest` +A specific version: + +`GOPROXY=direct go install github.com/pb82/prometheus-toolbox@` + ## Starting a local Prometheus instance You can use the included Makefile target: diff --git a/example/config.yml b/example/config.yml index 313f3c7..e8e4370 100644 --- a/example/config.yml +++ b/example/config.yml @@ -1,8 +1,9 @@ --- -interval: 5s +interval: 30s time_series: - - series: up{pod="a"} - values: 1+0x700 - - series: up{pod="b"} + - series: up{pod="database", namespace="backend"} + values: 1+0x100 stream: 1+0 - + - series: memory_usage{namespace="backend"} + values: 200+0x100 + stream: 200+0