Skip to content

Commit fd52ba9

Browse files
authored
feat(metrics): Add destination to received metric (#412)
1 parent 363b8b6 commit fd52ba9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

etl/src/replication/apply.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,7 @@ where
680680
WORKER_TYPE_LABEL => "apply",
681681
ACTION_LABEL => "table_streaming",
682682
PIPELINE_ID_LABEL => pipeline_id.to_string(),
683+
DESTINATION_LABEL => D::name(),
683684
)
684685
.increment(1);
685686
}

etl/src/replication/table_sync.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ where
240240
WORKER_TYPE_LABEL => "table_sync",
241241
ACTION_LABEL => "table_copy",
242242
PIPELINE_ID_LABEL => pipeline_id.to_string(),
243+
DESTINATION_LABEL => D::name(),
243244
)
244245
.increment(table_rows_copied_batch as u64);
245246

0 commit comments

Comments
 (0)