Skip to content

docs: clarify data retention metrics units and calculation details#476

Merged
SgtPooki merged 3 commits into
mainfrom
docs/update-data-retention-docs
Apr 30, 2026
Merged

docs: clarify data retention metrics units and calculation details#476
SgtPooki merged 3 commits into
mainfrom
docs/update-data-retention-docs

Conversation

@silent-cipher
Copy link
Copy Markdown
Collaborator

Copilot AI review requested due to automatic review settings April 24, 2026 15:55
@FilOzzy FilOzzy added this to FOC Apr 24, 2026
@silent-cipher silent-cipher requested a review from BigLep April 24, 2026 15:55
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Apr 24, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Data Retention documentation to clarify metric units and the exact calculations used when emitting Prometheus metrics, aligning the docs with the current DataRetentionService implementation.

Changes:

  • Clarifies that dataSetChallengeStatus is incremented in challenges (period delta × 5) while baselines are stored in proving periods.
  • Renames and documents the overdue gauge as pdp_provider_estimated_overdue_periods, including unit details and overflow behavior.
  • Adds/expands explanations for provider selection, overdue-period estimation, and delta handling.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/checks/events-and-metrics.md Updates metric definitions for data retention, including units and the overdue gauge name.
docs/checks/data-retention.md Expands the Data Retention check documentation to describe units, delta→challenge conversion, provider selection, and gauge semantics.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/checks/events-and-metrics.md Outdated
@github-project-automation github-project-automation Bot moved this from 📌 Triage to ✔️ Approved by reviewer in FOC Apr 24, 2026
@SgtPooki SgtPooki merged commit fec5abc into main Apr 30, 2026
7 checks passed
@SgtPooki SgtPooki deleted the docs/update-data-retention-docs branch April 30, 2026 15:54
@github-project-automation github-project-automation Bot moved this from ✔️ Approved by reviewer to 🎉 Done in FOC Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

5 participants