- TIBCO BusinessEvents®
- OpenTelemetry
- Span

# Span.addEvent()

## Signature

`Object addEvent(Object span, String name)`

## Domain

ACTION

## Description

Add an event to Span object.

## Parameters

Name | Type | Description
--- | --- | ---
`span` | `Object` | Span object.
`name` | `String` | Event name.

## Returns

Type | Description
--- | ---
`Object` | Returns a Span object.

## Cautions

none