-
-
Notifications
You must be signed in to change notification settings - Fork 442
Custom RetentionPeriod #522
Copy link
Copy link
Open
Labels
enhancementNew feature or improvement to the libraryNew feature or improvement to the library
Milestone
Description
⚠️ Is your feature request related to a problem? Please describe
It is not a blocker problem but I think it is an improvable point. I am using chucker in my personal project and I saw that
- Every time when I launch the app, I see the old transaction history (which is definitely trash for me) and it is really hard to find where/when the new requests started.
- The only way to see the new transactions per session is removing all history manually every time.
💡 Describe the solution you'd like
In ChuckerCollector, we have retentionPeriod as RetentionManager.Period. I think ,enum usage restricts us. I'd prefer to have a Long or some custom type that accepts Long like CustomType(periodInMills : Long)
We could extend the current Enum but it wouldn't fit for all cases. For example someone would need 15 min period in someday? Either way, that retentionPeriod value is being converted to mills.
Thanks.
🙋 Do you want to develop this feature yourself?
- Yes
I can also participate the development after the final decision has been made. - Extending the enum
- Cutting out the enum and walk with
LongorCustomType(periodInMills : Long) - Other ideas?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to the libraryNew feature or improvement to the library