Yandex Monitoring metric reference
Written by
This section describes Data Transfer metrics exported to Monitoring.
The name label contains the metric name.
All Data Transfer metrics share the following labels:
| Label | Value |
|---|---|
| service | ID of the service: data-transfer. |
| job_index | Worker index to distinguish workers used for parallel data copying |
| src_id | Source ID |
| target_type | Target type, e.g., mongo |
| resource_id | Transfer or endpoint ID depending on resource type. |
| resource_type | Type of resource the operation was started or completed on. The possible values are endpoint and transfer. |
| dst_id | Target ID |
| source_type | Source type, e.g., mongo |
| operation_type | Type of operation either started or completed. The values correspond to possible operations on resource_type.For a transfer: Activate, Upload, ReUpload, Start, Restart, Stop, Verify, AddTables, RemoveTables, Deactivate, Checksum, Replication, Termination, TestEndpoint.For an endpoint: Create, Update, Delete. |
CPU metrics
CPU core workload.
Labels shared by all CPU metrics:
| Label | Value |
|---|---|
| component | System component, e.g., psutil |
| NameType, units | Description |
|---|---|
cpu.countsCOUNTER, count |
Number of CPUs allocated for data transfer in a worker |
proc.cpuDGAUGE, % |
CPU core workload. |
proc.descriptorsDGAUGE, count |
Number of open file descriptors |
proc.ramDGAUGE, bytes |
RAM usage |
RAM metrics
Labels shared by all RAM metrics:
| Label | Value |
|---|---|
| component | System component, e.g., psutil |
| NameType, units | Description |
|---|---|
mem.availableCOUNTER, bytes |
RAM usage, available usage type |
mem.percentageDGAUGE, % |
Percentage of RAM usage |
mem.usedCOUNTER, bytes |
RAM usage, used usage type |
Service metrics
| NameType, units | DescriptionLabels |
|---|---|
fallbacks.source.deepnessDGAUGE, count |
Current number of items in the source-side fallback queue |
fallbacks.source.errorsCOUNTER, count |
Number of source-side fallback errors |
fallbacks.source.itemsCOUNTER, count |
Total items added to the source-side fallback queue |
fallbacks.target.deepnessDGAUGE, count |
Current number of items in the target-side fallback queue |
fallbacks.target.errorsCOUNTER, count |
Number of target-side fallback errors |
fallbacks.target.itemsCOUNTER, count |
Total items added to the target-side fallback queue |
logger.bytes_writtenCOUNTER, bytes |
Total size of written logs |
logger.field_truncated_size_histIGAUGE, bytes |
Histogram of truncated log fields.This metric features the bin label containing histogram buckets. |
logger.leaked_countCOUNTER, count |
Number of log leaks |
logger.leaked_sizeCOUNTER, bytes |
Size of log leaks |
logger.leaked_size_histIGAUGE, bytes |
Histogram of log leaks.This metric features the bin label containing histogram buckets. |
logger.success_size_histIGAUGE, bytes |
Histogram of written logs.This metric features the bin label containing histogram buckets. |
middleware.error_tracker.failuresCOUNTER, count |
Number of errors in the error tracker.This metric features the component label containing a system component, e.g., middleware_filter. |
middleware.error_tracker.successCOUNTER, count |
Number of successful operations in the error trackerThis metric features the component label containing a system component, e.g., middleware_filter. |
middleware.filter.droppedCOUNTER, count |
Number of dropped items.This metric features the component label containing a system component, e.g., middleware_filter. |
publisher.consumer.activeDGAUGE, count |
Number of active consumers (data processing threads) |
publisher.consumer.compress_ratioDGAUGE, % |
Data compression ratio during data transfer |
publisher.consumer.ddl_errorCOUNTER, count |
Number of DDL errors |
publisher.consumer.errorCOUNTER, count |
Total errors in consumers |
publisher.consumer.extracted_bytesDGAUGE, bytes |
Size of data extracted from the source |
publisher.consumer.fatalCOUNTER, count |
Number of fatal errors requiring system specialist involvement |
publisher.consumer.log_usage_bytesDGAUGE, bytes |
Size of buffer or write ahead log (when supported) in the source |
publisher.consumer.read_bytesDGAUGE, bytes |
Size of read data |
publisher.data.bytesCOUNTER, bytes |
Size of data read from the source |
publisher.data.changeitemsCOUNTER, count |
Number of source events generated for a transfer. Apart from the data to transfer, these events may include housekeeping operations. |
publisher.data.parsed_rowsCOUNTER, count |
Number of rows successfully parsed and processed |
publisher.data.transactionsCOUNTER, count |
Number of data transactions processed during transfer |
publisher.data.unparsed_rowsCOUNTER, count |
Number of data rows that could not be successfully parsed |
publisher.time.delay_msDGAUGE, milliseconds |
Delay during data transfer |
publisher.time.parse_msDGAUGE, milliseconds |
Time spent on data parsing |
publisher.time.push_msDGAUGE, milliseconds |
Time spent sending data to target |
publisher.time.transform_msDGAUGE, milliseconds |
Time spent on data transformation |
replication.runningDGAUGE, 0/1 |
Current replication state.It can take either of these two values:
|
replication.start.unixDGAUGE, number |
Replication start timestamp in Unix epoch format |
runtime.allocCOUNTER, bytes |
Memory allocated but not yet released.This metric features the component label containing a system component, e.g., psutil. |
runtime.heapIdleCOUNTER, bytes |
Dynamic memory allocation, which is currently idle.This metric features the component label containing a system component, e.g., psutil. |
runtime.heapInuseCOUNTER, bytes |
Dynamic memory allocation, which is actively used.This metric features the component label containing a system component, e.g., psutil. |
runtime.numGCCOUNTER, count |
Number of garbage collection (GC) cycles since measurement initiation.This metric features the component label containing a system component, e.g., psutil. |
runtime.sysCOUNTER, bytes |
Total system memory in use.This metric features the component label containing a system component, e.g., psutil. |
runtime.totalAllocCOUNTER, bytes |
Total memory allocated over the run time.This metric features the component label containing a system component, e.g., psutil. |
sinker.pusher.data.changeitemsCOUNTER, count |
Number of events written to the target. Apart from the data to transfer, these events may include housekeeping operations. |
sinker.pusher.data.row_events_pushedCOUNTER, count |
Number of rows sent to the target |
sinker.pusher.time.batch_push_distribution_secIGAUGE, seconds |
Full time it takes to write a batch to the target, including data preprocessing.This metric features the bin label containing histogram buckets. |
sinker.pusher.time.row_lag_secIGAUGE, seconds |
Time lag between when the records appear in the target and when they appear in the source.This metric features the bin label containing histogram buckets. |
sinker.pusher.time.row_max_lag_secDGAUGE, seconds |
Maximum data lag |
sinker.pusher.time.row_max_read_lag_secDGAUGE, seconds |
Maximum lag between when the data appears in the source and when it is read. |
sinker.table.deleted_rowsCOUNTER, count |
Number of deleted table rows.This metric features the table label containing a DB table or collection. |
sinker.table.errorCOUNTER, count |
Number of errors that occurred while processing the table.This metric features the table label containing a DB table or collection. |
sinker.table.rowsCOUNTER, count |
50 tables with the maximum number of rows written to the target.This metric features the table label containing a DB table or collection. |
sinker.table.updated_rowsCOUNTER, count |
Number of updated table rows.This metric features the table label containing a DB table or collection. |
sinker.table.upserted_rowsCOUNTER, count |
Number of inserted or updated (upsert) table rows.This metric features the table label containing a DB table or collection. |
sinker.time.bulkPrepareDGAUGE, seconds |
Time to prepare a data batch for writing |
sinker.time.bulkWriteDGAUGE, seconds |
Time to write a data batch |
sinker.time.pushDGAUGE, seconds |
Total data write time |
sinker.transactions.inflightCOUNTER, count |
Number of active transactions |
sinker.transactions.totalCOUNTER, count |
Total completed transactions |
storage.diff_percDGAUGE, % |
Percentage difference between the number of source and target records.This metric features the table label containing a DB table or collection. |
storage.source_rowsDGAUGE, count |
Number of data source rows.This metric features the table label containing a DB table or collection. |
storage.target_rowsDGAUGE, count |
Number of data target rows.This metric features the table label containing a DB table or collection. |
task.snapshot.remainder.tableDGAUGE, count |
Number of rows awaiting transfer.This metric features the table label containing a DB table or collection. |
task.snapshot.reminder.totalDGAUGE, count |
Total remaining rows to transfer.This metric features the table label containing a DB table or collection. |
task.statusDGAUGE, 0/1 |
Status of the operation in progress.The possible values include:
|