• Sean McGivern's avatar
    Add database timings to Sidekiq JSON logs · f248f182
    Sean McGivern authored
    Sidekiq JSON logs have total duration, queuing time, Gitaly time, and
    CPU time. They don't (before this change) have database time.
    
    We provide two fields: db_duration and db_duration_s. That's because the
    units between the different duration fields are currently confusing, so
    providing an explicit unit moves us closer to that goal, while keeping
    the raw figure in the un-suffixed fields.
    f248f182
structured_logger_spec.rb 8.52 KB