diff --git a/src/controllers/request-controller.ts b/src/controllers/request-controller.ts index be186b58..b029b608 100644 --- a/src/controllers/request-controller.ts +++ b/src/controllers/request-controller.ts @@ -135,6 +135,7 @@ export class RequestController { ) } logger.debug(`Found request for ${requestParams.cid} of stream ${requestParams.streamId}`) + Metrics.count(METRIC_NAMES.ANCHOR_ACCEPTED, 1, { source: parseOrigin(req) }) return res.status(StatusCodes.ACCEPTED).json(found) } catch (err: any) { Metrics.count(METRIC_NAMES.REQUEST_NOT_CREATED, 1, { source: parseOrigin(req) })