lib/opentelemetry/instrumentation/redis.rb in opentelemetry-instrumentation-redis-0.21.3 vs lib/opentelemetry/instrumentation/redis.rb in opentelemetry-instrumentation-redis-0.22.0
- old
+ new
@@ -12,10 +12,10 @@
module Instrumentation
# Contains the OpenTelemetry instrumentation for the Redis gem
module Redis
extend self
- CURRENT_ATTRIBUTES_HASH = Context.create_key('current-attributes-hash')
+ CURRENT_ATTRIBUTES_HASH = Context.create_key('redis-attributes-hash')
private_constant :CURRENT_ATTRIBUTES_HASH
# Returns the attributes hash representing the Redis client context found
# in the optional context or the current context if none is provided.