backfiller: Include channel name being backfilled in logs

pull/352/head
Mike Lang 1 year ago
parent 4e51c3d6b7
commit 78d0f227e8

@ -178,7 +178,7 @@ def get_remote_segment(base_dir, node, channel, quality, hour, missing_segment,
logging.debug('Saving completed segment {} as {}'.format(temp_path, path)) logging.debug('Saving completed segment {} as {}'.format(temp_path, path))
common.rename(temp_path, path) common.rename(temp_path, path)
segments_backfilled.labels(remote=node, channel=channel, quality=quality, hour=hour).inc() segments_backfilled.labels(remote=node, channel=channel, quality=quality, hour=hour).inc()
logger.info('Segment {}/{}/{} backfilled'.format(quality, hour, missing_segment)) logger.info('Segment {}/{}/{}/{} backfilled'.format(channel, quality, hour, missing_segment))
def list_hours(node, channel, quality, start=None): def list_hours(node, channel, quality, start=None):

Loading…
Cancel
Save