diff --git a/core/trace/src/main/scala/org/typelevel/otel4s/trace/Span.scala b/core/trace/src/main/scala/org/typelevel/otel4s/trace/Span.scala index 91ef09b32..aae737871 100644 --- a/core/trace/src/main/scala/org/typelevel/otel4s/trace/Span.scala +++ b/core/trace/src/main/scala/org/typelevel/otel4s/trace/Span.scala @@ -195,6 +195,8 @@ object Span { def meta: InstrumentMeta[G] = backend.meta.mapK(f) def context: SpanContext = backend.context + def updateName(name: String): G[Unit] = + f(backend.updateName(name)) def addAttributes(attributes: Attribute[_]*): G[Unit] = f(backend.addAttributes(attributes: _*)) def addEvent(name: String, attributes: Attribute[_]*): G[Unit] =