lib/opentelemetry/instrumentation/redis/patches/client.rb in opentelemetry-instrumentation-redis-0.10.0 vs lib/opentelemetry/instrumentation/redis/patches/client.rb in opentelemetry-instrumentation-redis-0.10.1
- old
+ new
@@ -47,10 +47,10 @@
def client_attributes
host = options[:host]
port = options[:port]
OpenTelemetry::Instrumentation::Redis.attributes.merge(
- 'db.type' => 'redis',
+ 'db.system' => 'redis',
'db.instance' => options[:db].to_s,
'db.url' => "redis://#{host}:#{port}",
'net.peer.name' => host,
'net.peer.port' => port
)