-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.upptimerc.yml
More file actions
92 lines (88 loc) · 3.71 KB
/
Copy path.upptimerc.yml
File metadata and controls
92 lines (88 loc) · 3.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Change these first
owner: bcit-tlu # Your GitHub organization or username, where this repository lives
repo: status # The name of this repository
# Complete allowlist of repository secrets exposed to the uptime checks.
# GH_PAT is passed separately by the generated workflows and must not be listed.
secrets:
- GRAFANA_DEADMAN_TOKEN
sites:
- name: "cdn: sugar-suite/974f0ac"
url: https://bcit-ltc-cdn-h3aafscucgd4dvd3.z03.azurefd.net/bcit-ltc/sugar-suite/974f0ac/js/lat.js
- name: Conversion Guide
url: https://conversion-guide.ltc.bcit.ca
- name: CORGI
url: https://corgi.ltc.bcit.ca
- name: Course Workload Estimator
url: https://course-workload-estimator.ltc.bcit.ca
- name: H5P
url: https://h5p.commons.bcit.ca
- name: HRIV
url: https://hriv.ltc.bcit.ca
- name: Learning Hub
url: https://learn.bcit.ca/shared/header.htm
- name: Legacy apps
url: https://ltc.bcit.ca/multimedia/
- name: Open Data
url: https://open-data.ltc.bcit.ca
- name: qcon-web
url: https://qcon-web.ltc.bcit.ca
- name: qcon-api
url: https://qcon-api.ltc.bcit.ca
- name: QF-PCR
url: https://qf-pcr.ltc.bcit.ca
- name: Tech Ops Docs
url: https://tech-ops-docs.ltc.bcit.ca
- name: Sugar Suite
url: https://sugar-suite.ltc.bcit.ca
- name: public/v1
url: https://ltc.bcit.ca/public/v1/js/lat.js
- name: ETS Online Help Centre
url: https://www.techhelpbcit.ca/
maxResponseTime: 5000
# Deadman's switch for the stable cluster's monitoring stack: instead of the
# stack alerting us, we ask it from outside whether it is still alive. The
# kube-prometheus-stack Watchdog alert always fires while Prometheus is
# evaluating rules, and is routed to a null receiver in-cluster, so its
# absence here means rule evaluation (or Prometheus, or Grafana, or the
# ingress) has stopped.
# An expired/revoked token returns 401 rather than an empty result, so a
# credential problem is distinguishable from a real outage in history/*.yml.
- name: Monitoring (Watchdog)
slug: monitoring-deadman
url: https://grafana.ltc.bcit.ca/api/datasources/proxy/uid/prometheus/api/v1/query?query=ALERTS%7Balertname%3D%22Watchdog%22%2Calertstate%3D%22firing%22%7D
headers:
- "Authorization: Bearer $GRAFANA_DEADMAN_TOKEN"
expectedStatusCodes:
- 200
__dangerous__body_down_if_text_missing: '"alertname":"Watchdog"'
maxResponseTime: 10000
# Watchdog only proves Prometheus is evaluating rules; alerts still go nowhere
# if Alertmanager is absent. The `== 1` makes the result
# empty when the target exists but is unhealthy, not just when it is missing.
- name: Alertmanager (stable)
slug: alertmanager-stable
url: https://grafana.ltc.bcit.ca/api/datasources/proxy/uid/prometheus/api/v1/query?query=up%7Bjob%3D%22kps-alertmanager%22%7D%20%3D%3D%201
headers:
- "Authorization: Bearer $GRAFANA_DEADMAN_TOKEN"
expectedStatusCodes:
- 200
__dangerous__body_down_if_text_missing: '"job":"kps-alertmanager"'
maxResponseTime: 10000
status-website:
# Add your custom domain name, or remove the `cname` line if you don't have a domain
# Uncomment the `baseUrl` line if you don't have a custom domain and add your repo name there
# cname: demo.upptime.js.org
baseUrl: /status
# logoUrl: https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/icon.svg
name: status
introTitle: BCIT TLU Service Status Dashboard
# themeUrl: https://bcit-ltc.github.io/status/custom.css
introMessage:
# navbar:
# - title: Status
# href: /
# - title: GitHub
# href: https://github.com/$OWNER/$REPO
theme: ocean
# Upptime also supports notifications, assigning issues, and more
# See https://upptime.js.org/docs/configuration