| Crates.io | instrumented-object-store |
| lib.rs | instrumented-object-store |
| version | 50.0.0 |
| created_at | 2025-04-24 09:42:26.6246+00 |
| updated_at | 2025-09-16 13:17:52.60939+00 |
| description | Object Store instrumentation through tracing |
| homepage | https://github.com/datafusion-contrib/datafusion-tracing |
| repository | https://github.com/datafusion-contrib/datafusion-tracing |
| max_upload_size | |
| id | 1646916 |
| size | 89,889 |
Adds tracing instrumentation to any Object Store implementation.
// Create your object store
let store = Arc::new(object_store::local::LocalFileSystem::new());
// Wrap it with instrumentation (prefix for span names)
let instrumented_store = instrument_object_store(store, "local_fs");
// Use directly for file operations
let result = instrumented_store.get(&Path::from("path/to/file")).await?;
// Or integrate with DataFusion
let ctx = SessionContext::new();
ctx.register_object_store(&Url::parse("file://").unwrap(), instrumented_store);
When combined with the datafusion-tracing
crate, this provides end-to-end visibility from query execution to storage operations.