Skip to content

Commit 58e7cf8

Browse files
cleanup
1 parent d3f031e commit 58e7cf8

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Added
1010
- Panel with Сartridge configuration checksum (#242)
11-
- Panel with CPU total utilization per instance (#TNTP-4365)
11+
- Panels with CPU utilization per instance and total (#TNTP-4365)
1212
- Panels with memory/virtual memory utilization per instance and total (#TNTP-4365)
1313

1414
## [3.2.1] - 2024-12-06

dashboard/panels/cpu.libsonnet

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,6 @@ local prometheus = grafana.prometheus;
1010
{
1111
row:: common.row('Tarantool CPU statistics'),
1212

13-
local aggregate_expr(cfg, metric_name, aggregate='sum', rate=false) =
14-
local inner_expr = std.format(
15-
'%s%s{%s}',
16-
[
17-
cfg.metrics_prefix,
18-
metric_name,
19-
common.prometheus_query_filters(common.remove_field(cfg.filters, 'alias')),
20-
]
21-
);
22-
std.format(
23-
'%s(%s)',
24-
[
25-
aggregate,
26-
if rate then std.format('rate(%s[$__rate_interval])', inner_expr) else inner_expr,
27-
]
28-
),
29-
30-
// --------------------------------------------------------------------------
3113
local getrusage_cpu_percentage_graph(
3214
cfg,
3315
title,

0 commit comments

Comments
 (0)