SpanNames enum

The span names this package emits. There are only three, and they identify the KIND of operation, not which method ran — the specific method is carried by the resource.name attribute (AttributeNames.RESOURCE_NAME).

Signature:

export declare enum SpanNames 

Enumeration Members

Member

Value

Description

IMQ_REQUEST

"imq.request"

A client issuing an RPC and awaiting the reply — the CLIENT side.

IMQ_RESPONSE

"imq.response"

A service handling an inbound RPC — the SERVER side.

METHOD_CALL

"method.call"

A method wrapped with the traced decorator.

Remarks

That split is what makes the traces groupable: a backend can aggregate all imq.request spans as "outbound RPC" and still break them down by resource. It also means filtering a dashboard by span name alone will never isolate a single method.

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