Skip to content

Commit

Permalink
copy improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
alexewerlof committed Sep 25, 2024
1 parent b6dd0dc commit 29209c1
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 30 deletions.
6 changes: 6 additions & 0 deletions views/metric-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ <h2>Symptoms</h2>
</tr>
</tbody>
</table>
<div v-if="metric.measuredFailures.length === 0" class="error block">
<p>
This metric is not tied to any failure.
A good service level indicator ties to at least one possible failure symptom.
</p>
</div>
</div>
<div class="annotated__help">
<p>
Expand Down
41 changes: 25 additions & 16 deletions views/risk-view.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
<div>
<div class="annotated">
<div class="annotated__controls">
<h2>Business Impact</h2>
<input type="text" v-model="failure.businessImpact">
<h2>Consumption</h2>
<p>{{ failure.consumption }}</p>
<h2>Symptom</h2>
<p>{{ failure.symptom }}</p>
<h2>Service</h2>
<p>{{ failure.service }}</p>
<h2>Consequence</h2>
{{ failure.consequence }}
</div>
<div class="annotated__help">
<p>
What is the business impacted when
{{ failure.consequence }}
because
{{ failure.symptom }} (symptom)
which is caused by
{{ failure.service.displayName }}
(provided by {{ failure.service.system.displayName }})
when
{{ failure.consumption.consumer.displayName }}
is trying to
{{ failure.consumption.displayName }}
</p>
<code>
<span title="Consequence" class="exprs">
{{ failure.consequence }}
Expand Down Expand Up @@ -50,6 +43,18 @@ <h2>Business Impact</h2>
</span>
</code>
</div>
<div class="annotated__controls">
<h2>Business Impact</h2>
<input type="text" v-model="failure.businessImpact">
</div>
<div class="annotated__help">
<p>
What is the business impacted of this failure?
</p>
<p>
When thinking about the business impact, think about the money, time, and resources that are lost when this failure occurs.
</p>
</div>
</div>

<div class="annotated">
Expand All @@ -73,7 +78,11 @@ <h2>Priority</h2>
</div>
<div class="annotated__help">
<p>
YY
Risk = likelihood &times; impact
</p>
<p>
What is the negative impact of this failure?
We use this setting to sort the metrics by the priority of the risks they monitor.
</p>
</div>
</div>
Expand Down
29 changes: 15 additions & 14 deletions views/service-metric-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,21 @@
<h2>Service</h2>
<p>{{ service }}</p>
<h2>Failures</h2>
<div v-for="failure of service.failures">
<h3>{{ failure.symptom }}</h3>
<div v-if="service.failures.length === 0" class="error block">
<p>
You have not identified any failures for this service.
Make sure that there is a consumption for this service and you
have identified the symptoms for the failures.
</p>
</div>
</div>
</div>
<div v-for="failure of service.failures" class="annotated">
<div class="annotated__controls">
<p>{{ failure.symptom }}</p>
</div>

<div class="annotated__help">
<code>
<span class="punct">{{ icon('because') }}</span>
When
Expand Down Expand Up @@ -59,18 +72,6 @@ <h3>{{ failure.symptom }}</h3>
likelihood<span class="punct">)</span>
</code>
</div>
<div v-if="service.failures.length === 0" class="error block">
<p>
You have not identified any failures for this service.
Make sure that there is a consumption for this service and you
have identified the symptoms for the failures.
</p>
</div>
</div>
<div class="annotated__help">
<p>

</p>
</div>
</div>

Expand Down

0 comments on commit 29209c1

Please sign in to comment.