Noop

marola.observability.Tracing.Noop
object Noop extends Tracing

MAROLA_TRACES=off (or unset with no backend configured): runs effect unchanged.

Attributes

Graph
Supertypes
trait Tracing
class Object
trait Matchable
class Any
Self type
Noop.type

Members list

Value members

Concrete methods

def withSpan[A, S](name: String, attributes: Map[String, String])(effect: A < (Sync & S)): A < (Sync & S)

S carries whatever other effects the wrapped block has (Async for Main's console output around the pipeline); the backends only need Sync themselves.

S carries whatever other effects the wrapped block has (Async for Main's console output around the pipeline); the backends only need Sync themselves.

Attributes

Inherited methods

def llmSpan[A, S](model: String, attributes: Map[String, String])(effect: A < (Sync & S))(result: A => Map[String, String]): A < (Sync & S)

One LLM call: a span named llm..

One LLM call: a span named llm..

Attributes

Inherited from:
Tracing