diff --git a/src/selfhost/pg-queue.ts b/src/selfhost/pg-queue.ts index 0d7733c0d4..6074ad5fdc 100644 --- a/src/selfhost/pg-queue.ts +++ b/src/selfhost/pg-queue.ts @@ -6,6 +6,7 @@ import type { Pool } from "pg"; import { logAudit, extractPayloadType } from "./audit"; import { incr } from "./metrics"; import { withReviewSpan } from "./tracing"; +import { withOtelSpan } from "./otel"; import { captureError } from "./sentry"; import { consumingRetryDelayMs, diff --git a/src/selfhost/sqlite-queue.ts b/src/selfhost/sqlite-queue.ts index 05d800bfb3..b10dde4deb 100644 --- a/src/selfhost/sqlite-queue.ts +++ b/src/selfhost/sqlite-queue.ts @@ -7,6 +7,7 @@ import type { SqliteDriver } from "./d1-adapter"; import { logAudit, extractPayloadType } from "./audit"; import { incr } from "./metrics"; import { withReviewSpan } from "./tracing"; +import { withOtelSpan } from "./otel"; import { captureError } from "./sentry"; import { consumingRetryDelayMs,