feat(metrics): add vods size in bytes metrics#1096
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe pull request adds two new Prometheus metrics to track VOD storage sizes: a Gauge for total VODs bytes and a GaugeVec for per-channel VOD bytes. These metrics are initialized in NewService and populated in GatherMetrics by aggregating vod.StorageSizeBytes values. Changes
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Zibbp
left a comment
There was a problem hiding this comment.
sorry for merging the other one too soon, thanks!
|
No problem! |
#1095 (comment) I'm a little bit late, it was merged just before I finished to add the bytes part