Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Type

Unit

Description

numBytesOut

Counter

Bytes

The total number of output bytes since the source started

numBytesOutPerSec

Meter

Bytes/Sec

The output bytes per second

numRecordsOut

Counter

Records

The total number of output records since the source started

numRecordsOutPerSec

Meter

Records/Sec

The output records per second

numRecordsOutErrorsCounterRecordThe total number of records failed to send

recordSize

Histogram

Bytes

The size of a record

sendTime

Histogram

ms

The time it takes to send a record

Note:

  • A connector implementation does not have report all the following metrics. But the connectors that do report these metrics should conform to this convention.
  • The histogram metrics are usually very expensive, so it is strongly recommended that the connectors do not report them by default. But give the options to the users to enable them on demand.

Scope

The metric group for each source and sink would be the same as ordinary operator scope, i.e. default to <host>.taskmanager.<tm_id>.<job_name>.<operator_name>.<subtask_index>

...