Skip to main content
Every span produced by the auto-instrumentation includes a set of attributes out of the box. Some are unconditional, others appear under specific configurations.

Always present

Conditional

When enableArgumentCollection: true

Each tool argument is flattened into a mcp.request.argument.<key> attribute. Nested objects use dot notation.
Off by default — these often contain user input or PII.

When the handler is wrapped with safetyCheck

When process.env.PORT is set

On error

Resource attributes

Attached once per process and merged into every export:

Filtering reference for dashboards

Common filter patterns:

See also

Tracing concept

How attributes get attached to spans.

Data processors

Mutate or remove attributes before export.