@@ -129,7 +129,7 @@ impl key_value::HostStore for KeyValueDispatch {
129129 . await )
130130 }
131131
132- #[ instrument( name = "spin_key_value.get" , skip ( self , store , key ) , fields( otel. kind = "client" ) ) ]
132+ #[ instrument( name = "spin_key_value.get" , skip_all , fields( otel. kind = "client" ) ) ]
133133 async fn get (
134134 & mut self ,
135135 store : Resource < key_value:: Store > ,
@@ -139,7 +139,7 @@ impl key_value::HostStore for KeyValueDispatch {
139139 Ok ( store. get ( & key) . await . map_err ( track_error_on_span) )
140140 }
141141
142- #[ instrument( name = "spin_key_value.set" , skip ( self , store , key , value ) , fields( otel. kind = "client" ) ) ]
142+ #[ instrument( name = "spin_key_value.set" , skip_all , fields( otel. kind = "client" ) ) ]
143143 async fn set (
144144 & mut self ,
145145 store : Resource < key_value:: Store > ,
@@ -150,7 +150,7 @@ impl key_value::HostStore for KeyValueDispatch {
150150 Ok ( store. set ( & key, & value) . await . map_err ( track_error_on_span) )
151151 }
152152
153- #[ instrument( name = "spin_key_value.delete" , skip ( self , store , key ) , fields( otel. kind = "client" ) ) ]
153+ #[ instrument( name = "spin_key_value.delete" , skip_all , fields( otel. kind = "client" ) ) ]
154154 async fn delete (
155155 & mut self ,
156156 store : Resource < key_value:: Store > ,
@@ -160,7 +160,7 @@ impl key_value::HostStore for KeyValueDispatch {
160160 Ok ( store. delete ( & key) . await . map_err ( track_error_on_span) )
161161 }
162162
163- #[ instrument( name = "spin_key_value.exists" , skip ( self , store , key ) , fields( otel. kind = "client" ) ) ]
163+ #[ instrument( name = "spin_key_value.exists" , skip_all , fields( otel. kind = "client" ) ) ]
164164 async fn exists (
165165 & mut self ,
166166 store : Resource < key_value:: Store > ,
@@ -170,7 +170,7 @@ impl key_value::HostStore for KeyValueDispatch {
170170 Ok ( store. exists ( & key) . await . map_err ( track_error_on_span) )
171171 }
172172
173- #[ instrument( name = "spin_key_value.get_keys" , skip ( self , store ) , fields( otel. kind = "client" ) ) ]
173+ #[ instrument( name = "spin_key_value.get_keys" , skip_all , fields( otel. kind = "client" ) ) ]
174174 async fn get_keys (
175175 & mut self ,
176176 store : Resource < key_value:: Store > ,
@@ -205,7 +205,7 @@ fn to_wasi_err(e: Error) -> wasi_keyvalue::store::Error {
205205}
206206
207207impl wasi_keyvalue:: store:: Host for KeyValueDispatch {
208- #[ instrument( name = "wasi_key_value.open" , skip ( self , identifier ) , fields( otel. kind = "client" ) ) ]
208+ #[ instrument( name = "wasi_key_value.open" , skip_all , fields( otel. kind = "client" ) ) ]
209209 async fn open (
210210 & mut self ,
211211 identifier : String ,
@@ -233,7 +233,7 @@ impl wasi_keyvalue::store::Host for KeyValueDispatch {
233233
234234use wasi_keyvalue:: store:: Bucket ;
235235impl wasi_keyvalue:: store:: HostBucket for KeyValueDispatch {
236- #[ instrument( name = "wasi_key_value.get" , skip ( self , self_ , key ) , fields( otel. kind = "client" ) ) ]
236+ #[ instrument( name = "wasi_key_value.get" , skip_all , fields( otel. kind = "client" ) ) ]
237237 async fn get (
238238 & mut self ,
239239 self_ : Resource < Bucket > ,
@@ -243,7 +243,7 @@ impl wasi_keyvalue::store::HostBucket for KeyValueDispatch {
243243 store. get ( & key) . await . map_err ( to_wasi_err)
244244 }
245245
246- #[ instrument( name = "wasi_key_value.set" , skip ( self , self_ , key , value ) , fields( otel. kind = "client" ) ) ]
246+ #[ instrument( name = "wasi_key_value.set" , skip_all , fields( otel. kind = "client" ) ) ]
247247 async fn set (
248248 & mut self ,
249249 self_ : Resource < Bucket > ,
@@ -254,7 +254,7 @@ impl wasi_keyvalue::store::HostBucket for KeyValueDispatch {
254254 store. set ( & key, & value) . await . map_err ( to_wasi_err)
255255 }
256256
257- #[ instrument( name = "wasi_key_value.delete" , skip ( self , self_ , key ) , fields( otel. kind = "client" ) ) ]
257+ #[ instrument( name = "wasi_key_value.delete" , skip_all , fields( otel. kind = "client" ) ) ]
258258 async fn delete (
259259 & mut self ,
260260 self_ : Resource < Bucket > ,
@@ -264,7 +264,7 @@ impl wasi_keyvalue::store::HostBucket for KeyValueDispatch {
264264 store. delete ( & key) . await . map_err ( to_wasi_err)
265265 }
266266
267- #[ instrument( name = "wasi_key_value.exists" , skip ( self , self_ , key ) , fields( otel. kind = "client" ) ) ]
267+ #[ instrument( name = "wasi_key_value.exists" , skip_all , fields( otel. kind = "client" ) ) ]
268268 async fn exists (
269269 & mut self ,
270270 self_ : Resource < Bucket > ,
@@ -274,7 +274,7 @@ impl wasi_keyvalue::store::HostBucket for KeyValueDispatch {
274274 store. exists ( & key) . await . map_err ( to_wasi_err)
275275 }
276276
277- #[ instrument( name = "wasi_key_value.list_keys" , skip ( self , self_ , cursor ) , fields( otel. kind = "client" ) ) ]
277+ #[ instrument( name = "wasi_key_value.list_keys" , skip_all , fields( otel. kind = "client" ) ) ]
278278 async fn list_keys (
279279 & mut self ,
280280 self_ : Resource < Bucket > ,
@@ -299,7 +299,7 @@ impl wasi_keyvalue::store::HostBucket for KeyValueDispatch {
299299}
300300
301301impl wasi_keyvalue:: batch:: Host for KeyValueDispatch {
302- #[ instrument( name = "spin_key_value.get_many" , skip ( self , bucket , keys ) , fields( otel. kind = "client" ) ) ]
302+ #[ instrument( name = "spin_key_value.get_many" , skip_all , fields( otel. kind = "client" ) ) ]
303303 #[ allow( clippy:: type_complexity) ]
304304 async fn get_many (
305305 & mut self ,
@@ -313,7 +313,7 @@ impl wasi_keyvalue::batch::Host for KeyValueDispatch {
313313 store. get_many ( keys) . await . map_err ( to_wasi_err)
314314 }
315315
316- #[ instrument( name = "spin_key_value.set_many" , skip ( self , bucket , key_values ) , fields( otel. kind = "client" ) ) ]
316+ #[ instrument( name = "spin_key_value.set_many" , skip_all , fields( otel. kind = "client" ) ) ]
317317 async fn set_many (
318318 & mut self ,
319319 bucket : Resource < wasi_keyvalue:: batch:: Bucket > ,
@@ -326,7 +326,7 @@ impl wasi_keyvalue::batch::Host for KeyValueDispatch {
326326 store. set_many ( key_values) . await . map_err ( to_wasi_err)
327327 }
328328
329- #[ instrument( name = "spin_key_value.delete_many" , skip ( self , bucket , keys ) , fields( otel. kind = "client" ) ) ]
329+ #[ instrument( name = "spin_key_value.delete_many" , skip_all , fields( otel. kind = "client" ) ) ]
330330 async fn delete_many (
331331 & mut self ,
332332 bucket : Resource < wasi_keyvalue:: batch:: Bucket > ,
@@ -341,7 +341,7 @@ impl wasi_keyvalue::batch::Host for KeyValueDispatch {
341341}
342342
343343impl wasi_keyvalue:: atomics:: HostCas for KeyValueDispatch {
344- #[ instrument( name = "wasi_key_value_cas.new" , skip ( self , bucket , key ) , fields( otel. kind = "client" ) ) ]
344+ #[ instrument( name = "wasi_key_value_cas.new" , skip_all , fields( otel. kind = "client" ) ) ]
345345 async fn new (
346346 & mut self ,
347347 bucket : Resource < wasi_keyvalue:: atomics:: Bucket > ,
@@ -364,7 +364,7 @@ impl wasi_keyvalue::atomics::HostCas for KeyValueDispatch {
364364 . map ( Resource :: new_own)
365365 }
366366
367- #[ instrument( name = "wasi_key_value_cas.current" , skip ( self , cas ) , fields( otel. kind = "client" ) ) ]
367+ #[ instrument( name = "wasi_key_value_cas.current" , skip_all , fields( otel. kind = "client" ) ) ]
368368 async fn current (
369369 & mut self ,
370370 cas : Resource < wasi_keyvalue:: atomics:: Cas > ,
@@ -389,7 +389,7 @@ impl wasi_keyvalue::atomics::Host for KeyValueDispatch {
389389 Ok ( error)
390390 }
391391
392- #[ instrument( name = "spin_key_value.increment" , skip ( self , bucket , key , delta ) , fields( otel. kind = "client" ) ) ]
392+ #[ instrument( name = "spin_key_value.increment" , skip_all , fields( otel. kind = "client" ) ) ]
393393 async fn increment (
394394 & mut self ,
395395 bucket : Resource < wasi_keyvalue:: atomics:: Bucket > ,
@@ -400,7 +400,7 @@ impl wasi_keyvalue::atomics::Host for KeyValueDispatch {
400400 store. increment ( key, delta) . await . map_err ( to_wasi_err)
401401 }
402402
403- #[ instrument( name = "spin_key_value.swap" , skip ( self , cas_res , value ) , fields( otel. kind = "client" ) ) ]
403+ #[ instrument( name = "spin_key_value.swap" , skip_all , fields( otel. kind = "client" ) ) ]
404404 async fn swap (
405405 & mut self ,
406406 cas_res : Resource < atomics:: Cas > ,
0 commit comments