Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TargetData sourceExpected ValueExpected (if)
& Otherwise
Action (then)Personnel
DatabaseBioHPC: test.sampleCount of entries filtered by:
(date_time in last 48 hours)
>= 1// Do nothing



== 0 (or timeout)alert_count + 1All
Backend mobile APIs


mobile test server
/api/monitoring
{
  "api_env": "test",
  "connected_db": "test",
  "pipeline": "mobile"
}
Match all keys/values// Do nothing


else (or timeout)alert_count + 1Chengyong, Vivian
mobile prod server
/api/monitoring
{
  "api_env": "production",
  "connected_db": "production",
  "pipeline": "mobile"
}
Match all keys/values// Do nothing


else (or timeout)alert_count + 1Chengyong, Vivian






Backend dashboard APIs


dashboard test server
/env
{
  "api_env": "TEST",
  "connected_db": "TEST",
  "pipeline": "dashboard"
}
Match all keys/values// Do nothing


else (or timeout)alert_count + 1Weihang
dashboard prod server
/env
{
  "api_env": "PROD",
  "connected_db": "PROD",
  "pipeline": "dashboard"
}
Match all keys/values// Do nothing


else (or timeout)alert_count + 1Weihang






Frontend dashboardfrontend prod server
(Note: There is not test
 server for frontend dashboard.
Developers' local laptop is
used as test server.)

Source code of any page
e.g. /status 
In source code, inside
<div id="status" hidden="">...</div>
{
"env":"prod",
"connected_api":"prod",
"pipeline":"dashboard",
"api_base_url":"https://dashboard-prod.diaper.cf:5000"
}
Match all keys/values// Do nothing



else (or timeout)alert_count + 1Emanuele, Audrey

...