Skip to content

Commit 3730746

Browse files
committed
don't forget the documentation!
1 parent 21f0737 commit 3730746

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,9 @@ installation, you'll need to start the instrumentation:
640640
# e.g. config/initializers/good_job.rb
641641
require 'prometheus_exporter/instrumentation'
642642
PrometheusExporter::Instrumentation::GoodJob.start
643+
644+
# or, to collect metrics labelled by their queue name
645+
PrometheusExporter::Instrumentation::GoodJob.start(collect_by_queue: true)
643646
```
644647

645648
#### Metrics collected by GoodJob Instrumentation

0 commit comments

Comments
 (0)