setAttributes MethodStatic

Set attributes on currently active openTelemetry span. Doesn't do anything if openTelemetry logging is not initialized.

setAttributes(attributes: SpanAttributes): void

Parameter Type Description
attributes SpanAttributes The attributes to set

Returns - void

Defined in

Last Updated: 14 November, 2024