-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Harkishen Singh <[email protected]>
- Loading branch information
1 parent
0a0dda5
commit 9c54efe
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
prom-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Prom-generator | ||
|
||
Prom-generator is an automated generator for Prometheus metrics and exemplars. You can use this to generate load, | ||
test performance or feature implementation for your Prometheus infrastructure, optionally with a remote-storage system. | ||
|
||
Note: | ||
1. Runs on `http://localhost:9001` | ||
2. Telemetry endpoint is `/metrics` | ||
3. If you want to see exemplar, you will have to provide `"Accept: application/openmetrics-text"` as header in the GET | ||
request to `/metrics` endpoint | ||
|
||
```shell | ||
[hsingh@localhost exemplars-generator]$ ./prom-generator -h | ||
Usage of ./prom-generator: | ||
-evaluate-every duration | ||
Frequency of evaluation of metrics and exemplar. (default 1s) | ||
-num-counters int | ||
Number of counters to be generated. (default 1) | ||
-num-counters-with-exemplars int | ||
Number of counters to be generated with exemplars. (default 1) | ||
-num-gauges int | ||
Number of gauges to be generated. (default 1) | ||
-num-histograms int | ||
Number of histograms to be generated. (default 1) | ||
-num-histograms-with-exemplars int | ||
Number of histograms to be generated with exemplars. (default 1) | ||
|
||
``` |