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] Use stats Handler to record request/response size metrics (#36107) #36118

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

congqixia
Copy link
Contributor

Cherry-pick from master
pr: #36107
Related to #36102

This PR use newly added grpcSizeStatsHandler to reduce calling proto.Size since the request & response size info is recorded by grpc framework.

…ilvus-io#36107)

Related to milvus-io#36102

This PR use newly added `grpcSizeStatsHandler` to reduce calling
`proto.Size` since the request & response size info is recorded by grpc
framework.

Signed-off-by: Congqi Xia <[email protected]>
@congqixia congqixia added this to the 2.4.12 milestone Sep 9, 2024
@sre-ci-robot sre-ci-robot added size/L Denotes a PR that changes 100-499 lines. approved labels Sep 9, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Sep 9, 2024
Copy link
Contributor

mergify bot commented Sep 9, 2024

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

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

Copy link
Contributor

mergify bot commented Sep 9, 2024

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

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.00%. Comparing base (55b33cd) to head (760fa28).
Report is 21 commits behind head on 2.4.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##              2.4   #36118       +/-   ##
===========================================
+ Coverage   71.95%   85.00%   +13.04%     
===========================================
  Files        1058      792      -266     
  Lines      139344   115131    -24213     
===========================================
- Hits       100267    97867     -2400     
+ Misses      34815    12985    -21830     
- Partials     4262     4279       +17     
Files with missing lines Coverage Δ
internal/distributed/proxy/service.go 85.37% <100.00%> (+0.18%) ⬆️
internal/proxy/impl.go 85.94% <100.00%> (-0.03%) ⬇️
pkg/metrics/grpc_stats_handler.go 100.00% <100.00%> (ø)

... and 303 files with indirect coverage changes

@xiaofan-luan
Copy link
Collaborator

/lgtm
/approve

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia, xiaofan-luan

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:
  • OWNERS [congqixia,xiaofan-luan]

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

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

2 similar comments
@yellow-shine
Copy link
Collaborator

/run-cpu-e2e

@yellow-shine
Copy link
Collaborator

/run-cpu-e2e

@mergify mergify bot added the ci-passed label Sep 10, 2024
@sre-ci-robot sre-ci-robot merged commit 1cd8d1b into milvus-io:2.4 Sep 10, 2024
15 checks passed
@congqixia congqixia deleted the cp24/36107 branch September 11, 2024 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved 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.

4 participants