Tap Metrics#
Metrics logging is specified in the
Singer Spec. The SDK will automatically
emit metrics for record_count
, http_request_duration
and sync_duration
.
Customization options#
metrics_log_level
#
Metrics are logged at the INFO
level. Developers may optionally add a
metrics_log_level
config option to their taps, WARNING
or ERROR
to disable
metrics logging.
SINGER_SDK_LOG_CONFIG
#
Metrics are written by the singer_sdk.metrics
logger, so the end user can set
SINGER_SDK_LOG_CONFIG
to a logging config file that defines the format and output
for metrics. See the logging docs for an example file.