Note: if this is the first run, see the "first run" section
pnpm run docker:start
- Go to Dashboards and browse available dashboards.
- Login to Grafana as Admin (use credentials from
.env
file). - Choose dashboard from Dashboards or create new one.
- Edit Dashboard and save changes by pressing "Save dashboard" button.
- Export changes. See the "Exporting changes" section.
These dashboards are used only for local development. Alerts and dashboards used by [Grafana Cloud}(https://tiugo.grafana.net) will not be updated this way.
Run exporting scripts in the root directory of this repo:
node scripts/export-grafana-resources.mjs
This will update the files in infrastructure
folder. You can commit these files to share the changes with other devs.
- Node min version:
18.12.1
- PNPM version:
>=8.14.0
. Runnpm install pnpm@8 -g
- Clone repository.
- Go to
tiugo-monitoring
main directory and runpnpm install
. - Duplicate
.env.template
file and save it as.env
. Fill out missing env variables.
After project setup, the project can be started. See the Quick start section.
All test resources are located in src/checks
folder. Split into separate files by check type:
PING
DOMAINS
CERTIFICATES
Each file contains set of check objects of given type, groupped by organization (Tiugo, CKSource, Tiny, ButterCMS, etc.).