-
Notifications
You must be signed in to change notification settings - Fork 297
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
chore: add custom buckets to gateway.user_suppression_age #3679
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## release/1.11.x #3679 +/- ##
=================================================
Coverage ? 67.98%
=================================================
Files ? 318
Lines ? 50383
Branches ? 0
=================================================
Hits ? 34253
Misses ? 13898
Partials ? 2232 ☔ View full report in Codecov by Sentry. |
runner/buckets.go
Outdated
@@ -4,4 +4,7 @@ var customBuckets = map[string][]float64{ | |||
"gateway.response_time": { | |||
0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, 60, | |||
}, | |||
"gateway.user_suppression_age": { | |||
86400, 2592000, 5184000, 7776000, // 1 day, 1 month, 2 months, 3 months |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not some more buckets, e.g.
1d, 5d, 10d, 30d, 60d 90d 180d, 360d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the buckets as
1d, 5d, 10d, 30d, 60d 90d 180d, 360d
cc @lvrach
25ddde1
to
00e1403
Compare
Description
Add custom buckets i.e. 1 day, 5 days, 10 days, 30 days, 60 days, 90 days, 180 days, 360 days for gateway.user_suppression_age metric
Notion Ticket
https://www.notion.so/rudderstacks/Add-custom-buckets-1-day-5-days-10-days-30-days-60-days-90-days-180-days-360-days-for-gateway-6fc3093d32834f6a9ee3576964f81a81
Security