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
- core/bentley/src/Tracing.ts Line 186
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.