TraceAttributes interface

Span attributes as a flat string map.

Signature:

export interface TraceAttributes 

Remarks

Values are string only — deliberately narrower than OpenTelemetry's own attribute type, which also permits numbers, booleans and arrays. Convert before passing: { 'batch.size': String(rows.length) }.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.