README.md in rails_semantic_logger-4.16.0 vs README.md in rails_semantic_logger-4.17.0

- old
+ new

@@ -85,11 +85,11 @@ The queue latency is the time between when the job was enqueued and when it was started: ~~~ruby filter environment = "production" filter level = "info" filter metric = "sidekiq.queue.latency" -timechart duration:avg(duration), group_by(name) +timechart latency:avg(metric_amount/1000), group_by(string(named_tags.queue)) ~~~ * http://github.com/reidmorrison/rails_semantic_logger ## Documentation @@ -98,11 +98,15 @@ ## Upgrading to Semantic Logger V4.16 - Sidekiq Metrics Support Rails Semantic Logger now supports Sidekiq metrics. Below are the metrics that are now available when the JSON logging format is used: -- `sidekiq.job.perform` - The duration of each Sidekiq job. -- `sidekiq.queue.latency` - The time between when a Sidekiq job was enqueued and when it was started. +- `sidekiq.job.perform` + - The duration of each Sidekiq job. + - `duration` contains the time in milliseconds that the job took to run. +- `sidekiq.queue.latency` + - The time between when a Sidekiq job was enqueued and when it was started. + - `metric_amount` contains the time in milliseconds that the job was waiting in the queue. ## Upgrading to Semantic Logger v4.15 & V4.16 - Sidekiq Support Rails Semantic Logger introduces direct support for Sidekiq v4, v5, v6, and v7. Please remove any previous custom patches or configurations to make Sidekiq work with Semantic Logger.