Skip to content

Dashboard for Tarantool application and database server monitoring with Grafana

Notifications You must be signed in to change notification settings

kubicgruenfeld/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.

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

How to import

  • Open Grafana import menu.

Grafana import button in v6.6.0

  • 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).

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

How to compile dashboard

InfluxDB dashboard

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.

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jsonnet 65.5%
  • Lua 27.4%
  • Shell 6.2%
  • Dockerfile 0.9%