From 2890f81103df0f330e1d8e16be7dc0101d2cf4ff Mon Sep 17 00:00:00 2001 From: Jordan Brough Date: Wed, 1 Dec 2021 08:00:03 -0700 Subject: [PATCH] Fix "Statsd.options" example (#5075) --- Pro-Changes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pro-Changes.md b/Pro-Changes.md index 9670268a..76710d2e 100644 --- a/Pro-Changes.md +++ b/Pro-Changes.md @@ -11,7 +11,7 @@ Please see [sidekiq.org](https://sidekiq.org/) for more details and how to buy. - Allow job-specific options in Statsd metrics [#5037] ```ruby # add to your initializer -Sidekiq::Server::Middleware::Statsd.options = ->(klass, job, q) do +Sidekiq::Middleware::Server::Statsd.options = ->(klass, job, q) do {tags: ["worker:#{klass}", "queue:#{q}"]}.tap do |h| h[:tags] << "tenant:#{job['tenant_id']}" if job["tenant_id"] end