@radicaltools/mcp 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -5
- package/dist/{chunk-Z7THA3L5.js → chunk-KEIZXREX.js} +68 -35
- package/dist/{elkLayout-TAUBPPVN.js → elkLayout-MFJXDTJG.js} +1 -1
- package/dist/hub-catalogue/concern/concern-api-collections.radical +1136 -0
- package/dist/hub-catalogue/concern/concern-api-errors.radical +1180 -0
- package/dist/hub-catalogue/concern/concern-api-evolution.radical +449 -210
- package/dist/hub-catalogue/concern/concern-api-idempotency.radical +1218 -0
- package/dist/hub-catalogue/concern/concern-api-resource-design.radical +1102 -0
- package/dist/hub-catalogue/concern/concern-api-style-guide.radical +1210 -0
- package/dist/hub-catalogue/concern/concern-architecture-style.radical +287 -131
- package/dist/hub-catalogue/concern/concern-audit-trail.radical +1096 -0
- package/dist/hub-catalogue/concern/concern-authentication.radical +247 -37
- package/dist/hub-catalogue/concern/concern-authorization.radical +311 -89
- package/dist/hub-catalogue/concern/concern-availability.radical +287 -63
- package/dist/hub-catalogue/concern/concern-backend-stack.radical +300 -381
- package/dist/hub-catalogue/concern/concern-backup-recovery.radical +385 -129
- package/dist/hub-catalogue/concern/concern-caching.radical +1294 -0
- package/dist/hub-catalogue/concern/concern-capacity.radical +194 -81
- package/dist/hub-catalogue/concern/concern-code-documentation.radical +1397 -0
- package/dist/hub-catalogue/concern/concern-code-quality-gate.radical +1409 -0
- package/dist/hub-catalogue/concern/concern-code-review-branching.radical +1416 -0
- package/dist/hub-catalogue/concern/concern-code-style.radical +1058 -0
- package/dist/hub-catalogue/concern/concern-communication-style.radical +473 -167
- package/dist/hub-catalogue/concern/concern-data-classification.radical +970 -0
- package/dist/hub-catalogue/concern/concern-data-consistency.radical +339 -308
- package/dist/hub-catalogue/concern/concern-data-store.radical +480 -158
- package/dist/hub-catalogue/concern/concern-decomposition.radical +260 -85
- package/dist/hub-catalogue/concern/concern-definition-of-done.radical +1214 -0
- package/dist/hub-catalogue/concern/concern-delivery-metrics.radical +966 -0
- package/dist/hub-catalogue/concern/concern-dependency-hygiene.radical +1345 -0
- package/dist/hub-catalogue/concern/concern-deployment.radical +343 -92
- package/dist/hub-catalogue/concern/concern-encryption.radical +339 -76
- package/dist/hub-catalogue/concern/concern-error-handling-logging.radical +1197 -0
- package/dist/hub-catalogue/concern/concern-eu-dora.radical +1321 -0
- package/dist/hub-catalogue/concern/concern-frontend-stack.radical +467 -160
- package/dist/hub-catalogue/concern/concern-incident-management.radical +1204 -0
- package/dist/hub-catalogue/concern/concern-infrastructure.radical +1300 -268
- package/dist/hub-catalogue/concern/concern-integration-resilience.radical +88 -51
- package/dist/hub-catalogue/concern/concern-messaging.radical +173 -140
- package/dist/hub-catalogue/concern/concern-module-boundaries.radical +162 -159
- package/dist/hub-catalogue/concern/concern-observability.radical +224 -275
- package/dist/hub-catalogue/concern/concern-operational-readiness.radical +1249 -0
- package/dist/hub-catalogue/concern/concern-personal-data.radical +637 -122
- package/dist/hub-catalogue/concern/concern-quality-priorities.radical +1091 -0
- package/dist/hub-catalogue/concern/concern-rate-limiting.radical +433 -141
- package/dist/hub-catalogue/concern/concern-release-versioning.radical +1358 -0
- package/dist/hub-catalogue/concern/concern-retention.radical +1399 -0
- package/dist/hub-catalogue/concern/concern-secrets.radical +332 -74
- package/dist/hub-catalogue/concern/concern-secure-coding.radical +1379 -0
- package/dist/hub-catalogue/concern/concern-secure-development.radical +1245 -0
- package/dist/hub-catalogue/concern/concern-security-detection.radical +1153 -0
- package/dist/hub-catalogue/concern/concern-supply-chain.radical +257 -183
- package/dist/hub-catalogue/concern/concern-technical-debt.radical +1450 -0
- package/dist/hub-catalogue/concern/concern-technology-lifecycle.radical +1145 -0
- package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +271 -137
- package/dist/hub-catalogue/concern/concern-test-strategy.radical +243 -224
- package/dist/hub-catalogue/concern/concern-threat-modelling.radical +1143 -0
- package/dist/index.js +1893 -468
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"trigger": "LIST RELATIONS WHERE (source.type = \"person\" OR source.external = true) AND target.external != true AND (target.type = \"system\" OR target.type = \"container\" OR target.type = \"webapp\" OR target.type = \"component\")",
|
|
20
20
|
"applyTo": "target",
|
|
21
21
|
"why": "people or other systems reach these elements, so how much downtime they may have, and what it takes to stay within it, has to be decided.",
|
|
22
|
-
"group": "
|
|
22
|
+
"group": "operability"
|
|
23
23
|
},
|
|
24
24
|
"sources": [
|
|
25
25
|
{
|
|
@@ -41,6 +41,14 @@
|
|
|
41
41
|
{
|
|
42
42
|
"title": "Sloth: SLO generator for Prometheus",
|
|
43
43
|
"url": "https://sloth.dev/"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"title": "Chaos Mesh documentation",
|
|
47
|
+
"url": "https://chaos-mesh.org/docs/"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"title": "Toxiproxy",
|
|
51
|
+
"url": "https://github.com/Shopify/toxiproxy"
|
|
44
52
|
}
|
|
45
53
|
],
|
|
46
54
|
"templateParams": [
|
|
@@ -54,12 +62,12 @@
|
|
|
54
62
|
{
|
|
55
63
|
"value": "99.0",
|
|
56
64
|
"label": "99.0",
|
|
57
|
-
"description": "Down at most 7 h 12 min per 30 days. One zone, instances restarted by the platform, a managed database with backups. Pick it for internal tools and back-office work that can wait an hour
|
|
65
|
+
"description": "Down at most 7 h 12 min per 30 days. One zone, instances restarted by the platform, a managed database with backups. Pick it for internal tools and back-office work that can wait an hour."
|
|
58
66
|
},
|
|
59
67
|
{
|
|
60
68
|
"value": "99.9",
|
|
61
69
|
"label": "99.9",
|
|
62
|
-
"description": "Down at most 43 min per 30 days. At least two instances in two availability zones and a database that fails over by itself
|
|
70
|
+
"description": "Down at most 43 min per 30 days. At least two instances in two availability zones and a database that fails over by itself. Pick it for most customer-facing services and partner APIs."
|
|
63
71
|
},
|
|
64
72
|
{
|
|
65
73
|
"value": "99.95",
|
|
@@ -82,12 +90,12 @@
|
|
|
82
90
|
"options": [
|
|
83
91
|
{
|
|
84
92
|
"value": "freeze",
|
|
85
|
-
"label": "
|
|
93
|
+
"label": "a release freeze",
|
|
86
94
|
"description": "While the 30-day budget is spent, only reliability and security fixes are deployed. Pick it when the target is in a contract or the same outages keep coming back, and product owners have agreed to it in writing."
|
|
87
95
|
},
|
|
88
96
|
{
|
|
89
97
|
"value": "review",
|
|
90
|
-
"label": "a review sets priorities",
|
|
98
|
+
"label": "a review that sets priorities",
|
|
91
99
|
"description": "A spent budget starts a blameless postmortem and puts its top action into the next iteration; releases go on. Pick it for a young product where shipping matters more than the last nine, or a team without the authority to freeze."
|
|
92
100
|
}
|
|
93
101
|
]
|
|
@@ -101,12 +109,12 @@
|
|
|
101
109
|
"options": [
|
|
102
110
|
{
|
|
103
111
|
"value": "stronger",
|
|
104
|
-
"label": "hard dependencies above
|
|
112
|
+
"label": "hard dependencies above the target",
|
|
105
113
|
"description": "Every service it must call to answer offers a committed availability higher than its own target, and the product of them still meets it. Pick it when the dependencies are managed services or platforms with published SLAs (databases, queues, identity providers)."
|
|
106
114
|
},
|
|
107
115
|
{
|
|
108
116
|
"value": "degrade",
|
|
109
|
-
"label": "degraded service without
|
|
117
|
+
"label": "degraded service without weak dependencies",
|
|
110
118
|
"description": "Dependencies that cannot meet the target are made soft: without them it still serves what does not need them (cached prices, orders queued for later). Pick it when a partner system or an older internal service is weaker than the target."
|
|
111
119
|
}
|
|
112
120
|
]
|
|
@@ -126,13 +134,13 @@
|
|
|
126
134
|
{
|
|
127
135
|
"value": "window",
|
|
128
136
|
"label": "an announced maintenance window",
|
|
129
|
-
"description": "Work that cannot run online gets a weekly window, announced in advance and left out of the measured availability. Pick it for users in one time zone with a quiet night, and only with a target of 99.9 % or less."
|
|
137
|
+
"description": "Work that cannot run online gets a weekly window, announced in advance and left out of the measured availability. Pick it for users in one time zone with a quiet night, and only with a target of 99.9 % or less; not with 99.95 or 99.99."
|
|
130
138
|
}
|
|
131
139
|
]
|
|
132
140
|
},
|
|
133
141
|
{
|
|
134
142
|
"key": "WINDOW",
|
|
135
|
-
"label": "When is the maintenance window?",
|
|
143
|
+
"label": "When is the maintenance window? Only with an announced maintenance window",
|
|
136
144
|
"defaultValue": "Sundays 02:00 to 04:00 UTC"
|
|
137
145
|
}
|
|
138
146
|
]
|
|
@@ -155,7 +163,7 @@
|
|
|
155
163
|
"x": 260,
|
|
156
164
|
"y": 0,
|
|
157
165
|
"ears_type": "ubiquitous",
|
|
158
|
-
"action": "answer at least {{TIER}} % of valid requests in every 30-day window without a server error, measured
|
|
166
|
+
"action": "answer at least {{TIER}} % of valid requests in every 30-day window without a server error, measured with the indicator decided in the Observability pack (good requests at the edge, or probes from outside), with requests refused for the caller's own fault (4xx) left out",
|
|
159
167
|
"rationale": "A target measured as users see it, over a rolling window, is what the error budget and every other decision here rest on (Google SRE book, chapter 4)."
|
|
160
168
|
},
|
|
161
169
|
{
|
|
@@ -167,7 +175,7 @@
|
|
|
167
175
|
"ears_type": "unwanted-behaviour",
|
|
168
176
|
"unwanted_condition": "its only instance, or the host under it, stops",
|
|
169
177
|
"action": "start a replacement automatically and serve again within 15 minutes, without a person",
|
|
170
|
-
"rationale": "At 99.0 % one zone is enough, but 7 h 12 min a month does not cover a restart that waits for someone to notice (AWS Well-Architected REL 11).",
|
|
178
|
+
"rationale": "At 99.0 % one zone is enough, but 7 h 12 min a month does not cover a restart that waits for someone to notice (AWS Well-Architected Reliability Pillar, REL 11: design to withstand component failures).",
|
|
171
179
|
"hubWhen": {
|
|
172
180
|
"TIER": [
|
|
173
181
|
"99.0"
|
|
@@ -183,7 +191,7 @@
|
|
|
183
191
|
"ears_type": "unwanted-behaviour",
|
|
184
192
|
"unwanted_condition": "one availability zone becomes unreachable",
|
|
185
193
|
"action": "keep answering from the remaining zones within 5 minutes, with at least two instances in two zones (three zones for 99.95 %) and enough capacity left to carry the peak",
|
|
186
|
-
"rationale": "A zone loss is a routine event at cloud scale; 43 minutes a month (99.9 %) or 21 (99.95 %) is gone in one outage if serving depends on a single zone (AWS Well-Architected REL 10).",
|
|
194
|
+
"rationale": "A zone loss is a routine event at cloud scale; 43 minutes a month (99.9 %) or 21 (99.95 %) is gone in one outage if serving depends on a single zone (AWS Well-Architected Reliability Pillar, REL 10: use fault isolation).",
|
|
187
195
|
"hubWhen": {
|
|
188
196
|
"TIER": [
|
|
189
197
|
"99.9",
|
|
@@ -215,7 +223,7 @@
|
|
|
215
223
|
"y": 520,
|
|
216
224
|
"ears_type": "state-driven",
|
|
217
225
|
"precondition": "the error budget of the last 30 days is spent",
|
|
218
|
-
"action": "deploy only changes
|
|
226
|
+
"action": "deploy only changes whose pull request is labelled as a reliability or security fix, until the measured availability is back at {{TIER}} % or above",
|
|
219
227
|
"rationale": "An error budget policy agreed in advance turns a missed target into a decision nobody has to argue about (Google SRE workbook, Example Error Budget Policy).",
|
|
220
228
|
"hubWhen": {
|
|
221
229
|
"BUDGET": [
|
|
@@ -231,7 +239,7 @@
|
|
|
231
239
|
"y": 650,
|
|
232
240
|
"ears_type": "event-driven",
|
|
233
241
|
"trigger": "the error budget of the last 30 days is spent",
|
|
234
|
-
"action": "hold a blameless postmortem within 5 working days and put its most important reliability action into the next iteration",
|
|
242
|
+
"action": "open a postmortem ticket within 1 hour, hold a blameless postmortem within 5 working days and put its most important reliability action into the next iteration",
|
|
235
243
|
"rationale": "Without a freeze, the review is what makes a missed target change priorities (Google SRE workbook, Example Error Budget Policy).",
|
|
236
244
|
"hubWhen": {
|
|
237
245
|
"BUDGET": [
|
|
@@ -246,8 +254,8 @@
|
|
|
246
254
|
"x": 260,
|
|
247
255
|
"y": 780,
|
|
248
256
|
"ears_type": "ubiquitous",
|
|
249
|
-
"action": "call synchronously only services whose committed availability is above {{TIER}} %, and keep the product of
|
|
250
|
-
"rationale": "Availability multiplies along hard dependencies: an element cannot promise more than the services it waits for (Google SRE book, chapter 3; AWS Well-Architected REL 1).",
|
|
257
|
+
"action": "call synchronously only services whose committed availability is above {{TIER}} %, and keep the product of its own infrastructure's availability and theirs at or above {{TIER}} %, from a list of hard dependencies kept in the repository",
|
|
258
|
+
"rationale": "Availability multiplies along hard dependencies: an element cannot promise more than the services it waits for (Google SRE book, chapter 3; AWS Well-Architected Reliability Pillar, REL 1: manage service quotas and dependencies).",
|
|
251
259
|
"hubWhen": {
|
|
252
260
|
"DEPENDENCIES": [
|
|
253
261
|
"stronger"
|
|
@@ -262,8 +270,8 @@
|
|
|
262
270
|
"y": 910,
|
|
263
271
|
"ears_type": "unwanted-behaviour",
|
|
264
272
|
"unwanted_condition": "a dependency weaker than its own target does not answer within its timeout",
|
|
265
|
-
"action": "go on serving every operation that does not need it, and answer those that do within 1 second with a degraded result (cached data, work queued for later) or a clear \"try later\"",
|
|
266
|
-
"rationale": "A soft dependency does not count against the target; turning hard dependencies soft is how an element beats the availability of what it calls (AWS Well-Architected REL 5).",
|
|
273
|
+
"action": "go on serving every operation that does not need it, and answer those that do within 1 second with a degraded result (cached data, work queued for later) or a clear \"try later\" (503)",
|
|
274
|
+
"rationale": "A soft dependency does not count against the target; turning hard dependencies soft is how an element beats the availability of what it calls (AWS Well-Architected Reliability Pillar, REL 5: design interactions to mitigate failures).",
|
|
267
275
|
"hubWhen": {
|
|
268
276
|
"DEPENDENCIES": [
|
|
269
277
|
"degrade"
|
|
@@ -273,13 +281,13 @@
|
|
|
273
281
|
{
|
|
274
282
|
"id": "req-online",
|
|
275
283
|
"type": "requirement",
|
|
276
|
-
"label": "Planned work
|
|
284
|
+
"label": "Planned work counts",
|
|
277
285
|
"x": 260,
|
|
278
286
|
"y": 1040,
|
|
279
287
|
"ears_type": "event-driven",
|
|
280
|
-
"trigger": "a release, a schema change or a patch
|
|
281
|
-
"action": "
|
|
282
|
-
"rationale": "Planned work is the most common cause of downtime;
|
|
288
|
+
"trigger": "a release, a schema change or a patch rolls out",
|
|
289
|
+
"action": "count every request it fails meanwhile against the error budget, excluding no time from the measured availability; keeping it answering throughout is required by the Deployment and rollback pack",
|
|
290
|
+
"rationale": "Planned work is the most common cause of downtime; counting it is what makes designing it out worth the effort (Google SRE book, chapter 4).",
|
|
283
291
|
"hubWhen": {
|
|
284
292
|
"MAINTENANCE": [
|
|
285
293
|
"none"
|
|
@@ -294,7 +302,7 @@
|
|
|
294
302
|
"y": 1170,
|
|
295
303
|
"ears_type": "state-driven",
|
|
296
304
|
"precondition": "planned work needs it stopped",
|
|
297
|
-
"action": "stop only within the maintenance window ({{WINDOW}})
|
|
305
|
+
"action": "stop only within the maintenance window ({{WINDOW}}) and only when the window was announced on the status page at least 7 days before, show a maintenance page meanwhile, and leave the window out of the measured availability",
|
|
298
306
|
"rationale": "A window announced in advance is downtime users can plan around; one that is not is an outage (Google SRE book, chapter 4).",
|
|
299
307
|
"hubWhen": {
|
|
300
308
|
"MAINTENANCE": [
|
|
@@ -308,7 +316,7 @@
|
|
|
308
316
|
"label": "Target computed",
|
|
309
317
|
"x": 520,
|
|
310
318
|
"y": 0,
|
|
311
|
-
"given": "30 days of
|
|
319
|
+
"given": "30 days of the indicator",
|
|
312
320
|
"when": "the share of valid requests answered without a 5xx is computed",
|
|
313
321
|
"then": "it is at least {{TIER}} %"
|
|
314
322
|
},
|
|
@@ -381,7 +389,7 @@
|
|
|
381
389
|
"y": 650,
|
|
382
390
|
"given": "a 30-day availability that falls below {{TIER}} %",
|
|
383
391
|
"when": "5 working days pass",
|
|
384
|
-
"then": "a postmortem is written and its top action
|
|
392
|
+
"then": "a postmortem is written, its ticket closed, and its top action planned in the next iteration",
|
|
385
393
|
"hubWhen": {
|
|
386
394
|
"BUDGET": [
|
|
387
395
|
"review"
|
|
@@ -395,7 +403,7 @@
|
|
|
395
403
|
"x": 520,
|
|
396
404
|
"y": 780,
|
|
397
405
|
"given": "the list of services it calls synchronously, with their committed availability",
|
|
398
|
-
"when": "the product of
|
|
406
|
+
"when": "the product of its own infrastructure's availability and theirs is computed",
|
|
399
407
|
"then": "every one is above {{TIER}} % and the product is at least {{TIER}} %",
|
|
400
408
|
"hubWhen": {
|
|
401
409
|
"DEPENDENCIES": [
|
|
@@ -411,7 +419,7 @@
|
|
|
411
419
|
"y": 910,
|
|
412
420
|
"given": "a dependency that stops answering",
|
|
413
421
|
"when": "requests that need it and requests that do not arrive",
|
|
414
|
-
"then": "the second are served as usual and the first get a degraded answer within 1 second",
|
|
422
|
+
"then": "the second are served as usual and the first get a degraded answer or a 503 within 1 second",
|
|
415
423
|
"hubWhen": {
|
|
416
424
|
"DEPENDENCIES": [
|
|
417
425
|
"degrade"
|
|
@@ -421,12 +429,12 @@
|
|
|
421
429
|
{
|
|
422
430
|
"id": "sc-online",
|
|
423
431
|
"type": "scenario",
|
|
424
|
-
"label": "Release
|
|
432
|
+
"label": "Release counted",
|
|
425
433
|
"x": 520,
|
|
426
434
|
"y": 1040,
|
|
427
|
-
"given": "
|
|
428
|
-
"when": "
|
|
429
|
-
"then": "the
|
|
435
|
+
"given": "a release that fails 100 requests while rolling out",
|
|
436
|
+
"when": "the 30-day availability is computed",
|
|
437
|
+
"then": "the 100 failures are in it",
|
|
430
438
|
"hubWhen": {
|
|
431
439
|
"MAINTENANCE": [
|
|
432
440
|
"none"
|
|
@@ -441,7 +449,7 @@
|
|
|
441
449
|
"y": 1170,
|
|
442
450
|
"given": "a migration that needs the element stopped",
|
|
443
451
|
"when": "it is scheduled",
|
|
444
|
-
"then": "it runs within {{WINDOW}},
|
|
452
|
+
"then": "it runs within {{WINDOW}}, the status page announced it 7 days before, users see a maintenance page while it runs, and the minutes are left out of the availability",
|
|
445
453
|
"hubWhen": {
|
|
446
454
|
"MAINTENANCE": [
|
|
447
455
|
"window"
|
|
@@ -457,9 +465,9 @@
|
|
|
457
465
|
"concern": "availability",
|
|
458
466
|
"status": "accepted",
|
|
459
467
|
"date": "",
|
|
460
|
-
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features.",
|
|
468
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features. Who is alerted, and the indicator the objective is measured with, are decided in the Observability pack; how a release rolls out without dropping requests in the Deployment and rollback pack. The snippets of this pack assume the element is order-api, scraped by Prometheus as job order-api and deployed to the shop namespace; rename them for yours.",
|
|
461
469
|
"decision": "The element targets {{TIER}} % per 30 days (7 h 12 min of downtime). It runs in one availability zone on a platform that restarts failed instances by itself: a Kubernetes Deployment with liveness probes, or a managed runtime (Azure App Service, Google Cloud Run, AWS App Runner). Its database is a managed single instance with automated backups. Dependencies: {{DEPENDENCIES}}. Planned work: {{MAINTENANCE}}. When the budget is spent: {{BUDGET}}. Choose the runtime by what the team already operates; a managed runtime unless the element needs Kubernetes features.",
|
|
462
|
-
"consequences": "• The cheapest setup: one copy of everything.\n• A zone outage takes the element down until the zone returns; that is accepted at 99.0 %.\n•
|
|
470
|
+
"consequences": "• The cheapest setup: one copy of everything.\n• A zone outage takes the element down until the zone returns; that is accepted at 99.0 %.\n• An outage can wait as long as the month's budget allows; whether anyone is paged at night is decided in the Observability pack.\n• Moving to 99.9 % later means a second zone and a database that fails over, which this decision does not prepare.",
|
|
463
471
|
"alternatives": "1. Two zones from the start: buys 99.9 % but doubles the cost for users who do not need it.\n2. A single virtual machine restarted by hand: cheaper, but a restart waits for someone to notice.",
|
|
464
472
|
"hubWhen": {
|
|
465
473
|
"TIER": [
|
|
@@ -476,8 +484,8 @@
|
|
|
476
484
|
"concern": "availability",
|
|
477
485
|
"status": "accepted",
|
|
478
486
|
"date": "",
|
|
479
|
-
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features.",
|
|
480
|
-
"decision": "The element targets {{TIER}} % per 30 days. It runs at least two instances in two availability zones (for 99.95 %: three zones, with enough instances that two zones carry the peak), spread with Kubernetes topology spread constraints or zone-redundant platform settings, behind a load balancer that health-checks each instance. Its database fails over to a synchronous standby in another zone by itself: Amazon RDS Multi-AZ, Azure SQL zone-redundant, Cloud SQL high availability or a Patroni cluster. Dependencies: {{DEPENDENCIES}}. Planned work: {{MAINTENANCE}}. When the budget is spent: {{BUDGET}}.
|
|
487
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features. Who is alerted, and the indicator the objective is measured with, are decided in the Observability pack; how a release rolls out without dropping requests in the Deployment and rollback pack. The snippets of this pack assume the element is order-api, scraped by Prometheus as job order-api and deployed to the shop namespace; rename them for yours.",
|
|
488
|
+
"decision": "The element targets {{TIER}} % per 30 days. It runs at least two instances in two availability zones (for 99.95 %: three zones, with enough instances that two zones carry the peak), spread with Kubernetes topology spread constraints or zone-redundant platform settings, behind a load balancer that health-checks each instance. Its database fails over to a synchronous standby in another zone by itself: Amazon RDS Multi-AZ, Azure SQL zone-redundant, Cloud SQL high availability or a Patroni cluster. Dependencies: {{DEPENDENCIES}}. Planned work: {{MAINTENANCE}}. When the budget is spent: {{BUDGET}}. 43 minutes a month (21 for 99.95 %) do not wait for the morning; who is alerted, and when, is decided in the Observability pack.",
|
|
481
489
|
"consequences": "• A zone loss costs minutes of errors, not hours.\n• Roughly twice the compute of one zone (three zones for 99.95 %), and cross-zone traffic is billed.\n• Every instance must be stateless or share state through the database or a cache: sessions and uploads cannot live on one instance.\n• The database failover is a few dozen seconds of errors, which counts against the budget; it is tested, not assumed.",
|
|
482
490
|
"alternatives": "1. One zone and fast restarts: cheaper, but one zone outage uses the whole month's budget.\n2. Two regions active-active: survives a region, at roughly twice the cost and with the hard problem of data replicated across regions.",
|
|
483
491
|
"hubWhen": {
|
|
@@ -496,7 +504,7 @@
|
|
|
496
504
|
"concern": "availability",
|
|
497
505
|
"status": "accepted",
|
|
498
506
|
"date": "",
|
|
499
|
-
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features.",
|
|
507
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features. Who is alerted, and the indicator the objective is measured with, are decided in the Observability pack; how a release rolls out without dropping requests in the Deployment and rollback pack. The snippets of this pack assume the element is order-api, scraped by Prometheus as job order-api and deployed to the shop namespace; rename them for yours.",
|
|
500
508
|
"decision": "The element targets {{TIER}} % per 30 days (4 min 19 s). It runs active-active in two regions, each in at least two zones and each able to carry the whole peak. A global load balancer routes by health and moves traffic without a person: Amazon Route 53 with health checks and Application Recovery Controller, Azure Front Door, or Google Cloud global load balancing. Data is replicated across regions by a store built for it: Amazon Aurora Global Database or DynamoDB global tables, Azure Cosmos DB, Google Cloud Spanner, or CockroachDB; choose by the consistency the data needs (strong across regions: Spanner or CockroachDB; per-region writes with replication lag: Aurora Global Database, DynamoDB global tables). Dependencies: {{DEPENDENCIES}}. Planned work: {{MAINTENANCE}}. When the budget is spent: {{BUDGET}}.",
|
|
501
509
|
"consequences": "• A region outage costs a minute, not the month.\n• Roughly double the infrastructure, plus cross-region data transfer.\n• Writes across regions are slower or eventually consistent; the data model has to be designed for it.\n• Failover is exercised regularly, or it will not work when needed.\n• Every hard dependency, the identity provider included, must also be multi-region.",
|
|
502
510
|
"alternatives": "1. Active-passive with a warm standby region: cheaper, but failover takes minutes and is rarely tested.\n2. Three zones in one region (99.95 %): far simpler, and enough unless a contract demands four nines.",
|
|
@@ -515,8 +523,8 @@
|
|
|
515
523
|
"concern": "availability",
|
|
516
524
|
"status": "accepted",
|
|
517
525
|
"date": "",
|
|
518
|
-
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features.",
|
|
519
|
-
"decision": "The error budget is the downtime {{TIER}} % allows in a rolling 30-day window. While it is spent, the deployment pipeline lets through only changes labelled
|
|
526
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features. Who is alerted, and the indicator the objective is measured with, are decided in the Observability pack; how a release rolls out without dropping requests in the Deployment and rollback pack. The snippets of this pack assume the element is order-api, scraped by Prometheus as job order-api and deployed to the shop namespace; rename them for yours.",
|
|
527
|
+
"decision": "The error budget is the downtime {{TIER}} % allows in a rolling 30-day window. While it is spent, the deployment pipeline lets through only changes whose pull request is labelled reliability-fix or security-fix; feature work resumes when the measured availability is back at {{TIER}} % or above. The policy is signed by the product owner and the team lead, and an exception needs both. The budget is computed from the SLO's recording rules (Sloth or Pyrra on Prometheus, or the SLO feature of Datadog, Grafana Cloud or Google Cloud Monitoring), and the pipeline reads it before every production deploy.",
|
|
520
528
|
"consequences": "• Reliability work wins automatically when users are hurting, with no argument.\n• A bad month can stop feature releases for days; product owners plan for it.\n• The availability measurement must be trusted, since it now gates releases.\n• Fixes have to be labelled honestly; the label is reviewed in the pull request.",
|
|
521
529
|
"alternatives": "1. A review instead of a freeze: keeps shipping, but relies on the review changing priorities.\n2. No policy: the target is reported and nothing follows from it.",
|
|
522
530
|
"hubWhen": {
|
|
@@ -534,7 +542,7 @@
|
|
|
534
542
|
"concern": "availability",
|
|
535
543
|
"status": "accepted",
|
|
536
544
|
"date": "",
|
|
537
|
-
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features.",
|
|
545
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features. Who is alerted, and the indicator the objective is measured with, are decided in the Observability pack; how a release rolls out without dropping requests in the Deployment and rollback pack. The snippets of this pack assume the element is order-api, scraped by Prometheus as job order-api and deployed to the shop namespace; rename them for yours.",
|
|
538
546
|
"decision": "The error budget is the downtime {{TIER}} % allows in a rolling 30-day window. When it is spent, an alert opens a ticket for a blameless postmortem, held within 5 working days; its most important action goes into the next iteration ahead of feature work. Releases are not stopped. The budget is computed from the SLO's recording rules (Sloth or Pyrra on Prometheus, or the SLO feature of Datadog, Grafana Cloud or Google Cloud Monitoring).",
|
|
539
547
|
"consequences": "• Feature releases keep going in a bad month.\n• The postmortem makes the causes visible and gives reliability work a place in the plan.\n• If the same causes keep spending the budget, this decision should be superseded by a freeze.",
|
|
540
548
|
"alternatives": "1. A release freeze: stronger, but needs product owners' agreement and a trusted measurement.\n2. No policy: the target is reported and nothing follows from it.",
|
|
@@ -544,25 +552,146 @@
|
|
|
544
552
|
]
|
|
545
553
|
}
|
|
546
554
|
},
|
|
555
|
+
{
|
|
556
|
+
"id": "adr-deps-stronger",
|
|
557
|
+
"type": "adr",
|
|
558
|
+
"label": "Hard dependencies above the target",
|
|
559
|
+
"x": 780,
|
|
560
|
+
"y": 650,
|
|
561
|
+
"concern": "availability",
|
|
562
|
+
"status": "accepted",
|
|
563
|
+
"date": "",
|
|
564
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features. Who is alerted, and the indicator the objective is measured with, are decided in the Observability pack; how a release rolls out without dropping requests in the Deployment and rollback pack. The snippets of this pack assume the element is order-api, scraped by Prometheus as job order-api and deployed to the shop namespace; rename them for yours.",
|
|
565
|
+
"decision": "Every service the element must call to answer (its hard dependencies) has a committed availability above {{TIER}} %, and the product of the platform's commitment for our own instances and database and the dependencies' commitments is at or above {{TIER}} %. The list of hard dependencies with their committed availability and its source (the SLA page) is kept in the repository and checked by a test; adding a synchronous call to a service not on the list, or a weaker one, fails the build. Managed services with a published SLA (the database, the queue, the identity provider) qualify; a partner system or an older internal service without a commitment does not, and must be made soft before it is called synchronously.",
|
|
566
|
+
"consequences": "• The target is arithmetic, not hope: the list says whether it can be met.\n• A weak dependency cannot be added quietly; making it soft is a design change with its own cost.\n• SLAs are commitments with credits, not guarantees; the measured availability of a dependency can still fall short, and the budget absorbs it.",
|
|
567
|
+
"alternatives": "1. Degraded service without weak dependencies: more design work, but the element beats what it calls.\n2. No rule: the target is promised and the dependencies decide whether it is met.",
|
|
568
|
+
"hubWhen": {
|
|
569
|
+
"DEPENDENCIES": [
|
|
570
|
+
"stronger"
|
|
571
|
+
]
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"id": "adr-deps-degrade",
|
|
576
|
+
"type": "adr",
|
|
577
|
+
"label": "Degraded service without weak dependencies",
|
|
578
|
+
"x": 780,
|
|
579
|
+
"y": 780,
|
|
580
|
+
"concern": "availability",
|
|
581
|
+
"status": "accepted",
|
|
582
|
+
"date": "",
|
|
583
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features. Who is alerted, and the indicator the objective is measured with, are decided in the Observability pack; how a release rolls out without dropping requests in the Deployment and rollback pack. The snippets of this pack assume the element is order-api, scraped by Prometheus as job order-api and deployed to the shop namespace; rename them for yours.",
|
|
584
|
+
"decision": "Dependencies that cannot commit to more than {{TIER}} % are soft: the element times them out quickly (the timeouts and circuit breakers are decided in the Integration resilience pack), keeps serving every operation that does not need them, and answers the operations that do within 1 second with a degraded result (the last cached prices, an order queued for later confirmation) or a clear 503 with Retry-After. Which operations degrade and how is a product decision written next to each one. A drill in staging cuts each weak dependency off with Toxiproxy and checks both behaviours with a load test.",
|
|
585
|
+
"consequences": "• The element's availability no longer multiplies with the partner's.\n• Every degraded path is code and product work: what to show, what to queue, what to refuse.\n• A degraded answer is still an answer users see; the product must accept it.\n• Queued work needs a drain and a way to tell the user later.",
|
|
586
|
+
"alternatives": "1. Hard dependencies above the target only: simpler, but rules out partners without SLAs.\n2. Accepting the dependency's availability as our own: honest, and a lower target.",
|
|
587
|
+
"hubWhen": {
|
|
588
|
+
"DEPENDENCIES": [
|
|
589
|
+
"degrade"
|
|
590
|
+
]
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"id": "adr-no-downtime",
|
|
595
|
+
"type": "adr",
|
|
596
|
+
"label": "No planned downtime",
|
|
597
|
+
"x": 780,
|
|
598
|
+
"y": 910,
|
|
599
|
+
"concern": "availability",
|
|
600
|
+
"status": "accepted",
|
|
601
|
+
"date": "",
|
|
602
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features. Who is alerted, and the indicator the objective is measured with, are decided in the Observability pack; how a release rolls out without dropping requests in the Deployment and rollback pack. The snippets of this pack assume the element is order-api, scraped by Prometheus as job order-api and deployed to the shop namespace; rename them for yours.",
|
|
603
|
+
"decision": "Planned work takes the element down for nobody: releases roll out without dropping requests (as decided in the Deployment and rollback pack), schema changes ship as expand and contract, and patching is a rolling replacement of instances. Nothing is excluded from the measured availability: every request failed during planned work counts against the error budget, which is what keeps the work designed to run online.",
|
|
604
|
+
"consequences": "• Users in every time zone get the same promise at every hour.\n• Every change has to be designed to run beside the previous version; a change that cannot waits for a design, not a window.\n• A clumsy release spends budget like an outage, which is the point.",
|
|
605
|
+
"alternatives": "1. An announced maintenance window: one-step changes, at the price of downtime users have to plan around.\n2. Excluding releases from the measurement: the number improves, the users' experience does not.",
|
|
606
|
+
"hubWhen": {
|
|
607
|
+
"MAINTENANCE": [
|
|
608
|
+
"none"
|
|
609
|
+
]
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"id": "adr-window",
|
|
614
|
+
"type": "adr",
|
|
615
|
+
"label": "An announced maintenance window",
|
|
616
|
+
"x": 780,
|
|
617
|
+
"y": 1040,
|
|
618
|
+
"concern": "availability",
|
|
619
|
+
"status": "accepted",
|
|
620
|
+
"date": "",
|
|
621
|
+
"context": "People or other systems reach this element, so when it is down somebody notices: a customer who cannot buy, a partner whose calls fail. The forces: every extra nine costs more (more zones, more replicas, automation instead of people) while users cannot tell 99.99 % from 100 % behind their own network; the allowed downtime per 30 days shrinks from hours (99.0 %) to minutes (99.99 %), and a person paged at night needs 15 to 30 minutes just to start; an element is never more available than the product of the hard dependencies it calls; planned work (releases, migrations, patching) is downtime too unless it is designed out; and without an agreed number and a policy for when it is missed, reliability work loses every argument against features. Who is alerted, and the indicator the objective is measured with, are decided in the Observability pack; how a release rolls out without dropping requests in the Deployment and rollback pack. The snippets of this pack assume the element is order-api, scraped by Prometheus as job order-api and deployed to the shop namespace; rename them for yours.",
|
|
622
|
+
"decision": "Work that cannot run online stops the element only in the maintenance window, {{WINDOW}}, announced on the status page at least 7 days before as a scheduled maintenance; the maintenance job refuses to run without that announcement. While the element is stopped the edge serves a maintenance page (503 with Retry-After). The window's minutes are left out of the measured availability by a recording rule that marks them; work outside the window, or in an unannounced one, counts as an outage. Releases that can run online still do, as decided in the Deployment and rollback pack.",
|
|
623
|
+
"consequences": "• Large one-step changes stay possible without spending the budget.\n• Users in other time zones see a weekly outage; the window has to be short and rarely used.\n• The window must be announced and kept: an overrun is an outage from the first minute past it.\n• Excluding time from the measurement is a promise users may not share; the contract has to say so.",
|
|
624
|
+
"alternatives": "1. No planned downtime: every change designed to run online, at the cost of that design.\n2. Windows without exclusion from the measurement: honest numbers, and a target that has to leave room for them.",
|
|
625
|
+
"hubWhen": {
|
|
626
|
+
"MAINTENANCE": [
|
|
627
|
+
"window"
|
|
628
|
+
]
|
|
629
|
+
}
|
|
630
|
+
},
|
|
547
631
|
{
|
|
548
632
|
"id": "ff-slo",
|
|
549
633
|
"type": "fitness-fn",
|
|
550
634
|
"label": "Availability SLO measured",
|
|
551
635
|
"x": 1040,
|
|
552
636
|
"y": 0,
|
|
553
|
-
"
|
|
554
|
-
"
|
|
555
|
-
"
|
|
637
|
+
"characteristic": "reliability",
|
|
638
|
+
"scope": "holistic",
|
|
639
|
+
"cadence": "continual",
|
|
640
|
+
"invocation": "automated",
|
|
641
|
+
"description": "An SLO spec generates the Prometheus recording rules for the availability over 30 days and the multiwindow burn-rate alerts; no minute is excluded, so planned work counts. The indicator is the one decided in the Observability pack: the request rates recorded at the edge (shown here), or the probe series as a raw indicator (the commented alternative). The error budget remaining is what the budget policy reads; where the alerts go is decided in the Observability pack.\n\nThreshold: Availability at least {{TIER}} % over every rolling 30 days from the indicator, nothing excluded; a page alert at 14.4 times the allowed burn over 1 hour and a ticket at 6 times over 6 hours\n\nTool: Sloth (Prometheus SLO generator); Pyrra takes the same objective\n\n```yaml\n# sloth generate -i availability.yaml -o availability.rules.yaml\nversion: \"prometheus/v1\"\nservice: \"order-api\"\nlabels:\n owner: \"orders-team\"\nslos:\n - name: \"availability\"\n objective: {{TIER}}\n description: \"Share of valid requests answered without a server error, over 30 days.\"\n sli:\n events:\n error_query: sum(rate(http_server_request_duration_seconds_count{job=\"order-api\",http_response_status_code=~\"5..\"}[{{.window}}]))\n total_query: sum(rate(http_server_request_duration_seconds_count{job=\"order-api\",http_response_status_code!~\"4..\"}[{{.window}}]))\n # with probes as the indicator (Observability pack, ff-probe) use instead:\n # raw:\n # error_ratio_query: 1 - avg_over_time(order_api:probe_up:minute[{{.window}}])\n alerting:\n name: OrderApiAvailability\n page_alert:\n labels: { severity: page }\n ticket_alert:\n labels: { severity: ticket }\n```",
|
|
642
|
+
"hubWhen": {
|
|
643
|
+
"MAINTENANCE": [
|
|
644
|
+
"none"
|
|
645
|
+
]
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"id": "ff-slo-window",
|
|
650
|
+
"type": "fitness-fn",
|
|
651
|
+
"label": "Availability SLO measured outside the window",
|
|
652
|
+
"x": 1040,
|
|
653
|
+
"y": 130,
|
|
654
|
+
"characteristic": "reliability",
|
|
655
|
+
"scope": "holistic",
|
|
656
|
+
"cadence": "continual",
|
|
657
|
+
"invocation": "automated",
|
|
658
|
+
"description": "The same SLO spec as without a window, with the indicator queries dropped while a recording rule marks the maintenance window, so those minutes leave a gap that the 30-day average skips; any other minute counts. The window rule is the only place the window is encoded, next to the time it is announced for. Where the alerts go is decided in the Observability pack.\n\nThreshold: Availability at least {{TIER}} % over every rolling 30 days from the indicator, with only the minutes inside the maintenance window excluded; a page alert at 14.4 times the allowed burn over 1 hour and a ticket at 6 times over 6 hours\n\nTool: Sloth (Prometheus SLO generator) with a Prometheus recording rule for the window\n\n```yaml\n# maintenance.rules.yaml: 1 inside the window ({{WINDOW}}); edit the day and hours to match it\ngroups:\n - name: maintenance-window\n rules:\n - record: maintenance_window\n expr: vector(1) and on() (day_of_week() == 0 and hour() >= 2 and hour() < 4)\n---\n# sloth generate -i availability.yaml -o availability.rules.yaml\nversion: \"prometheus/v1\"\nservice: \"order-api\"\nslos:\n - name: \"availability\"\n objective: {{TIER}}\n description: \"Share of valid requests answered without a server error, over 30 days, outside the maintenance window.\"\n sli:\n events:\n error_query: sum(rate(http_server_request_duration_seconds_count{job=\"order-api\",http_response_status_code=~\"5..\"}[{{.window}}])) unless on() maintenance_window == 1\n total_query: sum(rate(http_server_request_duration_seconds_count{job=\"order-api\",http_response_status_code!~\"4..\"}[{{.window}}])) unless on() maintenance_window == 1\n # with probes as the indicator (Observability pack, ff-probe) use instead:\n # raw:\n # error_ratio_query: (1 - avg_over_time(order_api:probe_up:minute[{{.window}}])) unless on() maintenance_window == 1\n alerting:\n name: OrderApiAvailability\n page_alert:\n labels: { severity: page }\n ticket_alert:\n labels: { severity: ticket }\n```",
|
|
659
|
+
"hubWhen": {
|
|
660
|
+
"MAINTENANCE": [
|
|
661
|
+
"window"
|
|
662
|
+
]
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"id": "ff-window-announced",
|
|
667
|
+
"type": "fitness-fn",
|
|
668
|
+
"label": "Window announced, maintenance page served",
|
|
669
|
+
"x": 1040,
|
|
670
|
+
"y": 260,
|
|
671
|
+
"characteristic": "reliability",
|
|
672
|
+
"scope": "atomic",
|
|
673
|
+
"cadence": "triggered",
|
|
674
|
+
"trigger": "deploy",
|
|
675
|
+
"invocation": "automated",
|
|
676
|
+
"description": "The job that stops the element for maintenance first asks the status page for scheduled maintenances and fails unless one covers the current time and was created at least 7 days earlier; after stopping the element it fetches the public URL and fails unless the maintenance page answers. Shown for Atlassian Statuspage; Instatus and others have the same two fields.\n\nThreshold: The maintenance job runs only when a scheduled maintenance covering now was created on the status page at least 7 days before, and the public URL answers 503 with the maintenance page while the element is stopped\n\nTool: GitHub Actions job with the Statuspage API (curl and jq)\n\n```yaml\njobs:\n maintenance:\n runs-on: ubuntu-latest\n environment: production-maintenance\n steps:\n - name: Announced at least 7 days ago?\n env:\n STATUSPAGE_KEY: ${{ secrets.STATUSPAGE_KEY }}\n PAGE_ID: ${{ vars.STATUSPAGE_PAGE_ID }}\n run: |\n curl -sf -H \"Authorization: OAuth $STATUSPAGE_KEY\" \"https://api.statuspage.io/v1/pages/$PAGE_ID/incidents/scheduled\" \\\n | jq -e 'now as $now | [.[] | select((.scheduled_for | fromdateiso8601) <= $now and (.scheduled_until | fromdateiso8601) >= $now\n and (.created_at | fromdateiso8601) <= (.scheduled_for | fromdateiso8601) - 7 * 86400)] | length > 0' \\\n || { echo \"::error::no scheduled maintenance covering now was announced 7 days ago\"; exit 1; }\n - name: Stop the element and check the maintenance page\n run: |\n kubectl -n shop scale deployment/order-api --replicas=0\n code=$(curl -s -o body.html -w '%{http_code}' https://shop.example.com/)\n test \"$code\" = 503 && grep -qi maintenance body.html || { echo \"::error::no maintenance page (HTTP $code)\"; exit 1; }\n # ... the offline work (Deployment and rollback pack, ff-migration-rehearsal), then scale back up\n```",
|
|
677
|
+
"hubWhen": {
|
|
678
|
+
"MAINTENANCE": [
|
|
679
|
+
"window"
|
|
680
|
+
]
|
|
681
|
+
}
|
|
556
682
|
},
|
|
557
683
|
{
|
|
558
684
|
"id": "ff-instance-loss",
|
|
559
685
|
"type": "fitness-fn",
|
|
560
686
|
"label": "Killed instance comes back",
|
|
561
687
|
"x": 1040,
|
|
562
|
-
"y":
|
|
563
|
-
"
|
|
564
|
-
"
|
|
565
|
-
"
|
|
688
|
+
"y": 390,
|
|
689
|
+
"characteristic": "reliability",
|
|
690
|
+
"scope": "holistic",
|
|
691
|
+
"cadence": "triggered",
|
|
692
|
+
"trigger": "weekly",
|
|
693
|
+
"invocation": "automated",
|
|
694
|
+
"description": "A scheduled chaos experiment kills the element's pod in working hours; the Observability pack's probe records whether it answers again, and an alerting rule fires when the probe has failed for 15 minutes. This snippet is Kubernetes-bound; on a managed runtime the same drill restarts the instance with the platform's CLI (az webapp restart, or scaling the service to zero and back) on the same schedule, and the same alert rule applies.\n\nThreshold: After its instance is killed the element answers the probe again within 15 minutes; a probe that fails for 15 minutes after the drill fires an alert\n\nTool: Chaos Mesh (PodChaos) with a Prometheus alerting rule over the Blackbox exporter\n\n```yaml\napiVersion: chaos-mesh.org/v1alpha1\nkind: Schedule\nmetadata: { name: order-api-instance-loss, namespace: shop }\nspec:\n schedule: \"0 10 * * 2\" # Tuesdays 10:00, in working hours\n type: PodChaos\n historyLimit: 5\n concurrencyPolicy: Forbid\n podChaos:\n action: pod-kill\n mode: all\n selector:\n namespaces: [shop]\n labelSelectors: { app: order-api }\n---\ngroups:\n - name: instance-loss-drill\n rules:\n - alert: OrderApiNotBackAfterInstanceLoss\n expr: probe_success{job=~\"blackbox-order-api-.*\"} == 0\n for: 15m\n labels: { severity: ticket }\n annotations:\n summary: \"Order API has not answered its probe for 15 minutes (instance not replaced by the platform)\"\n```",
|
|
566
695
|
"hubWhen": {
|
|
567
696
|
"TIER": [
|
|
568
697
|
"99.0"
|
|
@@ -574,10 +703,13 @@
|
|
|
574
703
|
"type": "fitness-fn",
|
|
575
704
|
"label": "Zone loss tolerated",
|
|
576
705
|
"x": 1040,
|
|
577
|
-
"y":
|
|
578
|
-
"
|
|
579
|
-
"
|
|
580
|
-
"
|
|
706
|
+
"y": 520,
|
|
707
|
+
"characteristic": "reliability",
|
|
708
|
+
"scope": "holistic",
|
|
709
|
+
"cadence": "temporal",
|
|
710
|
+
"every": "30d",
|
|
711
|
+
"invocation": "automated",
|
|
712
|
+
"description": "A chaos experiment kills every pod of the element on the nodes of one zone at the start of a load test at the expected peak; the load test tags requests by phase and fails when the failure rate after the first 5 minutes is 0.1 % or more. Run it every month and after every change to the deployment, and once a quarter fail over the database as well. Chaos Mesh is Kubernetes-bound; on a managed platform, stop the zone's instances with the cloud CLI at the same moment.\n\nThreshold: With every instance in one zone killed at production-like load, the failure rate from 5 minutes after the kill to the end of the run is below 0.1 %\n\nTool: Grafana k6 with Chaos Mesh (PodChaos by node zone)\n\n```js\n// zone-loss.js (the job starts it and, at the same moment, applies the PodChaos below)\n// apiVersion: chaos-mesh.org/v1alpha1, kind: PodChaos, action: pod-kill, mode: all,\n// selector: { namespaces: [shop], labelSelectors: { app: order-api }, nodeSelectors: { topology.kubernetes.io/zone: eu-west-1a } }\nimport http from 'k6/http'\nimport exec from 'k6/execution'\n\nexport const options = {\n scenarios: {\n peak: { executor: 'constant-arrival-rate', rate: Number(__ENV.RATE), timeUnit: '1s', duration: '20m', preAllocatedVUs: 500, maxVUs: 5000 },\n },\n thresholds: {\n 'http_req_failed{phase:after}': ['rate<0.001'], // from 5 minutes after the kill to the end of the run\n },\n}\n\nexport default function () {\n const phase = exec.instance.currentTestRunDuration > 5 * 60 * 1000 ? 'after' : 'during'\n http.get(`${__ENV.BASE_URL}/orders?page=1`, { tags: { phase } })\n}\n```",
|
|
581
713
|
"hubWhen": {
|
|
582
714
|
"TIER": [
|
|
583
715
|
"99.9",
|
|
@@ -590,10 +722,13 @@
|
|
|
590
722
|
"type": "fitness-fn",
|
|
591
723
|
"label": "Region failover drilled",
|
|
592
724
|
"x": 1040,
|
|
593
|
-
"y":
|
|
594
|
-
"
|
|
595
|
-
"
|
|
596
|
-
"
|
|
725
|
+
"y": 650,
|
|
726
|
+
"characteristic": "reliability",
|
|
727
|
+
"scope": "holistic",
|
|
728
|
+
"cadence": "temporal",
|
|
729
|
+
"every": "90d",
|
|
730
|
+
"invocation": "automated",
|
|
731
|
+
"description": "A quarterly failover drill cuts the application subnets of one region off the network while a k6 probe calls the global endpoint every second from outside; the probe fails if any request fails more than 60 seconds after the cut. The stop condition ends the experiment when the global error alarm fires. The experiment shown is AWS-bound (Fault Injection Service); on Azure, Chaos Studio's network disconnect fault on the region's virtual network does the same, and on Google Cloud a firewall rule that drops the region's ingress, applied by the drill script.\n\nThreshold: With one region cut off, every request is answered from the other region within 60 seconds; 0 % errors after that\n\nTool: AWS Fault Injection Service (network disruption), with a k6 probe on the global endpoint\n\n```json\n{\n \"description\": \"Cut region A's application subnets off; traffic must move to region B within 60 s\",\n \"targets\": {\n \"appSubnets\": {\n \"resourceType\": \"aws:ec2:subnet\",\n \"resourceTags\": { \"tier\": \"app\", \"service\": \"order-api\" },\n \"selectionMode\": \"ALL\"\n }\n },\n \"actions\": {\n \"isolateRegion\": {\n \"actionId\": \"aws:network:disrupt-connectivity\",\n \"parameters\": { \"duration\": \"PT15M\", \"scope\": \"all\" },\n \"targets\": { \"Subnets\": \"appSubnets\" }\n }\n },\n \"stopConditions\": [\n { \"source\": \"aws:cloudwatch:alarm\", \"value\": \"arn:aws:cloudwatch:us-east-1:123456789012:alarm:global-error-rate\" }\n ],\n \"roleArn\": \"arn:aws:iam::123456789012:role/fis-experiments\"\n}\n```",
|
|
597
732
|
"hubWhen": {
|
|
598
733
|
"TIER": [
|
|
599
734
|
"99.99"
|
|
@@ -605,10 +740,13 @@
|
|
|
605
740
|
"type": "fitness-fn",
|
|
606
741
|
"label": "Spent budget blocks deploys",
|
|
607
742
|
"x": 1040,
|
|
608
|
-
"y":
|
|
609
|
-
"
|
|
610
|
-
"
|
|
611
|
-
"
|
|
743
|
+
"y": 780,
|
|
744
|
+
"characteristic": "reliability",
|
|
745
|
+
"scope": "holistic",
|
|
746
|
+
"cadence": "triggered",
|
|
747
|
+
"trigger": "deploy",
|
|
748
|
+
"invocation": "automated",
|
|
749
|
+
"description": "A pipeline step before every production deploy looks up the pull request of the commit being deployed (so it works on push and manual deploys, not only pull_request runs), lets labelled fixes through, and otherwise reads the error budget remaining from Prometheus (the Sloth recording rule) and fails when it is spent.\n\nThreshold: A production deploy of a commit whose pull request carries neither the reliability-fix nor the security-fix label is refused whenever the 30-day error budget remaining is 0 or below\n\nTool: GitHub Actions step with the GitHub CLI and the Prometheus HTTP API\n\n```yaml\n- name: Error budget gate\n env:\n GH_TOKEN: ${{ github.token }}\n run: |\n labels=$(gh api \"repos/${{ github.repository }}/commits/$GITHUB_SHA/pulls\" --jq '[.[].labels[].name] | join(\",\")')\n case \",$labels,\" in\n *,reliability-fix,*|*,security-fix,*) echo \"Labelled fix: not gated by the error budget\"; exit 0;;\n esac\n remaining=$(curl -sf \"$PROMETHEUS_URL/api/v1/query\" \\\n --data-urlencode 'query=slo:period_error_budget_remaining:ratio{sloth_service=\"order-api\",sloth_slo=\"availability\"}' \\\n | jq -r '.data.result[0].value[1]')\n echo \"Error budget remaining: $remaining\"\n if awk \"BEGIN { exit !($remaining <= 0) }\"; then\n echo \"::error::Error budget spent: only reliability or security fixes deploy (ADR Spent budget freezes releases)\"\n exit 1\n fi\n```",
|
|
612
750
|
"hubWhen": {
|
|
613
751
|
"BUDGET": [
|
|
614
752
|
"freeze"
|
|
@@ -620,15 +758,53 @@
|
|
|
620
758
|
"type": "fitness-fn",
|
|
621
759
|
"label": "Spent budget opens a review",
|
|
622
760
|
"x": 1040,
|
|
623
|
-
"y":
|
|
624
|
-
"
|
|
625
|
-
"
|
|
626
|
-
"
|
|
761
|
+
"y": 910,
|
|
762
|
+
"characteristic": "reliability",
|
|
763
|
+
"scope": "holistic",
|
|
764
|
+
"cadence": "continual",
|
|
765
|
+
"invocation": "automated",
|
|
766
|
+
"description": "An alerting rule fires when the error budget remaining reaches 0 and Alertmanager routes it to the ticket system (GitHub Issues through a webhook bridge, or Jira), which opens an issue labelled postmortem; a weekly job fails when such an issue has been open longer than 7 days, so the postmortem was not held in time.\n\nThreshold: An alert fires within 15 minutes of the error budget reaching 0 and routes to the ticket system; 0 postmortem tickets open longer than 7 calendar days (5 working days)\n\nTool: Prometheus alerting rule routed by Alertmanager; GitHub CLI in a scheduled job\n\n```yaml\ngroups:\n - name: error-budget\n rules:\n - alert: OrderApiErrorBudgetSpent\n expr: slo:period_error_budget_remaining:ratio{sloth_service=\"order-api\",sloth_slo=\"availability\"} <= 0\n for: 15m\n labels:\n severity: ticket\n action: postmortem\n annotations:\n summary: \"Order API spent its 30-day error budget ({{TIER}} %)\"\n description: \"Hold a blameless postmortem within 5 working days (ADR Spent budget triggers a review).\"\n---\n# weekly job: every postmortem ticket closed within 5 working days\n- env:\n GH_TOKEN: ${{ github.token }}\n run: |\n since=$(date -u -d '-7 days' +%FT%TZ)\n old=$(gh issue list --label postmortem --state open --json number,createdAt --jq \"[.[] | select(.createdAt < \\\"$since\\\")] | length\")\n test \"$old\" -eq 0 || { echo \"::error::$old postmortem tickets open longer than 5 working days\"; exit 1; }\n```",
|
|
627
767
|
"hubWhen": {
|
|
628
768
|
"BUDGET": [
|
|
629
769
|
"review"
|
|
630
770
|
]
|
|
631
771
|
}
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"id": "ff-dependency-budget",
|
|
775
|
+
"type": "fitness-fn",
|
|
776
|
+
"label": "Dependency availability adds up",
|
|
777
|
+
"x": 1040,
|
|
778
|
+
"y": 1040,
|
|
779
|
+
"characteristic": "reliability",
|
|
780
|
+
"scope": "atomic",
|
|
781
|
+
"cadence": "triggered",
|
|
782
|
+
"trigger": "pull-request",
|
|
783
|
+
"invocation": "automated",
|
|
784
|
+
"description": "A test reads the list of hard dependencies kept in the repository, with each one's committed availability and the SLA it comes from, and fails when any is at or below the target or when the product, with the platform's commitment for our own instances and database, falls below it. Adding a synchronous call means adding a line, which the reviewer sees.\n\nThreshold: Every hard dependency in the list has a committed availability above {{TIER}} %, and the product of our own infrastructure's commitment and theirs is at least {{TIER}} %\n\nTool: Vitest over reliability/dependencies.yaml\n\n```ts\nimport { readFileSync } from 'node:fs'\nimport { parse } from 'yaml'\n\n// reliability/dependencies.yaml:\n// own_infrastructure: 99.95 # the platform's commitment for our instances and database (e.g. EKS + RDS Multi-AZ SLAs)\n// hard: # services the element waits for to answer\n// - { name: Orders database (RDS Multi-AZ), availability: 99.95, source: \"https://aws.amazon.com/rds/sla/\" }\n// - { name: Identity provider (Entra ID), availability: 99.99, source: \"Microsoft Entra SLA\" }\ntype Dependency = { name: string; availability: number; source: string }\nconst TARGET = {{TIER}}\nconst deps = parse(readFileSync('reliability/dependencies.yaml', 'utf8')) as { own_infrastructure: number; hard: Dependency[] }\n\nit('every hard dependency commits to more than the target', () => {\n expect(deps.hard.filter((d) => d.availability <= TARGET).map((d) => d.name)).toEqual([])\n})\n\nit('the product of our infrastructure and the hard dependencies meets the target', () => {\n const product = deps.hard.reduce((p, d) => p * (d.availability / 100), deps.own_infrastructure / 100) * 100\n expect(product).toBeGreaterThanOrEqual(TARGET)\n})\n```",
|
|
785
|
+
"hubWhen": {
|
|
786
|
+
"DEPENDENCIES": [
|
|
787
|
+
"stronger"
|
|
788
|
+
]
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"id": "ff-degrade",
|
|
793
|
+
"type": "fitness-fn",
|
|
794
|
+
"label": "Serves without the weak dependency",
|
|
795
|
+
"x": 1040,
|
|
796
|
+
"y": 1170,
|
|
797
|
+
"characteristic": "reliability",
|
|
798
|
+
"scope": "holistic",
|
|
799
|
+
"cadence": "triggered",
|
|
800
|
+
"trigger": "release",
|
|
801
|
+
"invocation": "automated",
|
|
802
|
+
"description": "A k6 run in staging cuts the weak dependency off through Toxiproxy (a timeout toxic that drops every byte), keeps sending a mix of operations that need it and operations that do not, and checks the two behaviours separately; it removes the toxic afterwards. Staging reaches the dependency through the Toxiproxy proxy named partner.\n\nThreshold: With the weak dependency cut off: operations that do not need it fail below 0.1 %, and operations that need it answer 200 or 503 within 1 second at the 95th percentile\n\nTool: Grafana k6 with Toxiproxy\n\n```js\n// k6 run --env BASE_URL=https://staging.shop.example --env TOXIPROXY=http://toxiproxy:8474 degrade.js\nimport http from 'k6/http'\nimport { check } from 'k6'\n\nexport const options = {\n scenarios: {\n mixed: { executor: 'constant-arrival-rate', rate: 20, timeUnit: '1s', duration: '5m', preAllocatedVUs: 50, maxVUs: 500 },\n },\n thresholds: {\n 'http_req_failed{op:independent}': ['rate<0.001'], // operations that do not need the partner keep serving\n 'http_req_duration{op:dependent}': ['p(95)<1000'], // operations that need it answer within 1 s ...\n 'checks{op:dependent}': ['rate==1'], // ... with a degraded result (200) or a clear \"try later\" (503)\n },\n}\n\nconst JSON_HEADERS = { headers: { 'Content-Type': 'application/json' } }\n\nexport function setup() {\n http.post(`${__ENV.TOXIPROXY}/proxies/partner/toxics`,\n JSON.stringify({ name: 'partner_down', type: 'timeout', stream: 'downstream', toxicity: 1.0, attributes: { timeout: 0 } }), JSON_HEADERS)\n}\n\nexport function teardown() {\n http.del(`${__ENV.TOXIPROXY}/proxies/partner/toxics/partner_down`)\n}\n\nexport default function () {\n http.get(`${__ENV.BASE_URL}/orders?page=1`, { tags: { op: 'independent' } })\n const res = http.get(`${__ENV.BASE_URL}/prices/42`, { tags: { op: 'dependent' } })\n check(res, { 'degraded or try later': (r) => r.status === 200 || r.status === 503 }, { op: 'dependent' })\n}\n```",
|
|
803
|
+
"hubWhen": {
|
|
804
|
+
"DEPENDENCIES": [
|
|
805
|
+
"degrade"
|
|
806
|
+
]
|
|
807
|
+
}
|
|
632
808
|
}
|
|
633
809
|
],
|
|
634
810
|
"relations": [
|
|
@@ -770,6 +946,42 @@
|
|
|
770
946
|
"targetId": "adr-multi-region",
|
|
771
947
|
"relationType": "implements"
|
|
772
948
|
},
|
|
949
|
+
{
|
|
950
|
+
"id": "ff-slo--implements--adr-no-downtime",
|
|
951
|
+
"sourceId": "ff-slo",
|
|
952
|
+
"targetId": "adr-no-downtime",
|
|
953
|
+
"relationType": "implements"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"id": "ff-slo-window--implements--adr-one-zone",
|
|
957
|
+
"sourceId": "ff-slo-window",
|
|
958
|
+
"targetId": "adr-one-zone",
|
|
959
|
+
"relationType": "implements"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"id": "ff-slo-window--implements--adr-multi-zone",
|
|
963
|
+
"sourceId": "ff-slo-window",
|
|
964
|
+
"targetId": "adr-multi-zone",
|
|
965
|
+
"relationType": "implements"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"id": "ff-slo-window--implements--adr-multi-region",
|
|
969
|
+
"sourceId": "ff-slo-window",
|
|
970
|
+
"targetId": "adr-multi-region",
|
|
971
|
+
"relationType": "implements"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"id": "ff-slo-window--implements--adr-window",
|
|
975
|
+
"sourceId": "ff-slo-window",
|
|
976
|
+
"targetId": "adr-window",
|
|
977
|
+
"relationType": "implements"
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"id": "ff-window-announced--implements--adr-window",
|
|
981
|
+
"sourceId": "ff-window-announced",
|
|
982
|
+
"targetId": "adr-window",
|
|
983
|
+
"relationType": "implements"
|
|
984
|
+
},
|
|
773
985
|
{
|
|
774
986
|
"id": "ff-instance-loss--implements--adr-one-zone",
|
|
775
987
|
"sourceId": "ff-instance-loss",
|
|
@@ -799,6 +1011,18 @@
|
|
|
799
1011
|
"sourceId": "ff-budget-review",
|
|
800
1012
|
"targetId": "adr-budget-review",
|
|
801
1013
|
"relationType": "implements"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"id": "ff-dependency-budget--implements--adr-deps-stronger",
|
|
1017
|
+
"sourceId": "ff-dependency-budget",
|
|
1018
|
+
"targetId": "adr-deps-stronger",
|
|
1019
|
+
"relationType": "implements"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"id": "ff-degrade--implements--adr-deps-degrade",
|
|
1023
|
+
"sourceId": "ff-degrade",
|
|
1024
|
+
"targetId": "adr-deps-degrade",
|
|
1025
|
+
"relationType": "implements"
|
|
802
1026
|
}
|
|
803
1027
|
]
|
|
804
1028
|
}
|