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

enhance: [2.4] add scalar filtering and vector search latency metrics #34783

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

foxspy
Copy link
Collaborator

@foxspy foxspy commented Jul 18, 2024

issue: #34780
pr: #34785

@sre-ci-robot sre-ci-robot added size/L Denotes a PR that changes 100-499 lines. area/compilation labels Jul 18, 2024
Copy link
Contributor

mergify bot commented Jul 18, 2024

@foxspy Please associate the related pr of master to the body of your Pull Request. (eg. “pr: #”)

@mergify mergify bot added the kind/enhancement Issues or changes related to enhancement label Jul 18, 2024
@foxspy
Copy link
Collaborator Author

foxspy commented Jul 18, 2024

pr: #34785

@foxspy
Copy link
Collaborator Author

foxspy commented Jul 18, 2024

rerun ut

@foxspy foxspy force-pushed the add_scalar_filter_latency_metric branch from be4b656 to 2f73ac6 Compare July 18, 2024 08:16
@foxspy foxspy force-pushed the add_scalar_filter_latency_metric branch from 2f73ac6 to eaac86d Compare July 18, 2024 09:44
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.19%. Comparing base (a26e965) to head (43d82be).
Report is 2 commits behind head on 2.4.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.4   #34783      +/-   ##
==========================================
+ Coverage   81.15%   81.19%   +0.04%     
==========================================
  Files         786      786              
  Lines      112864   112871       +7     
==========================================
+ Hits        91593    91648      +55     
+ Misses      16872    16827      -45     
+ Partials     4399     4396       -3     

see 42 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Jul 18, 2024
vector_end - scalar_start)
.count();
double scalar_ratio = total_cost > 0.0 ? scalar_cost * 100.0 / total_cost : 0.0;
monitor::internal_core_search_latency_scalar_proportion.Observe(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The internal_core_search_latency_scalar_proportion is always a value between 0-100.
but the default bucket of internal_core_search_latency_scalar_proportion histogram is 1 - 65535.
So it's better to use DEFINE_PROMETHEUS_HISTOGRAM_WITH_BUCKETS to change the bucket into a fit one.

@foxspy foxspy force-pushed the add_scalar_filter_latency_metric branch from eaac86d to 84a701a Compare July 18, 2024 12:42
@mergify mergify bot removed the ci-passed label Jul 18, 2024
Copy link
Contributor

mergify bot commented Jul 18, 2024

@foxspy E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@foxspy foxspy force-pushed the add_scalar_filter_latency_metric branch from 84a701a to 43d82be Compare July 18, 2024 12:49
Copy link
Contributor

mergify bot commented Jul 18, 2024

@foxspy E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@foxspy
Copy link
Collaborator Author

foxspy commented Jul 18, 2024

/run-e2e

@foxspy
Copy link
Collaborator Author

foxspy commented Jul 18, 2024

/run-cpu-e2e

@mergify mergify bot added the ci-passed label Jul 18, 2024
@chyezh
Copy link
Contributor

chyezh commented Jul 19, 2024

/lgtm


vector<string>
split(const string& str,
const string& delim) { //将分割后的子字符串存储在vector中
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use english please.

Copy link
Collaborator Author

@foxspy foxspy Jul 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just moved from test_storage.cpp...

@czs007
Copy link
Contributor

czs007 commented Jul 19, 2024

/approve
/lgtm

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: czs007, foxspy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit 1f028f3 into milvus-io:2.4 Jul 19, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/compilation ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement lgtm size/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants