Skip to content

Commit

Permalink
feat: enable tracing for object storage (#3244)
Browse files Browse the repository at this point in the history
We have this on by default for local fs and in-memory. We also want this
for object storage.
  • Loading branch information
wjones127 authored Dec 13, 2024
1 parent 679b93c commit c310aee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust/lance-io/src/object_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ async fn configure_store(
let store = builder.build()?;

Ok(ObjectStore {
inner: Arc::new(store),
inner: Arc::new(store).traced(),
scheme: String::from(url.scheme()),
block_size: 64 * 1024,
use_constant_size_upload_parts,
Expand All @@ -902,7 +902,7 @@ async fn configure_store(
builder = builder.with_config(key, value);
}
let store = builder.build()?;
let store = Arc::new(store);
let store = Arc::new(store).traced();

Ok(ObjectStore {
inner: store,
Expand All @@ -917,7 +917,7 @@ async fn configure_store(
"az" => {
storage_options.with_env_azure();
let (store, _) = parse_url_opts(&url, storage_options.as_azure_options())?;
let store = Arc::new(store);
let store = Arc::new(store).traced();

Ok(ObjectStore {
inner: store,
Expand Down

0 comments on commit c310aee

Please sign in to comment.