Collect metrics from the Flink context like `SinkWriterMetricGroup metricGroup = context.metricGroup();` There are four standard metrics - NumRecordsOutErrorsCounter - NumRecordsSendErrorsCounter - NumRecordsSendCounter - NumBytesSendCounter