- TIBCO BusinessEvents®
- OpenTelemetry
- Span

# Span.makeCurrent()

## Signature

`Scope makeCurrent(Span span)`

## Domain

ACTION

## Description

Add this Span to the current context and set new Context as current.

## Parameters

Name | Type | Description
--- | --- | ---
`span` | `Object` | Span object.

## Returns

Type | Description
--- | ---
`Object` | A Scope object.

## Cautions

Scope.close() must be called to properly restore the previous context from before this scope of execution or context will not work correctly