Skip to content

Commit 94f4f2c

Browse files
committed
metrics: allowlist task_latency migration
Signed-off-by: Diana Zawadzki <dzawa@live.de>
1 parent a6e663a commit 94f4f2c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common/metrics/config.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ func (h *HistogramMigration) UnmarshalYAML(read func(any) error) error {
4141
// This is likely best done in an `init` func, to ensure it happens early enough
4242
// and does not race with config reading.
4343
var HistogramMigrationMetrics = map[string]struct{}{
44+
// History task generation latency (replication task-ack path).
45+
// Dual-emitted as timer + histogram.
46+
"task_latency": {},
47+
"task_latency_ns": {},
48+
4449
"task_latency_processing": {},
4550
"task_latency_processing_ns": {},
4651

0 commit comments

Comments
 (0)