MCPcopy Create free account

hub / github.com/kubiks-inc/otel / functions

Functions106 in github.com/kubiks-inc/otel

↓ 31 callersFunctioncreateResource
()
packages/otel-polar/src/index.test.ts:331
↓ 28 callersFunctionfinalizeSpan
* Finalizes a span with status, timing, and optional error.
packages/otel-mongodb/src/index.ts:139
↓ 25 callersFunctionwrapAsyncOperation
( tracer: any, spanName: string, originalFn: Function, annotator: (span: Span, ...args: any[]) => void
packages/otel-inbound/src/index.ts:240
↓ 22 callersFunctioninstrumentCollection
( collection: Collection<TSchema>, config?: InstrumentMongoDBConfig )
packages/otel-mongodb/src/index.ts:231
↓ 22 callersFunctioninstrumentPolar
( client: Polar, config?: InstrumentPolarConfig )
packages/otel-polar/src/index.ts:241
↓ 20 callersFunctionfinalizeSpan
* Finalizes a span with status, timing, and optional error.
packages/otel-drizzle/src/index.ts:131
↓ 20 callersFunctioninstrumentClickHouse
( client: ClickHouseClient, config?: InstrumentClickHouseConfig )
packages/otel-clickhouse/src/index.ts:321
↓ 19 callersFunctioncreateMockCollection
(name = "users")
packages/otel-mongodb/src/index.test.ts:52
↓ 19 callersFunctioncreateMockPolarClient
* Helper function to create a mock Polar client for testing
packages/otel-polar/src/index.test.ts:330
↓ 19 callersFunctioninstrumentSandbox
( sandbox: T, config?: InstrumentE2BConfig )
packages/otel-e2b/src/index.ts:469
↓ 18 callersFunctionannotateManagementSpan
( span: Span, operation: string, resource: string, payload?: any, response?: any )
packages/otel-inbound/src/index.ts:176
↓ 18 callersFunctionfinalizeSpan
* Finalizes a span with status, timing, and optional error.
packages/otel-e2b/src/index.ts:93
↓ 18 callersFunctioninstrumentDrizzle
( client: TClient, config?: InstrumentDrizzleConfig, )
packages/otel-drizzle/src/index.ts:218
↓ 17 callersFunctioncreateMockSandbox
()
packages/otel-e2b/src/index.test.ts:47
↓ 17 callersFunctionfinalizeSpan
* Finalizes a span with status, timing, and optional error.
packages/otel-upstash-workflow/src/index.ts:92
↓ 17 callersFunctioninstrumentInbound
( client: T, config?: InstrumentInboundConfig )
packages/otel-inbound/src/index.ts:295
↓ 17 callersFunctioninstrumentUpstash
(client: Client, config?: InstrumentationConfig)
packages/otel-upstash-queues/src/index.ts:151
↓ 16 callersFunctioncreateMockClient
()
packages/otel-upstash-queues/src/index.test.ts:51
↓ 16 callersFunctioncreateMockInbound
()
packages/otel-inbound/src/index.test.ts:52
↓ 14 callersFunctioncreateBaseAttributes
* Creates common span attributes for MongoDB operations.
packages/otel-mongodb/src/index.ts:156
↓ 13 callersFunctioninstrumentAutumn
( client: Autumn, config?: InstrumentationConfig, )
packages/otel-autumn/src/index.ts:330
↓ 13 callersFunctioninstrumentDrizzleClient
( db: TDb, config?: InstrumentDrizzleConfig, )
packages/otel-drizzle/src/index.ts:495
↓ 12 callersFunctioninstrumentBetterAuth
( auth: TAuth, config?: InstrumentBetterAuthConfig, )
packages/otel-better-auth/src/index.ts:309
↓ 11 callersFunctionaddFilterAttribute
* Adds filter to span attributes if enabled.
packages/otel-mongodb/src/index.ts:185
↓ 11 callersFunctionfinalizeSpan
(span: Span, error?: unknown)
packages/otel-inbound/src/index.ts:225
↓ 11 callersFunctioninstrumentConsumer
(handler: RouteHandler, config?: InstrumentationConfig)
packages/otel-upstash-queues/src/index.ts:240
↓ 10 callersFunctioncreateMockRequest
(headers: Record<string, string> = {})
packages/otel-upstash-queues/src/index.test.ts:473
↓ 10 callersFunctionfinalizeSpan
(span: Span, error?: unknown)
packages/otel-autumn/src/index.ts:74
↓ 8 callersFunctionfinalizeSpan
* Finalizes a span with status, timing, and optional error.
packages/otel-clickhouse/src/index.ts:133
↓ 8 callersFunctioninstrumentResend
(client: Resend)
packages/otel-resend/src/index.ts:127
↓ 7 callersFunctioncreateMockResend
()
packages/otel-resend/src/index.test.ts:44
↓ 7 callersFunctioninstrumentWorkflowClient
( client: TClient, config?: InstrumentationConfig )
packages/otel-upstash-workflow/src/index.ts:579
↓ 7 callersFunctioninstrumentWorkflowServe
( serve: ServeFunction, config?: InstrumentationConfig )
packages/otel-upstash-workflow/src/index.ts:472
↓ 7 callersFunctionotelPlugin
( config?: InstrumentBetterAuthConfig, )
packages/otel-better-auth/src/index.ts:358
↓ 6 callersFunctioncreateMockClient
()
packages/otel-upstash-workflow/src/index.test.ts:47
↓ 6 callersFunctionextractOperation
* Extracts the SQL operation (SELECT, INSERT, etc.) from query text.
packages/otel-drizzle/src/index.ts:122
↓ 6 callersFunctioninstrumentDb
(db: Db, config?: InstrumentMongoDBConfig)
packages/otel-mongodb/src/index.ts:818
↓ 6 callersFunctioninstrumentSandboxClass
( SandboxClass: T, config?: InstrumentE2BConfig )
packages/otel-e2b/src/index.ts:608
↓ 6 callersFunctionsanitizeQueryText
* Sanitizes and truncates query text for safe inclusion in spans.
packages/otel-drizzle/src/index.ts:112
↓ 5 callersFunctioncreateMockRequest
(headers: Record<string, string> = {})
packages/otel-upstash-workflow/src/index.test.ts:221
↓ 5 callersFunctioncreateMockSandboxClass
()
packages/otel-e2b/src/index.test.ts:386
↓ 5 callersFunctioncreateMockServe
()
packages/otel-upstash-workflow/src/index.test.ts:233
↓ 5 callersFunctionextractQueryText
* Extracts SQL query text from various query argument formats.
packages/otel-drizzle/src/index.ts:82
↓ 5 callersFunctionfinalizeSpan
(span: Span, error?: unknown)
packages/otel-upstash-queues/src/index.ts:137
↓ 5 callersFunctioninstrumentedServe
(handler: WorkflowHandler<TContext>)
packages/otel-upstash-workflow/src/index.ts:484
↓ 5 callersFunctionserializeStepData
* Serializes and truncates step data for safe inclusion in spans.
packages/otel-upstash-workflow/src/index.ts:77
↓ 4 callersFunctionextractEmailAddresses
(value: string | string[] | undefined)
packages/otel-inbound/src/index.ts:70
↓ 4 callersFunctionfinalizeSpan
(span: Span, error?: unknown)
packages/otel-resend/src/index.ts:113
↓ 4 callersFunctionfinalizeSpan
* Finalizes a span with status, timing, and optional error.
packages/otel-polar/src/index.ts:72
↓ 4 callersFunctioninstrumentInboundWebhook
( handler: RouteHandler, config?: InstrumentInboundConfig )
packages/otel-inbound/src/index.ts:852
↓ 4 callersFunctioninstrumentMongoClient
( client: MongoClient, config?: InstrumentMongoDBConfig )
packages/otel-mongodb/src/index.ts:890
↓ 4 callersFunctionsanitizeQueryText
* Sanitizes and truncates query text for safe inclusion in spans.
packages/otel-clickhouse/src/index.ts:114
↓ 4 callersFunctionserializeContent
(content: unknown, maxLength: number)
packages/otel-inbound/src/index.ts:87
↓ 3 callersFunctionaddExecutionStats
* Adds ClickHouse execution statistics to span attributes.
packages/otel-clickhouse/src/index.ts:180
↓ 3 callersFunctionannotateEmailSpan
( span: Span, operation: string, resource: string, payload: any, config?: InstrumentInboundConfig )
packages/otel-inbound/src/index.ts:100
↓ 3 callersFunctioncreateMockDb
(dbName = "testdb")
packages/otel-mongodb/src/index.test.ts:573
↓ 3 callersFunctionextractEmailAddresses
(value: string | string[] | undefined)
packages/otel-resend/src/index.ts:36
↓ 3 callersFunctionextractOperation
* Extracts the SQL operation (SELECT, INSERT, etc.) from query text.
packages/otel-clickhouse/src/index.ts:124
↓ 3 callersFunctionextractSummary
* Extracts ClickHouse summary from response headers.
packages/otel-clickhouse/src/index.ts:150
↓ 3 callersFunctionserializeBody
(body: unknown, maxLength: number)
packages/otel-upstash-queues/src/index.ts:56
↓ 2 callersFunctionannotateEmailResponse
( span: Span, response: CreateEmailResponse, )
packages/otel-resend/src/index.ts:103
↓ 2 callersFunctionannotateEmailSpan
(span: Span, payload: CreateEmailOptions)
packages/otel-resend/src/index.ts:52
↓ 2 callersFunctioncreateCollectionMock
(name: string)
packages/otel-mongodb/src/index.test.ts:575
↓ 2 callersFunctioncreateMockClient
()
packages/otel-mongodb/src/index.test.ts:720
↓ 2 callersFunctioninstrumentResource
* Instruments a resource object (like benefits, customers, etc.) with all its methods.
packages/otel-polar/src/index.ts:158
↓ 2 callersFunctionsanitizeFilter
* Sanitizes and truncates filter text for safe inclusion in spans.
packages/otel-mongodb/src/index.ts:124
↓ 2 callersFunctionwrapAuthMethod
* Wraps an async function with OpenTelemetry tracing.
packages/otel-better-auth/src/index.ts:87
↓ 1 callersFunctionannotateAttachResponse
( span: Span, response: { success?: boolean; checkout_url?: string; }, )
packages/otel-autumn/src/index.ts:290
↓ 1 callersFunctionannotateAttachSpan
( span: Span, params: { customer_id: string; product_id: string; entity_id?: string; }, )
packages/otel-autumn/src/index.ts:267
↓ 1 callersFunctionannotateCancelResponse
(span: Span, response: { success?: boolean })
packages/otel-autumn/src/index.ts:324
↓ 1 callersFunctionannotateCancelSpan
( span: Span, params: { customer_id: string; product_id: string; }, )
packages/otel-autumn/src/index.ts:306
↓ 1 callersFunctionannotateCheckResponse
(span: Span, response: Record<string, unknown>)
packages/otel-autumn/src/index.ts:126
↓ 1 callersFunctionannotateCheckSpan
( span: Span, params: { customer_id: string; feature_id?: string; product_id?: string; ent
packages/otel-autumn/src/index.ts:88
↓ 1 callersFunctionannotateCheckoutResponse
( span: Span, response: { url?: string; has_prorations?: boolean; total?: number; currency
packages/otel-autumn/src/index.ts:241
↓ 1 callersFunctionannotateCheckoutSpan
( span: Span, params: { customer_id: string; product_id?: string; product_ids?: string[];
packages/otel-autumn/src/index.ts:199
↓ 1 callersFunctionannotateEmailResponse
(span: Span, response: any)
packages/otel-inbound/src/index.ts:214
↓ 1 callersFunctionannotatePublishResponse
( span: Span, response: { messageId?: string }, )
packages/otel-upstash-queues/src/index.ts:128
↓ 1 callersFunctionannotatePublishSpan
(span: Span, request: PublishRequest<string>, config?: InstrumentationConfig)
packages/otel-upstash-queues/src/index.ts:68
↓ 1 callersFunctionannotateTrackResponse
(span: Span, response: { id?: string })
packages/otel-autumn/src/index.ts:193
↓ 1 callersFunctionannotateTrackSpan
( span: Span, params: { customer_id: string; feature_id?: string; event_name?: string; val
packages/otel-autumn/src/index.ts:152
↓ 1 callersFunctionannotateWebhookSpan
( span: Span, payload: any, config?: InstrumentInboundConfig )
packages/otel-inbound/src/index.ts:780
↓ 1 callersFunctioncreateDbMock
(dbName: string)
packages/otel-mongodb/src/index.test.ts:790
↓ 1 callersFunctioncreateInstrumentedContext
* Creates a proxy around the workflow context to instrument all context methods.
packages/otel-upstash-workflow/src/index.ts:138
↓ 1 callersFunctionendSpanWithError
* Ends a span with an error status and exception recording.
packages/otel-better-auth/src/index.ts:66
↓ 1 callersFunctionendSpanWithSuccess
* Ends a span with a success status.
packages/otel-better-auth/src/index.ts:79
↓ 1 callersFunctionensureOtelPlugin
( auth: TAuth, config: InstrumentBetterAuthConfig & { tracer: Tracer }, )
packages/otel-better-auth/src/index.ts:250
↓ 1 callersFunctionextractQStashHeaders
(request: Request)
packages/otel-upstash-queues/src/index.ts:207
↓ 1 callersFunctionextractWebhookHeaders
(request: Request)
packages/otel-inbound/src/index.ts:762
↓ 1 callersFunctionextractWorkflowHeaders
* Extracts workflow metadata from request headers.
packages/otel-upstash-workflow/src/index.ts:109
↓ 1 callersFunctioninstrumentCommands
* Instruments the commands module of a sandbox.
packages/otel-e2b/src/index.ts:358
↓ 1 callersFunctioninstrumentFilesystem
* Instruments the filesystem module of a sandbox.
packages/otel-e2b/src/index.ts:110
↓ 1 callersFunctioninstrumentServer
* Instruments a Better Auth instance with OpenTelemetry tracing.
packages/otel-better-auth/src/index.ts:195
↓ 1 callersFunctionwrapAsyncMethod
* Generic wrapper to instrument async methods.
packages/otel-polar/src/index.ts:89
↓ 1 callersFunctionwrappedHandler
(req: Request)
packages/otel-upstash-queues/src/index.test.ts:647
Functionget
(target, prop, receiver)
packages/otel-upstash-workflow/src/index.ts:147
FunctioninstrumentedAttach
( params: Parameters<typeof originalAttach>[0], )
packages/otel-autumn/src/index.ts:453
FunctioninstrumentedCancel
( params: Parameters<typeof originalCancel>[0], )
packages/otel-autumn/src/index.ts:487
FunctioninstrumentedCheck
( params: Parameters<typeof originalCheck>[0], )
packages/otel-autumn/src/index.ts:343
FunctioninstrumentedCheckout
( params: Parameters<typeof originalCheckout>[0], )
packages/otel-autumn/src/index.ts:416
FunctioninstrumentedCreateFunction
( payload: CreateEmailOptions, )
packages/otel-resend/src/index.ts:175
next →1–100 of 106, ranked by callers