Skip to content
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

Segments should have expiry expiration option #22984

Open
atom-box opened this issue Jan 24, 2025 · 0 comments
Open

Segments should have expiry expiration option #22984

atom-box opened this issue Jan 24, 2025 · 0 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. triaged

Comments

@atom-box
Copy link
Contributor

atom-box commented Jan 24, 2025

Many segments take 15 to 25 minutes to calculate. This accumulated drag is like barnacles under a ship. We receive emails from users who run a 4 to 6 hour archiving and we tell them "go through the slow segments manually and ask your users if some can be dropped".

The need for many segments is less than permanent.

This new feature would

  • add a line in the segment configuration which would allow for an expiry date, set by the user,
  • a new config.ini.php option, which would globally make ALL segments have an expiry N months from the day the segment is made
  • Custom Alert option: when you click Save and Apply the segment green button, a option is given "[ ] Set an expiration date? Enter your email address and the date here" (The alert uses existing logic, through the existing CustomAlerts.addAlert). The alert is sent when 30 days remain from segment-expiry.

What is the reach? I get ~10 emails a year from folks whose archiving is taking too long. They don't know that they need this feature but they would benefit from it.

@atom-box atom-box added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. To Triage An issue awaiting triage by a Matomo core team member labels Jan 24, 2025
@des-innocraft des-innocraft added triaged and removed To Triage An issue awaiting triage by a Matomo core team member labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. triaged
Projects
None yet
Development

No branches or pull requests

2 participants