Type Alias: SpanOperationType
@arolariu/website / instrumentation.server / SpanOperationType
Type Alias: SpanOperationType
SpanOperationType =
`http.server.${string}`|`http.client.${string}`|`db.${string}`|`cache.${string}`|`api.${string}`|`component.${string}`|`page.${string}`|`auth.${string}`|`validation.${string}`|`business.${string}`
Defined in: instrumentation.server.ts:104
Operation types for span naming.
Remarks
Use these prefixes for consistent span naming:
http.server.*: Incoming HTTP requestshttp.client.*: Outgoing HTTP requestsdb.*: Database operationscache.*: Cache operationsapi.*: API route handlerscomponent.*: React component renderingpage.*: Page rendering operationsauth.*: Authentication operationsvalidation.*: Data validationbusiness.*: Business logic operations
// was this page useful?