diff --git a/packages/backend/src/remote/activitypub/resolver.ts b/packages/backend/src/remote/activitypub/resolver.ts index af1b25754..a0b47778e 100644 --- a/packages/backend/src/remote/activitypub/resolver.ts +++ b/packages/backend/src/remote/activitypub/resolver.ts @@ -27,6 +27,7 @@ import { shouldBlockInstance } from "@/misc/should-block-instance.js"; import { apLogger } from "@/remote/activitypub/logger.js"; import { In, IsNull, Not } from "typeorm"; import renderBite from "@/remote/activitypub/renderer/bite.js"; +import { tickResolve } from "@/metrics.js"; export default class Resolver { private history: Set; diff --git a/packages/backend/src/server/activitypub.ts b/packages/backend/src/server/activitypub.ts index 31a0cd898..3545b95c7 100644 --- a/packages/backend/src/server/activitypub.ts +++ b/packages/backend/src/server/activitypub.ts @@ -37,6 +37,7 @@ import { serverLogger } from "./index.js"; import config from "@/config/index.js"; import Koa from "koa"; import renderBite from "@/remote/activitypub/renderer/bite.js"; +import { tickFetch } from "@/metrics.js"; // Init router const router = new Router();