lib/opentelemetry/instrumentation/mysql2/patches/client.rb in opentelemetry-instrumentation-mysql2-0.10.0 vs lib/opentelemetry/instrumentation/mysql2/patches/client.rb in opentelemetry-instrumentation-mysql2-0.10.1

- old
+ new

@@ -71,10 +71,10 @@ # https://github.com/brianmario/mysql2/blob/ca08712c6c8ea672df658bb25b931fea22555f27/lib/mysql2/client.rb#L25-L26 host = (query_options[:host] || query_options[:hostname]).to_s port = query_options[:port].to_s { - 'db.type' => 'mysql', + 'db.system' => 'mysql', 'db.instance' => database_name, 'db.url' => "mysql://#{host}:#{port}", 'net.peer.name' => host, 'net.peer.port' => port }