├── .circleci └── config.yml ├── .dockerignore ├── .eslintignore ├── .eslintrc.js ├── .eslintrc.json ├── .github ├── dependabot.yml └── workflows │ ├── dependency-review.yml │ └── yarn_upgrade.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── charts └── polkadot-watcher │ ├── Chart.yaml │ ├── templates │ ├── _helpers.tpl │ ├── alertrules.yaml │ ├── configmap.yaml │ ├── deployment.yaml │ ├── service.yaml │ └── servicemonitor.yaml │ └── values.yaml ├── config └── main.sample.yaml ├── package.json ├── scripts ├── integration-tests.sh ├── patch.sh └── test_prometheus_rules.sh ├── src ├── actions │ └── start.ts ├── client.ts ├── constants.ts ├── gitConfigLoader │ ├── disabled.ts │ ├── gitConfigLoaderFactory.ts │ ├── gitConfigLoaderInterface.ts │ └── gitLabPrivate.ts ├── index.ts ├── logger.ts ├── prometheus.ts ├── subscriber.ts ├── types.ts └── utils.ts ├── test ├── mocks.ts ├── prometheus │ └── alertrules.yaml └── subscriber.ts ├── tsconfig.json └── yarn.lock /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/.dockerignore -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/dependency-review.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/.github/workflows/dependency-review.yml -------------------------------------------------------------------------------- /.github/workflows/yarn_upgrade.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/.github/workflows/yarn_upgrade.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/README.md -------------------------------------------------------------------------------- /charts/polkadot-watcher/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/charts/polkadot-watcher/Chart.yaml -------------------------------------------------------------------------------- /charts/polkadot-watcher/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/charts/polkadot-watcher/templates/_helpers.tpl -------------------------------------------------------------------------------- /charts/polkadot-watcher/templates/alertrules.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/charts/polkadot-watcher/templates/alertrules.yaml -------------------------------------------------------------------------------- /charts/polkadot-watcher/templates/configmap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/charts/polkadot-watcher/templates/configmap.yaml -------------------------------------------------------------------------------- /charts/polkadot-watcher/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/charts/polkadot-watcher/templates/deployment.yaml -------------------------------------------------------------------------------- /charts/polkadot-watcher/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/charts/polkadot-watcher/templates/service.yaml -------------------------------------------------------------------------------- /charts/polkadot-watcher/templates/servicemonitor.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/charts/polkadot-watcher/templates/servicemonitor.yaml -------------------------------------------------------------------------------- /charts/polkadot-watcher/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/charts/polkadot-watcher/values.yaml -------------------------------------------------------------------------------- /config/main.sample.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/config/main.sample.yaml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/package.json -------------------------------------------------------------------------------- /scripts/integration-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/scripts/integration-tests.sh -------------------------------------------------------------------------------- /scripts/patch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/scripts/patch.sh -------------------------------------------------------------------------------- /scripts/test_prometheus_rules.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/scripts/test_prometheus_rules.sh -------------------------------------------------------------------------------- /src/actions/start.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/actions/start.ts -------------------------------------------------------------------------------- /src/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/client.ts -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/gitConfigLoader/disabled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/gitConfigLoader/disabled.ts -------------------------------------------------------------------------------- /src/gitConfigLoader/gitConfigLoaderFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/gitConfigLoader/gitConfigLoaderFactory.ts -------------------------------------------------------------------------------- /src/gitConfigLoader/gitConfigLoaderInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/gitConfigLoader/gitConfigLoaderInterface.ts -------------------------------------------------------------------------------- /src/gitConfigLoader/gitLabPrivate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/gitConfigLoader/gitLabPrivate.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/logger.ts -------------------------------------------------------------------------------- /src/prometheus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/prometheus.ts -------------------------------------------------------------------------------- /src/subscriber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/subscriber.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/mocks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/test/mocks.ts -------------------------------------------------------------------------------- /test/prometheus/alertrules.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/test/prometheus/alertrules.yaml -------------------------------------------------------------------------------- /test/subscriber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/test/subscriber.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-watcher-validator/HEAD/yarn.lock --------------------------------------------------------------------------------