Grafana dashboard | Tarantool
Administration / Monitoring / Grafana dashboard
Administration / Monitoring / Grafana dashboard

Grafana dashboard

Grafana dashboard

Tarantool Grafana dashboard is available as part of Grafana Official & community built dashboards. There’s a version for Prometheus data source and one for InfluxDB data source. Tarantool Grafana dashboard is a ready for import template with basic memory, space operations, and HTTP load panels, based on default metrics package functionality.

Dashboard requires using metrics 0.5.0 or newer; 'alias' global label must be set on each instance to properly display panels (e.g. provided with cartridge.roles.metrics role).

../../../_images/Prometheus_dashboard_1.png ../../../_images/Prometheus_dashboard_2.png ../../../_images/Prometheus_dashboard_3.png

Since there are Prometheus and InfluxDB data source Grafana dashboards, you can use

  • Telegraf as a server agent for collecting metrics, InfluxDB as a time series database for storing metrics, and Grafana as a visualization platform; or
  • Prometheus as both a server agent for collecting metrics and a time series database for storing metrics, and Grafana as a visualization platform.

For issues concerning setting up Prometheus, Telegraf, InfluxDB, or Grafana instances please refer to the corresponding project’s documentation.

To collect metrics for Prometheus, first set up metrics output with prometheus format. You can use cartridge.roles.metrics configuration or set up the Prometheus output plugin manually. To start collecting metrics, add a job to Prometheus configuration with each Tarantool instance URI as a target and metrics path as it was configured on Tarantool instances:

  - job_name: "example_project"
      - targets:
        - "example_project:8081"
        - "example_project:8082"
        - "example_project:8083"
    metrics_path: "/metrics/prometheus"

To collect metrics for InfluxDB, use the Telegraf agent. First off, configure Tarantool metrics output in json format with cartridge.roles.metrics configuration or corresponding JSON output plugin. To start collecting metrics, add http input to Telegraf configuration including each Tarantool instance metrics URL:

    urls = [
    timeout = "30s"
    tag_keys = [
    insecure_skip_verify = true
    interval = "10s"
    data_format = "json"
    name_prefix = "example_project_"
    fieldpass = ["value"]

Be sure to include each label key as label_pairs_<key> so it will be extracted with plugin. For example, if you use { state = 'ready' } labels somewhere in metric collectors, add label_pairs_state tag key.

If you connect Telegraf instance to InfluxDB storage, metrics will be stored with "<name_prefix>http" measurement ("example_project_http" in our example).

Open Grafana import menu.


To import a specific dashboard, choose one of the following options:

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


If there’s no data on the graphs, make sure that you have set up datasource and job/measurement correctly.

If there’s no data on the rps graphs on Prometheus table, make sure that your rate time range parameter is at least twice as Prometheus scrape interval.