# TraceAttributes interface · @imqueue/opentelemetry

Source: https://imqueue.org/api/opentelemetry/latest/opentelemetry.traceattributes/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/opentelemetry 4.0.0 — generated reference, not hand-written

Span attributes as a flat string map.

**Signature:**

```typescript
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) }`.

