Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions assets/scss/_oss_health.scss
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,14 @@
}
}

.oss-health-note {
color: #637595;
font-size: 0.85rem;
line-height: 1.6;
margin: 1.25rem 0 0;
max-width: 62ch;
}

.oss-health-mini {
display: grid;
gap: 1rem;
Expand Down
13 changes: 13 additions & 0 deletions layouts/_default/oss-health-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,18 @@ <h2>${escapeHtml(payload.title)} snapshot</h2>
? renderTable("Applications in use", "Instances", period.apps)
: `<p class="oss-health-empty">No application instances reported for this period yet.</p>`;

// Without this, a quieter month reads as a shrinking fleet. Instance
// counts are each cluster's peak within the window, summed — so a single
// load test in one month leaves the next month looking like a decline.
const methodNote = `
<p class="oss-health-note">
Clusters are those that reported at least once in the window. Node,
tenant and application figures are each cluster&rsquo;s peak within
the window, summed across clusters — so a short-lived burst in one
cluster raises the whole period, and the next period reads lower even
when nothing was removed.
</p>`;

root.innerHTML = `
<section class="oss-health-stage">
<div class="oss-health-stage__header">
Expand All @@ -255,6 +267,7 @@ <h2>${escapeHtml(payload.title)} snapshot</h2>
${renderCards(period.summary_cards)}
${rangeStrip}
${appsSection}
${methodNote}
</div>
</section>
`;
Expand Down
Loading