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: 17 December, 2024