lib/riak/client/instrumentation.rb in riak-client-2.3.0 vs lib/riak/client/instrumentation.rb in riak-client-2.3.1
- old
+ new
@@ -1,19 +1,19 @@
-class Riak::Client
- include Instrumentable
-
- client_payload = {client_id: :client_id}
-
- instrument_method :buckets, 'riak.list_buckets', client_payload
- instrument_method :list_buckets, 'riak.list_buckets', client_payload
- instrument_method :list_keys, 'riak.list_keys', client_payload
- instrument_method :set_bucket_props, 'riak.set_bucket_props', client_payload
- instrument_method :get_bucket_props, 'riak.get_bucket_props', client_payload
- instrument_method :clear_bucket_props, 'riak.clear_bucket_props', client_payload
- instrument_method :get_index, 'riak.get_index', client_payload
- instrument_method :store_object, 'riak.store_object', client_payload
- instrument_method :get_object, 'riak.get_object', client_payload
- instrument_method :reload_object, 'riak.reload_object', client_payload
- instrument_method :delete_object, 'riak.delete_object', client_payload
- instrument_method :mapred, 'riak.map_reduce', client_payload
- instrument_method :ping, 'riak.ping', client_payload
-end
+class Riak::Client
+ include Instrumentable
+
+ client_payload = {client_id: :client_id}
+
+ instrument_method :buckets, 'riak.list_buckets', client_payload
+ instrument_method :list_buckets, 'riak.list_buckets', client_payload
+ instrument_method :list_keys, 'riak.list_keys', client_payload
+ instrument_method :set_bucket_props, 'riak.set_bucket_props', client_payload
+ instrument_method :get_bucket_props, 'riak.get_bucket_props', client_payload
+ instrument_method :clear_bucket_props, 'riak.clear_bucket_props', client_payload
+ instrument_method :get_index, 'riak.get_index', client_payload
+ instrument_method :store_object, 'riak.store_object', client_payload
+ instrument_method :get_object, 'riak.get_object', client_payload
+ instrument_method :reload_object, 'riak.reload_object', client_payload
+ instrument_method :delete_object, 'riak.delete_object', client_payload
+ instrument_method :mapred, 'riak.map_reduce', client_payload
+ instrument_method :ping, 'riak.ping', client_payload
+end