Skip to content

tarantool/grafana-dashboard

Repository files navigation

Tarantool Grafana dashboard

Dashboard for Tarantool application and database server monitoring, based on grafonnet library.

Our pages on Grafana Official & community built dashboards: InfluxDB, Prometheus.

You can find screenshots and short description of contents on Grafana pages.

How to use

Guide on Tarantool project prerequirements and metrics collectors configuration can be found on corresponding Grafana Official & community built dashboards pages: InfluxDB, Prometheus.

How to import

  1. Open Grafana import menu.

    Grafana import button in v6.6.0

  2. Select one of the following options:

  3. Set dashboard name, folder, uid (if needed), and database-related query parameters (InfluxDB source, measurement and policy or Prometheus source, job and rate() time range).

    Grafana import setup in v6.6.0 for InfluxDB

How to build

Requirements and setup

  1. Install go-jsonnet compiler. We use v0.16.0.

  2. Install jsonnet-bundler package manager.

  3. Install jsonnet package dependencies with jb install.

Experimental cluster

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 example project. We recommend using the exact versions we use in experimental cluster (e.g. Grafana v6.6.0).

How to compile dashboard

You can compile Prometheus dashboard template with

jsonnet -J ./vendor/ ./tarantool/prometheus_dashboard.jsonnet

and InfluxDB dashboard template with

jsonnet -J ./vendor/ ./tarantool/influxdb_dashboard.jsonnet

To save output into output.json file, use

jsonnet -J ./vendor/ ./tarantool/prometheus_dashboard.jsonnet -o ./output.json

and to save output into clipboard, use

jsonnet -J ./vendor/ ./tarantool/prometheus_dashboard.jsonnet | xclip -selection clipboard

Tests

You can run tests with ./tests.sh script. jsonnet and jsonnetfmt must be added to terminal PATH variable.

About

Dashboard for Tarantool application and database server monitoring with Grafana

Topics

Resources

License

Stars

Watchers

Forks

Contributors 11

Languages