Skip to main content

Type Alias: SemanticAttributes

@arolariu/website


@arolariu/website / instrumentation.server / SemanticAttributes

Type Alias: SemanticAttributes

SemanticAttributes = Partial<HttpAttributes & NextJsAttributes & DatabaseAttributes & CacheAttributes & AuthAttributes & ErrorAttributes>

Defined in: instrumentation.server.ts:329

Union type of all standard attribute interfaces for type-safe attribute setting.

Remarks

Use this for operations that require semantic attributes. For custom attributes, use a record of string keys and string, number, or boolean values.

// was this page useful?