Skip to content

Introduce log retention gauge #3326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 12, 2025
Merged

Introduce log retention gauge #3326

merged 7 commits into from
Aug 12, 2025

Conversation

Amogh-Bharadwaj
Copy link
Contributor

@Amogh-Bharadwaj Amogh-Bharadwaj commented Aug 8, 2025

This PR introduces a float64 gauge for collecting log retention hours in MySQL and Mongo. It does this in the recordSlotSize workflow.
Introduces a new activity to call in that workflow called emitLogRetentionHours.
Utility functions in retention.go and mongo.go

Functionally tested locally with prometheus and grafana:

Screenshot 2025-08-11 at 9 53 49 PM

@Amogh-Bharadwaj Amogh-Bharadwaj merged commit c7bf652 into main Aug 12, 2025
12 of 14 checks passed
@Amogh-Bharadwaj Amogh-Bharadwaj deleted the log-retention-gauge branch August 12, 2025 17:36
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.

2 participants