# jigmi **Repository Path**: mirrors_jitsi/jigmi ## Basic Information - **Project Name**: jigmi - **Description**: JItsi Generic Monitoring Infrastructure - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2025-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Jigmi - Jitsi Generic Monitoring Infrastructure This repo is for tracking and displaying various metrics that we want to track over time. For now it's far less ambitious than its name and will be used for tracking PSNR calculations over time, but may be extended in the future to track more data. It is designed to be used in conjunction with Jenkins CI, and refers to/uses variables defined in the Jenkins environment (such as build url, build number, etc.) ### Building/deploying `npm install` `npm start` The web server will run on port 8000 by default. The port can be customized by setting the `PORT` env variable, such as: `PORT=8888 npm start` ### Pushing/accessing data The web server currently serves 3 endpoints: * `/` will server the webpage which will display the charts * POSTing to `/psnrResult` will allow pushing a new PSNR test result. The body should be JSON encoded like so: ``` { "buildNum": , "buildUrl": , "psnr": "numSkippedFrames": , "numFrozenFrames": , "totalFrames": } ``` * GETing from `/psnrResults` will return all currently stored PSNR results, formatted like so: ``` [ { "buildNum": 31, "buildUrl": "31", "psnr": 38.04434, "numFrozenFrames": 35, "numSkippedFrames": 33, "totalFrames": 303, "createdAt": "2017-10-30T20:21:44.001Z", "updatedAt": "2017-10-30T20:21:44.001Z" }, { "buildNum": 43, "buildUrl": "http://ci.jitsi.org/brianbuild/25", "psnr": 37.9476, "numFrozenFrames": 14, "numSkippedFrames": 10, "totalFrames": 300, "createdAt": "2017-10-30T18:02:45.465Z", "updatedAt": "2017-10-30T18:02:45.465Z" } ] ```