Dashboard for Tarantool application and database server monitoring, based on grafonnet library.
Our pages on Grafana Official & community built dashboards: InfluxDB.
You can find screenshots and short description of contents on Grafana pages.
- Open Grafana import menu.
-
Paste dashboard id (
12567
for InfluxDB) or link to dashboard (https://grafana.com/grafana/dashboards/12567 for InfluxDB) or upload json file (download it from Grafana page: InfluxDB; or build it by yourself). -
Set dashboard name, folder, uid (if needed), and metrics database parameters (i.e., InfluxDB source and measurement).
-
Install go-jsonnet compiler. We use v0.16.0.
-
Install jsonnet-bundler package manager.
-
Install jsonnet package dependencies with
jb install
.
docker-compose up -d
will start 5 containers: Tarantool, Telegraf, InfluxDB, Prometheus and Grafana, which build cluster with two fully operational metrics datasources (InfluxDB and Prometheus), extracting metrics from Tarantool instance. We recommend using the exact versions we use in experimental cluster (e.g. Grafana v6.6.0).
Compile board template with
jsonnet -J ./vendor/ ./tarantool/dashboard.libsonnet -o ./output.json
to save json template into output.json
file or
jsonnet -J ./vendor/ ./tarantool/dashboard.libsonnet | xclip -selection clipboard
to put json template into clipboard.
You can run tests with ./tests.sh
script. jsonnet
and jsonnetfmt
must be added to terminal PATH variable.