Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pb82 committed Dec 23, 2022
1 parent 82614ab commit 483853d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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@<version>`

## Starting a local Prometheus instance

You can use the included Makefile target:
Expand Down
11 changes: 6 additions & 5 deletions example/config.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 483853d

Please sign in to comment.