Exports useful metrics from Kontena Master into Prometheus.
certificate_validity_seconds{subject="example.com"}
– Validity of TLS certificates managed by Kontena
Please submit further metrics via pull requests.
docker-compose up
alias dc-test="docker-compose -f docker-compose.test.yml up --build --exit-code-from=test"
dc-test
npm install
npm test
npm start
Via environment variables. See Config.ts.
Response:
# HELP certificate_validity_seconds Amount of seconds the certificate will still be valid for
# TYPE certificate_validity_seconds gauge
certificate_validity_seconds{subject="leonidasoy.fi"} 1749873
This project is using the Leonidas Platform Drone CI. All pushes to master
will trigger a production deployment.
If you need to deploy manually, the command to deploy from your working copy is
./deploy.sh
Write type wrappers or get rid of.
-
winston-console-formatter
-
koa-request-logger