Put Postman collection named as collection.json
into collections
folder.
npm install
npm start
Prometheus endpoint avaliable at http://localhost:3000/prometheus
docker build -t perseus-monitoring:latest .
or
npm run docker:build
docker run -d -p 3000:3000 --name perseus-monitoring perseus-monitoring
or
npm run docker:run
BASEURL
- use {{baseUrl}} in PostmanUSERNAME
- use {{username}} in PostmanPASSWORD
- use {{password}} in Postman
TIMEOUT
- request timeout (defaults to 500)ENDPOINT_NAME
- endpoint name (defaults toprometheus
)PORT
- server port (defaults to 3000)INTERNAL_METRICS
- add node.js app metrics to prometheus (defaults to false)POLLING_INTERVAL
- API check interval (defaults to 10000 ms)
lsof -nP -i4TCP:3000 | grep LISTEN