-
Notifications
You must be signed in to change notification settings - Fork 317
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: defining bucket boundaries #4744
Conversation
4de3410
to
47beb87
Compare
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- integration_test/kafka_batching/kafka_batching_test.go (2 hunks)
- runner/buckets.go (1 hunks)
- runner/runner.go (2 hunks)
Additional comments not posted (4)
runner/buckets.go (2)
15-24
: Updated bucket configurations forevent_delivery_time
in both server and warehouse contexts.Ensure that these new configurations are reflected in all relevant metrics calculations and visualizations.
26-99
: Significant updates tocustomBuckets
with new metrics and updated bucket sizes.Verify that these new bucket sizes are appropriate for the metrics they are intended to measure, considering the expected range of values.
runner/runner.go (1)
113-115
: Dynamic assignment of histogram buckets based on warehouse mode.This change allows for more flexible configuration of metrics based on operational mode, which can be beneficial for performance tuning and resource management.
integration_test/kafka_batching/kafka_batching_test.go (1)
287-302
: Updated histogram buckets in test assertions to match new configurations.Ensure that these new bucket sizes are tested under various load scenarios to confirm that they capture the metric accurately across expected operational ranges.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4744 +/- ##
==========================================
+ Coverage 74.62% 74.70% +0.08%
==========================================
Files 414 414
Lines 48591 48593 +2
==========================================
+ Hits 36259 36300 +41
+ Misses 9956 9921 -35
+ Partials 2376 2372 -4 ☔ View full report in Codecov by Sentry. |
47beb87
to
97543e9
Compare
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.
Actionable comments posted: 5
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- integration_test/kafka_batching/kafka_batching_test.go (2 hunks)
- runner/buckets.go (1 hunks)
- runner/runner.go (2 hunks)
Files skipped from review as they are similar to previous changes (2)
- integration_test/kafka_batching/kafka_batching_test.go
- runner/runner.go
Additional context used
golangci-lint
runner/buckets.go
8-8: var
defaultHistogramBuckets
is unused
11-11: var
defaultWarehouseHistogramBuckets
is unused
15-15: var
customBucketsServer
is unused
20-20: var
customBucketsWarehouse
is unused
26-26: var
customBuckets
is unused
97543e9
to
79cdae9
Compare
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- integration_test/kafka_batching/kafka_batching_test.go (2 hunks)
- runner/buckets.go (1 hunks)
- runner/runner.go (2 hunks)
Files skipped from review as they are similar to previous changes (2)
- integration_test/kafka_batching/kafka_batching_test.go
- runner/runner.go
Additional comments not posted (5)
runner/buckets.go (5)
8-10
: Updated default histogram bucket values.This change updates the default histogram buckets to a new set of values. Ensure that all dependent metrics and systems are compatible with these new bucket sizes.
11-13
: Updated default warehouse histogram bucket values.This change updates the default warehouse histogram buckets to a new set of values. Verify that all warehouse metrics are compatible with these new bucket sizes.
15-19
: Updated custom server bucket values forevent_delivery_time
.This update extends the range of bucket sizes for
event_delivery_time
to cover up to 24 hours. Ensure that this aligns with the expected data distribution and usage patterns.
20-24
: Updated custom warehouse bucket values forevent_delivery_time
.This update modifies the bucket sizes for
event_delivery_time
in the warehouse context to include more granular time intervals. Verify that this change matches the expected data granularity and reporting needs.
26-103
: Extensive updates to custom bucket configurations.The custom bucket configurations have been extensively updated across various metrics. It's crucial to ensure that these changes are reflected in all relevant dashboards and monitoring systems to maintain accuracy in metrics reporting.
Description
HistogramType
andTimerType
.Linear Ticket
Security
Summary by CodeRabbit