Effect CommunityEC
Effect Community2y ago
5 replies
nickrttn

Recording Exceptions in `@effect/opentelemetry` Comparable to `@opentelemetry/api` Functionality

Does @effect/opentelemetry spans have an analogue to this functionality from @opentelemetry/api: https://opentelemetry.io/docs/languages/js/instrumentation/#recording-exceptions ?

  span.recordException(ex);
  span.setStatus({ code: SpanStatusCode.ERROR });
Was this page helpful?