Skip to content

chore(telemetry): publish July 2026 and explain how the figures are derived - #644

Merged
Timur Tukaev (tym83) merged 1 commit into
mainfrom
chore/telemetry-july-2026
Aug 7, 2026
Merged

Timur Tukaev (tym83) merged 1 commit into
mainfrom
chore/telemetry-july-2026

Conversation

@tym83

@tym83 Timur Tukaev (tym83) commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

July 2026 telemetry, plus a short note on the page explaining how the figures are derived.

The cron that would publish this automatically is a separate change — it is a process decision, not a data refresh.

The numbers

July: 1295 clusters, 4114 nodes, 3050 tenants (June: 1162 / 3697 / 2180).

Two application rows fall by more than half — VMDisk 3042 → 1258, VMInstance 2748 → 1019 — and neither is a shrinking fleet:

Apr May Jun Jul
VMDisk 580 488 3042 1258
VMInstance 257 283 2748 1019

June was the outlier. Instance figures are each cluster's peak within the window, summed across clusters, so a single short-lived burst raises a whole month. July sits roughly 3× above the spring trend, not below it.

The note

The page carried nothing about how the numbers are derived. A reader looking only at the table this month would reasonably conclude the fleet had halved, so the telemetry block now says that clusters are those which reported at least once in the window, and that node, tenant and application figures are per-cluster peaks summed across clusters.

Verification

hugo --minify builds clean; the note and its style reach the rendered page. telemetry.json was produced by hack/fetch_telemetry.py with TELEMETRY_YEAR=2026 TELEMETRY_MONTH=7, unmodified by hand — the API's June figures match what was published manually last month to the digit.

@netlify

netlify Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cozystack ready!

Name Link
🔨 Latest commit 806dc91
🔍 Latest deploy log https://app.netlify.com/projects/cozystack/deploys/6a75b90b5c8846000884db58
😎 Deploy Preview https://deploy-preview-644--cozystack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The telemetry workflow now runs monthly and publishes the previous calendar month. Telemetry data covers July 2026. The telemetry view explains cluster counting and peak-per-cluster aggregation.

Changes

Telemetry update

Layer / File(s) Summary
Automated prior-month telemetry publishing
.github/workflows/fetch-telemetry.yml
The workflow runs on the third day of each month, resolves the previous month, passes it to the fetch script, and includes it in commit messages.
July 2026 telemetry dataset
static/oss-health-data/telemetry.json
Monthly, quarterly, and yearly telemetry periods now contain data through July 2026.
Telemetry methodology note
layouts/_default/oss-health-app.html, assets/scss/_oss_health.scss
The telemetry view displays aggregation rules below the applications section with dedicated note styling.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Suggested reviewers: kvaps

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the July 2026 telemetry publication and the explanation of how the figures are derived.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/telemetry-july-2026

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…erived

July: 1295 clusters, 4114 nodes, 3050 tenants, up from June's
1162 / 3697 / 2180.

Two application rows fall by more than half — VMDisk 3042 to 1258 and
VMInstance 2748 to 1019 — and neither is a shrinking fleet. April and May
reported 580/488 and 257/283, so June was the outlier: instance figures
are each cluster's peak within the window, summed, and one short-lived
burst raises a whole month. July sits above the spring trend, not below
it.

The page now says this. It carried nothing about how the numbers are
derived, and a reader looking only at the table would reasonably conclude
the fleet had halved.

Signed-off-by: tym83 <[email protected]>
@tym83
Timur Tukaev (tym83) force-pushed the chore/telemetry-july-2026 branch from c682888 to 806dc91 Compare August 7, 2026 10:52
@tym83 Timur Tukaev (tym83) changed the title chore(telemetry): publish July 2026 and re-enable the monthly refresh chore(telemetry): publish July 2026 and explain how the figures are derived Aug 7, 2026
@tym83
Timur Tukaev (tym83) merged commit 5594a23 into main Aug 7, 2026
6 checks passed
@tym83
Timur Tukaev (tym83) deleted the chore/telemetry-july-2026 branch August 7, 2026 11:47
Aleksei Sviridkin (lexfrei) added a commit that referenced this pull request Sep 4, 2026
## Summary

Re-enables the monthly telemetry cron. Split out from #644, which
publishes the July data — this one is a process change and deserves its
own decision.

## Why it was paused

`/api/overview` undercounted by roughly threefold. It counted with an
instant PromQL query, so it saw only the clusters that had reported in
the last few minutes — about 50 — rather than those active over the
period. The published numbers were pulled from the Grafana
telemetry-overview dashboard by hand instead, and the workflow was
reduced to `workflow_dispatch`.

## Why it can come back

The server has counted over the period window since
[cozystack-telemetry-server
43617cc](cozystack/cozystack-telemetry-server@43617cc)
(2026-06-30): every selector is wrapped in `max_over_time(...[window])`
covering the month.

Checked before re-enabling — the API returns **1162 / 3697 / 2180** for
June today, which matches the figures published by hand last month
exactly. The discrepancy that justified the manual path is gone.

## Timing

Runs on the 3rd and publishes the month before, which is the month the
server has a final snapshot of.

The previous month is derived from the day before the 1st of the current
one, not from `date -d 'last month'`: that phrasing keeps the day
number, so a run on the 29th, 30th or 31st resolves into the wrong month
and silently skips one. Verified for 2026-08-03 → 2026-07, 2026-03-31 →
2026-02, 2026-01-01 → 2025-12.

It stays a separate workflow rather than joining the monthly OSS Health
job: those datasets come from public APIs, this one from our own
telemetry server, and a failure there should not hold back the rest.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Telemetry data is now fetched automatically on the 3rd of each month
for the previous completed month.
  - Manual telemetry runs remain available when needed.
- Telemetry updates are clearly labeled with the reporting month for
easier tracking.

- **Documentation**
- Updated telemetry workflow documentation to reflect the automated
monthly process.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant