Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.gitignore | D | 23-Nov-2023 | 27 | 3 | 2 | |
README.md | D | 23-Nov-2023 | 746 | 32 | 22 | |
index.js | D | 23-Nov-2023 | 4.4 KiB | 145 | 134 | |
package-lock.json | D | 23-Nov-2023 | 15.7 KiB | 421 | 420 | |
package.json | D | 23-Nov-2023 | 578 | 23 | 22 |
README.md
1# Prom exporter for SurveyTool 2 3What is this? An exporter for <https://prometheus.io> that reads from the 4Survey Tool. 5 6## Config/Installation 7 81. `npm i` 9 102. setup `config.json` as below: 11 12```json 13{ 14 "instances": { 15 "cldr-smoke.unicode.org": "https://cldr-smoke.unicode.org/cldr-apps/SurveyAjax?what=status", 16 "st.unicode.org": "https://st.unicode.org/cldr-apps/SurveyAjax?what=status" 17 }, 18 "port": 9099 19} 20``` 21 223. `node index.js` 23 24Now, the exporter is listening on port 9099 and re-exporting ST metrics as Prometheus metrics. 25 26## License and Copyright 27 28©2020 Unicode, Inc. All Rights Reserved. 29 30For license and copyright see 31https://www.unicode.org/copyright.html 32or [../../unicode-license.txt](../../unicode-license.txt)