Skip to content

Commit 87b8641

Browse files
committed
Update README.md
1 parent 1746a11 commit 87b8641

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The queue latency is the time between when the job was enqueued and when it was
8787
filter environment = "production"
8888
filter level = "info"
8989
filter metric = "sidekiq.queue.latency"
90-
timechart duration:avg(duration), group_by(name)
90+
timechart latency:avg(metric_amount), group_by(name)
9191
~~~
9292

9393
* http://github.com/reidmorrison/rails_semantic_logger
@@ -100,8 +100,12 @@ For complete documentation see: https://logger.rocketjob.io/rails
100100

101101
Rails Semantic Logger now supports Sidekiq metrics.
102102
Below are the metrics that are now available when the JSON logging format is used:
103-
- `sidekiq.job.perform` - The duration of each Sidekiq job.
104-
- `sidekiq.queue.latency` - The time between when a Sidekiq job was enqueued and when it was started.
103+
- `sidekiq.job.perform`
104+
- The duration of each Sidekiq job.
105+
- `duration` contains the time in milliseconds that the job took to run.
106+
- `sidekiq.queue.latency`
107+
- The time between when a Sidekiq job was enqueued and when it was started.
108+
- `metric_amount` contains the time in milliseconds that the job was waiting in the queue.
105109

106110
## Upgrading to Semantic Logger v4.15 & V4.16 - Sidekiq Support
107111

0 commit comments

Comments
 (0)