Skip to content

Commit 722d791

Browse files
dashboard: add MVCC statistics panels
Add a new section "Tarantool MVCC overview". The section consists of panels with following metrics: - tnt_memtx_tnx_statements - tnt_memtx_tnx_user - tnt_memtx_tnx_system - tnt_memtx_mvcc_trackers - tnt_memtx_mvcc_conflicts - tnt_memtx_mvcc_tuples_used_stories - tnt_memtx_mvcc_tuples_used_retained - tnt_memtx_mvcc_tuples_read_view_stories - tnt_memtx_mvcc_tuples_read_view_retained - tnt_memtx_mvcc_tuples_tracking_stories - tnt_memtx_mvcc_tuples_tracking_retained Closes #197
1 parent 95a1bb9 commit 722d791

29 files changed

+64290
-6166
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- Panel with failover trigger count
1414
- Panels with syncro replication queue statistics
1515
- Panels with leader election statistics
16+
- Panels with MVCC statistics
1617

1718
### Changed
1819
- Replace LuaJit deprecated metrics with new ones

dashboard/build/influxdb/dashboard_raw.libsonnet

+8
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ function(
8787
measurement=measurement,
8888
alias=alias,
8989
)
90+
).addPanels(
91+
section.mvcc(
92+
datasource_type=variable.datasource_type.influxdb,
93+
datasource=datasource,
94+
policy=policy,
95+
measurement=measurement,
96+
alias=alias,
97+
)
9098
).addPanels(
9199
section.space(
92100
datasource_type=variable.datasource_type.influxdb,

dashboard/build/influxdb/tdg_dashboard_raw.libsonnet

+8
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ function(
7979
measurement=measurement,
8080
alias=alias,
8181
)
82+
).addPanels(
83+
section.mvcc(
84+
datasource_type=variable.datasource_type.influxdb,
85+
datasource=datasource,
86+
policy=policy,
87+
measurement=measurement,
88+
alias=alias,
89+
)
8290
).addPanels(
8391
section.space(
8492
datasource_type=variable.datasource_type.influxdb,

dashboard/build/prometheus/dashboard_raw.libsonnet

+7
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ function(
9191
job=job,
9292
alias=alias,
9393
)
94+
).addPanels(
95+
section.mvcc(
96+
datasource_type=variable.datasource_type.prometheus,
97+
datasource=datasource,
98+
job=job,
99+
alias=alias,
100+
)
94101
).addPanels(
95102
section.space(
96103
datasource_type=variable.datasource_type.prometheus,

dashboard/build/prometheus/tdg_dashboard_raw.libsonnet

+7
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ function(
8484
job=job,
8585
alias=alias,
8686
)
87+
).addPanels(
88+
section.mvcc(
89+
datasource_type=variable.datasource_type.prometheus,
90+
datasource=datasource,
91+
job=job,
92+
alias=alias,
93+
)
8794
).addPanels(
8895
section.space(
8996
datasource_type=variable.datasource_type.prometheus,

0 commit comments

Comments
 (0)