Skip to content

Connectum API Reference / @connectum/otel / shared / buildBaseAttributes

Function: buildBaseAttributes()

buildBaseAttributes(params): Record<string, string | number>

Defined in: packages/otel/src/shared.ts:158

Builds standard RPC base attributes per OTel semantic conventions.

Parameters

params

BaseAttributeParams

Service, method, server address/port info

Returns

Record<string, string | number>

Record of base attributes