From bb51e9a4e62c5a4bf3554be7b354180e40ec75a1 Mon Sep 17 00:00:00 2001 From: Maksym Ochenashko Date: Tue, 3 Oct 2023 09:55:23 +0300 Subject: [PATCH] Fix compilation issue --- core/trace/src/main/scala/org/typelevel/otel4s/trace/Span.scala | 2 ++ 1 file changed, 2 insertions(+) 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] =