- TIBCO BusinessEvents®
- OpenTelemetry
- Span

# Span

## Description

Add attributes, events, status and exception to Span. Add Span to current context and make it current and close Span.

## Functions

Name | Signature and Synopsis
--- | ---
`addEvent` | `Object addEvent(Object span, String name)`
`end` | `void end(Object span)`
`makeCurrent` | `Scope makeCurrent(Span span)`
`recordException` | `Object recordException(Span span, Object throwable)`
`setAttribute` | `Object setAttribute(Span span, String name, Object value)`
`setStatus` | `Object setStatus(Span span, String status)`