Fix typo of configuring redis at datadog initializer (#20016)

This commit is contained in:
Juanito Fatas 2023-09-11 23:40:04 +09:00 committed by GitHub
parent e8e74c0d8a
commit e1c91d2a64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ Datadog.configure do |c|
# *lot* of memory on instrumentation alone. This env var allows us to
# enable it only when needed.
if ENV["DD_ENABLE_REDIS_SIDEKIQ"] == "true"
c.tracing.strument :redis, service_name: "#{service_name}-redis-sidekiq",
c.tracing.instrument :redis, service_name: "#{service_name}-redis-sidekiq",
describes: { url: ENV.fetch("REDIS_SIDEKIQ_URL", nil) }
end
# Generic REDIS_URL comes last, allowing it to overwrite any of the