-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
enable scenario 4 on staging #6269
enable scenario 4 on staging #6269
Conversation
We would appreciate it if you could provide us with more info about this issue/pr! |
d82626a
to
b9e7648
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.
👍 Looks good to me! Reviewed everything up to d82626a in 41 seconds
More details
- Looked at
53
lines of code in4
files - Skipped
0
files when reviewing. - Skipped posting
3
drafted comments based on config settings.
1. pkg/query-service/app/http_handler.go:3102
- Draft comment:
The change frompartition_latency
toproducer-topic-throughput
in theBuildQueryRangeParams
function call might affect the logic if the query context is not handled properly elsewhere. Ensure that this change aligns with the intended logic and that all related query contexts are updated accordingly. - Reason this comment was not posted:
Comment did not seem useful.
2. pkg/query-service/app/integrations/messagingQueues/kafka/translator.go:256
- Draft comment:
The removal ofproducer-topic-throughput
from the condition inBuildClickHouseQuery
might affect the logic if this query context is used elsewhere. Ensure that this change aligns with the intended logic and that all related query contexts are updated accordingly. - Reason this comment was not posted:
Marked as duplicate.
3. pkg/query-service/app/integrations/messagingQueues/kafka/translator.go:257
- Draft comment:
Avoid using hardcoded strings forqueryContext
. Consider using constants or enums for better maintainability. This is also applicable in other parts of the function. - Reason this comment was not posted:
Comment was on unchanged code.
Workflow ID: wflow_hbaERwQ33xSzmIEu
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
@prashant-shahi have you enabled this? |
@shivanshuraj1333 Did you get to take a look at this comment? #6269 (comment) You will need to update docker-compose.testing.yaml to include the envs. That changes can go along with your PR changes. |
b9e7648
to
29241a7
Compare
Important
Enable scenario 4 on staging by setting
KAFKA_SPAN_EVAL
totrue
and adjusting Kafka query parameters.KAFKA_SPAN_EVAL
totrue
in.github/workflows/staging-deployment.yaml
to enable scenario 4 on staging.partition_latency
toproducer-topic-throughput
ingetPartitionOverviewLatencyData()
inhttp_handler.go
.omitempty
toEvalTime
inMessagingQueue
struct inmodel.go
to omit zero values in JSON serialization.producer-topic-throughput
fromBuildClickHouseQuery()
intranslator.go
to prevent its use in certain contexts.This description was created by for d82626a. It will automatically update as commits are pushed.