Skip to content

Commit

Permalink
chore(layers/oteltrace): adjust tracer span name of info method
Browse files Browse the repository at this point in the history
  • Loading branch information
koushiro committed Nov 5, 2024
1 parent f93c619 commit ff29ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/layers/oteltrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl<A: Access> LayeredAccess for OtelTraceAccessor<A> {

fn info(&self) -> Arc<AccessorInfo> {
let tracer = global::tracer("opendal");
tracer.in_span("metadata", |_cx| self.inner.info())
tracer.in_span("info", |_cx| self.inner.info())
}

async fn create_dir(&self, path: &str, args: OpCreateDir) -> Result<RpCreateDir> {
Expand Down

0 comments on commit ff29ec5

Please sign in to comment.