tree: 8270c07093e473a91e1a963c2da4c68870fff361 [path history] [tgz]
  1. .gitignore
  2. index.js
  3. package-lock.json
  4. package.json
  5. README.md
tools/st-prom-exporter/README.md

Prom exporter for SurveyTool

What is this? An exporter for https://prometheus.io that reads from the Survey Tool.

Config/Installation

  1. npm i

  2. setup config.json as below:

{
    "instances": {
        "cldr-smoke.unicode.org": "https://cldr-smoke.unicode.org/cldr-apps/SurveyAjax?what=status",
        "st.unicode.org": "https://st.unicode.org/cldr-apps/SurveyAjax?what=status"
    },
    "port": 9099
}
  1. node index.js

Now, the exporter is listening on port 9099 and re-exporting ST metrics as Prometheus metrics.

License and Copyright

©2020 Unicode, Inc. All Rights Reserved.

For license and copyright see https://www.unicode.org/copyright.html or ../../unicode-license.txt