add field bytes_added_packed in status file etc.#519
add field bytes_added_packed in status file etc.#519creativeprojects merged 1 commit intocreativeprojects:masterfrom
Conversation
WalkthroughA new metric, Changes
Sequence Diagram(s)sequenceDiagram
participant Restic as restic (backup)
participant Shell as shell/json_summary.go or shell/plain_summary.go
participant Monitor as monitor/summary.go
participant Prom as monitor/prom/metrics.go
participant Status as monitor/status/profile.go
Restic->>Shell: Output (JSON or plain) with data_added_packed
Shell->>Monitor: Parse and assign BytesAddedPacked to Summary
Monitor->>Prom: Summary passed to metrics (BackupResults)
Prom->>Prom: Set bytesAddedPacked gauge from Summary.BytesAddedPacked
Monitor->>Status: Write BytesAddedPacked to status file
Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes were found. Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (8)
🔇 Additional comments (17)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #519 +/- ##
==========================================
+ Coverage 79.27% 79.29% +0.02%
==========================================
Files 136 136
Lines 13252 13264 +12
==========================================
+ Hits 10505 10517 +12
Misses 2326 2326
Partials 421 421
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks for this PR! |
63dee21
into
creativeprojects:master
Adds the field bytes_added_packed, which represents the amount of data added after compression to the status file and prometheus metrics.
Closes #518.