Skip to content

Commit 9eba4bc

Browse files
authored
server: Fix metric name (#5829)
A metric was copy-pasted which resulted in a duplicate name. Replaces the second name with defrag_objects_moved Signed-off-by: Abhijat Malviya <[email protected]>
1 parent d31c96c commit 9eba4bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/server_family.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,7 @@ void PrintPrometheusMetrics(uint64_t uptime, const Metrics& m, DflyCmd* dfly_cmd
19511951
m.shard_stats.defrag_task_invocation_total, COUNTER, &resp->body());
19521952
AppendMetricWithoutLabels("defrag_attempts", "Objects examined",
19531953
m.shard_stats.defrag_attempt_total, COUNTER, &resp->body());
1954-
AppendMetricWithoutLabels("defrag_invocations", "Objects moved",
1954+
AppendMetricWithoutLabels("defrag_objects_moved", "Objects moved",
19551955
m.shard_stats.defrag_realloc_total, COUNTER, &resp->body());
19561956
}
19571957

0 commit comments

Comments
 (0)