We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e227aa7 commit feb40e5Copy full SHA for feb40e5
etl/src/metrics.rs
@@ -7,7 +7,7 @@ static REGISTER_METRICS: Once = Once::new();
7
pub const ETL_TABLES_TOTAL: &str = "etl_tables_total";
8
pub const ETL_BATCH_ITEMS_WRITTEN_TOTAL: &str = "etl_batch_items_written_total";
9
pub const ETL_TABLE_ROWS_TOTAL_WRITTEN: &str = "etl_table_rows_total_written";
10
-pub const ETL_ITEMS_SEND_DURATION_SECONDS: &str = "etl_items_send_duration_seconds";
+pub const ETL_BATCH_ITEMS_SEND_DURATION_SECONDS: &str = "etl_batch_items_send_duration_seconds";
11
pub const ETL_TRANSACTION_DURATION_SECONDS: &str = "etl_transaction_duration_seconds";
12
pub const ETL_TRANSACTION_SIZE: &str = "etl_transaction_size";
13
pub const ETL_COPIED_TABLE_ROW_SIZE_BYTES: &str = "etl_copied_table_row_size_bytes";
@@ -47,9 +47,9 @@ pub(crate) fn register_metrics() {
47
);
48
49
describe_histogram!(
50
- ETL_ITEMS_SEND_DURATION_SECONDS,
+ ETL_BATCH_ITEMS_SEND_DURATION_SECONDS,
51
Unit::Seconds,
52
- "Time taken in seconds to send batch items to the destination, labeled by worker_type and action"
+ "Time taken in seconds to send a batch of items to the destination, labeled by worker_type and action"
53
54
55
etl/src/replication/apply.rs
@@ -26,8 +26,8 @@ use crate::conversions::event::{
26
use crate::destination::Destination;
27
use crate::error::{ErrorKind, EtlResult};
28
use crate::metrics::{
29
- ACTION_LABEL, DESTINATION_LABEL, ETL_BATCH_ITEMS_WRITTEN_TOTAL,
30
- ETL_ITEMS_SEND_DURATION_SECONDS, ETL_TRANSACTION_DURATION_SECONDS, ETL_TRANSACTION_SIZE,
+ ACTION_LABEL, DESTINATION_LABEL, ETL_BATCH_ITEMS_SEND_DURATION_SECONDS,
+ ETL_BATCH_ITEMS_WRITTEN_TOTAL, ETL_TRANSACTION_DURATION_SECONDS, ETL_TRANSACTION_SIZE,
31
PIPELINE_ID_LABEL, WORKER_TYPE_LABEL,
32
};
33
use crate::replication::client::PgReplicationClient;
@@ -755,7 +755,7 @@ where
755
756
let send_duration_seconds = before_sending.elapsed().as_secs_f64();
757
histogram!(
758
759
WORKER_TYPE_LABEL => "apply",
760
ACTION_LABEL => "table_streaming",
761
PIPELINE_ID_LABEL => pipeline_id.to_string(),
etl/src/replication/table_sync.rs
@@ -22,8 +22,8 @@ use crate::failpoints::{
22
etl_fail_point,
23
24
25
- ETL_ITEMS_SEND_DURATION_SECONDS, ETL_TABLE_ROWS_TOTAL_WRITTEN, PIPELINE_ID_LABEL,
+ ETL_BATCH_ITEMS_WRITTEN_TOTAL, ETL_TABLE_ROWS_TOTAL_WRITTEN, PIPELINE_ID_LABEL,
WORKER_TYPE_LABEL,
@@ -245,7 +245,7 @@ where
245
246
247
248
249
WORKER_TYPE_LABEL => "table_sync",
250
ACTION_LABEL => "table_copy",
251
0 commit comments