tarantool / grafana-dashboard

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

Support metrics 0.13.0 #141

Closed DifferentialOrange closed 2 years ago

DifferentialOrange commented 2 years ago

dashboard: add clock delta panel

Add a panel for tnt_clock_delta panel to cluster overview section. Add corresponding "delta" label_pairs to Telegraf.

dashboard: add replication status panel

tnt_replication_status was introduced in metrics 0.13.0. This patch adds replication status timeseries panel to cluster overview section and corresponding "stream" label pairs to Telegraf.

Timeseries is a base panel since Grafana 8.0. It is possible to set value mapping in a timeseries panel, which is convenient for replication status display. There is no way to make a 8.x timeseries panel with grafana/grafonnet-lib tools for now (7.x subfolder graph is incompatible), so this patch also introduces a rough draft of a timeseries panel template.

Grafana requirement was bumped to 8.0.0.

alerts: add replication not running alert

dashboard: add read only status panel

Add master/slave status panel to a cluster overview section. tnt_read_only metric was introduced in 0.11.0.

image

dashboard: add vinyl regulator blocked writers panel

Add vinyl regulator blocked writers panel to a vinyl section. tnt_vinyl_regulator_blocked_writers metric was introduced in 0.13.0.

image

dashboard: add detailed net requests panels

Add panels for net requests in progress/in stream queue to "Tarantool network activity" section. Deprecate existing net requests panels since they are superseded by new ones. (Since new ones are supported in Tarantool 2.10.0-beta2 or newer, do not remove them yet.) Metrics were introduced in metrics 0.13.0:

image

dashboard: use new metrics instead of deprecated ones

In metrics 0.13.0, the following metrics were deprecated:

Instead of them, new metrics were introduced:

This patch replaces deprecated metrics with their aliases.

doc: update metrics requirement

Closes #133