chore: add telemetry for scrape robots and runs

This commit is contained in:
Rohit Rajan
2025-11-20 19:40:48 +05:30
parent 6477feeaea
commit b2b5a914e7
4 changed files with 51 additions and 3 deletions

View File

@@ -500,12 +500,12 @@ router.post('/recordings/scrape', requireSignIn, async (req: AuthenticatedReques
logger.log('info', `Markdown robot created with id: ${newRobot.id}`);
capture(
'maxun-oss-markdown-robot-created',
'maxun-oss-robot-created',
{
robot_meta: newRobot.recording_meta,
url: url,
recording: newRobot.recording,
}
);
)
return res.status(201).json({
message: 'Markdown robot created successfully.',