Skip to content

Draft: Log `resize_duration_s`, excluding network time

Resolves #308 (moved)

Adds a separate log value for the duration which doesn't include data transfer time (which may vary significantly depending on the user network connection and skew the stats).

Example log:

ImageResizer: Success
bytes_written=776 content_type=image/png correlation_id=UWTUf6er607 
duration_s=0.306926303   
original_filesize=97868  
resize_duration_s=0.001949905 // significantly less than duration_s
target_width=16
Edited by Aleksei Lipniagov

Merge request reports