Skip to content

Commit 9730fb1

Browse files
Merge pull request #25 from tarantool/14-prometheus-dashboard
Prometheus dashboard
2 parents 9ffd0da + 3cc939b commit 9730fb1

File tree

12 files changed

+2558
-297
lines changed

12 files changed

+2558
-297
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Unreleased
88

9+
## Added
10+
- Dashboard for Prometheus
11+
912
## Changed
1013
- Update metrics version to 0.5.0
1114
- Replace average latency collector with summary collector in example cluster

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,23 @@ Guide on Tarantool project prerequirements and metrics collectors configuration
3838

3939
## How to compile dashboard
4040

41-
### InfluxDB dashboard
41+
You can compile Prometheus dashboard template with
42+
```bash
43+
jsonnet -J ./vendor/ ./tarantool/prometheus_dashboard.jsonnet
44+
```
45+
and InfluxDB dashboard template with
46+
```bash
47+
jsonnet -J ./vendor/ ./tarantool/influxdb_dashboard.jsonnet
48+
```
4249

43-
Compile board template with
50+
To save output into `output.json` file, use
4451
```bash
45-
jsonnet -J ./vendor/ ./tarantool/dashboard.libsonnet -o ./output.json
52+
jsonnet -J ./vendor/ ./tarantool/prometheus_dashboard.jsonnet -o ./output.json
4653
```
47-
to save json template into `output.json` file or
54+
and to save output into clipboard, use
4855
```bash
49-
jsonnet -J ./vendor/ ./tarantool/dashboard.libsonnet | xclip -selection clipboard
56+
jsonnet -J ./vendor/ ./tarantool/prometheus_dashboard.jsonnet | xclip -selection clipboard
5057
```
51-
to put json template into clipboard.
5258

5359
## Tests
5460

0 commit comments

Comments
 (0)