Signature
Parameters
Type of entity to send the signal to.
UUID of the entity to send the signal to.
Name of the signal.
Value of the signal. Can be a string, boolean, or number.
Optional signal type. If not provided, the type will be auto-detected based on the value.
Returns
APromise<void> that resolves when the signal has been sent.
Examples
Send a numerical signal to a trace
Send a boolean signal to a session
Send a signal with explicit type
Related
- sendBulkSignals() - Send multiple signals in a single operation
- sendTraceSignal() - Send a signal to the current trace
- sendSessionSignal() - Send a signal to the current session
- sendSpanSignal() - Send a signal to the current span