sessionm-cassandra_object 2.5.2 → 2.5.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -35,8 +35,8 @@ module CassandraObject
|
|
35
35
|
opts.assert_valid_keys(:consistency)
|
36
36
|
opts[:consistency] ||= thrift_read_consistency
|
37
37
|
|
38
|
-
CassandraObject::Base.with_connection(key) do
|
39
|
-
|
38
|
+
result = CassandraObject::Base.with_connection(key) do
|
39
|
+
ActiveSupport::Notifications.instrument("get_counter.cassandra_object", column_family: column_family, key: key, column: column) do
|
40
40
|
connection.get(column_family, key, column, opts)
|
41
41
|
end
|
42
42
|
end
|