tarantool / grafana-dashboard

Dashboard for Tarantool application and database server monitoring with Grafana
MIT License
34 stars 11 forks source link

TDG (ver. 2) dashboard #148

Closed DifferentialOrange closed 2 years ago

DifferentialOrange commented 2 years ago

This pull request introduces Tarantool Data Grid ver. 2 dashboard templates.

Although some docker-compose and configuration files were added, this PR do not adds a simple functionality to fill all graphs with data: this task is complicated and time-consuming. Almost everything thing was verified manually/semi-automatically, additional verifications will be performed with real TDG applications. Because of the same reason, some commits are missing illustration and most of them are illustrated poorly.

example_cluster: add TDG2 + kafka cluster draft

Add docker-compose file for cluster with TDG2 application. To start it, you'll need a pre-build TDG2 image. Add TDG configuration example for simple Kafka activity. Add Telegraf example for TDG2 application (for now, only Kafka labels are considered).

tdg_dashboard: add TDG2 dashboard with Kafka panels

image image

Add TDG2 Kafka sections:

"TDG Kafka common statistics" section consists of graphs with following metrics:

"TDG Kafka brokers statistics" section consists of graphs with following metrics:

"TDG Kafka topics statistics" section consists of graphs with following metrics:

"TDG Kafka consumer statistics" section consists of graphs with following metrics:

"TDG Kafka producer statistics" section consists of graphs with following metrics:

See [1] for more detailed info about metrics.

Add a TDG2 dashboard template for Prometheus and InfluxDB. It consists of all existing Tarantool/Tarantool Cartridge sections and TDG2 Kafka sections.

  1. https://github.com/edenhill/librdkafka/blob/2aadc45974d32b7c7ff91805588be3fc9951f4ad/STATISTICS.md

tdg_dashboard: add CPU thread time panels

image

Add CPU thread time panels for TDG2 dashboard. Graphs are based on tnt_cpu_thread metrics.

tdg_dashboard: add expirationd section

image

Add "TDG expirationd statistics" section to TDG dashboard templates. It consists of panels with following metrics:

tdg_dashboard: add tuples section

image

Add "TDG tuples statistics" section to TDG dashboard templates. It consists of panels with following metrics:

tdg_dashboard: add file connectors section

Add "TDG file connectors statistics" section to TDG dashboard templates. It consists of panels with following metrics:

tdg_dashboard: add GraphQL requests section

image

Add "TDG GraphQL requests" section to TDG dashboard templates. It consists of panels with following metrics:

tdg_dashboard: add IProto requests panels

image

Add "TDG GraphQL requests" section to TDG dashboard templates. It consists of panels with following metrics:

tdg_dashboard: add REST API requests panels

image

Add "TDG REST API requests" section to TDG dashboard templates. It consists of panels with following metrics:

tdg_dashboard: add tasks statistics panels

image

Add "TDG tasks statistics" section to TDG dashboard templates. It consists of panels with following metrics:

Closes #134