Skip to content

fix(metrics): clarify the help texts of the upload session metrics - #955

Merged
butonic merged 1 commit into
opencloud-eu:mainfrom
pbleser-oc:fix/930-upload-metric-help-texts
Nov 4, 2026
Merged

butonic merged 1 commit into
opencloud-eu:mainfrom
pbleser-oc:fix/930-upload-metric-help-texts

Conversation

@pbleser-oc

Copy link
Copy Markdown
Member

reva_upload_sessions_bytes_received counts upload sessions whose data has been fully received, before postprocessing, not bytes (#930). As discussed there, it works as designed and its name stays, for compatibility with existing dashboards; its help text and comment now say what it counts:

Number of upload sessions whose data has been fully received, before postprocessing (counts sessions, not bytes)

Also in pkg/rhttp/datatx/metrics/metrics.go:

  • the comment of UploadSessionsFinalized, copied from the metric above it, now describes UploadSessionsFinalized
  • the typo "uploads sessions" in the other help texts, and a double period in the package comment

Help texts and comments only: no metric is renamed.

Fixes #930

reva_upload_sessions_bytes_received counts upload sessions whose data has
been fully received, before postprocessing, not bytes. Its name stays, for
compatibility with existing dashboards; its help text and comment now say
what it counts.

Also fixes the comment of UploadSessionsFinalized, copied from the metric
above it, and the typo "uploads sessions" in the other help texts.

Fixes opencloud-eu#930
@butonic
butonic merged commit 1f94815 into opencloud-eu:main Nov 4, 2026
23 checks passed
@openclouders openclouders mentioned this pull request Nov 4, 2026
1 task
@pbleser-oc
pbleser-oc deleted the fix/930-upload-metric-help-texts branch November 4, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

reva_upload_sessions_bytes_received counts upload sessions, not bytes

3 participants