Service dependency between web-pages and api
Overview
On 2022-03-31 we've seen service degradation on the api
service and as a result web-pages
was also violating the SLO. This is because web-pages
depends heavily on api
since it uses the API for data.
Proposal
Implement a dependsOn
to have web-pages
depend on api
.
One thing to validate is that api
already depends on patroni
, so we need to check if dependency chains are supported, meaning if patroni
is firing we shouldn't alert on api
(we know this works) and also web-pages
.