This PR is to add comments to GetFuseMetricsScrapeTarget in pkg/ddc/base/runtime.go.#5988
Conversation
Signed-off-by: Summitnju <2745814885@qq.com>
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds documentation for RuntimeInfo.GetFuseMetricsScrapeTarget() to clarify what the method returns and how to interpret its result.
Changes:
- Documented the purpose and semantics of
GetFuseMetricsScrapeTarget()
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| // GetFuseMetricsScrapeTarget returns the configured metrics scrape target for the Fuse client. | ||
| // The returned selector indicates which mount modes should expose Fuse metrics for scraping. | ||
| func (info *RuntimeInfo) GetFuseMetricsScrapeTarget() mountModeSelector { | ||
| return info.fuse.MetricsScrapeTarget | ||
| } |
|
Hi @Summitnju. Thanks for your PR. I'm waiting for a fluid-cloudnative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Code Review
This pull request adds documentation comments to the GetFuseMetricsScrapeTarget method in pkg/ddc/base/runtime.go to clarify its purpose and return value. There are no review comments, and I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Signed-off-by: Summitnju <2745814885@qq.com>
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5988 +/- ##
=======================================
Coverage 63.56% 63.56%
=======================================
Files 479 479
Lines 33276 33276
=======================================
Hits 21151 21151
Misses 10445 10445
Partials 1680 1680 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
cheyang
left a comment
There was a problem hiding this comment.
All CI checks passed and maintainer has approved. Auto-approving to satisfy branch protection.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheyang The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |



I. Describe what this PR does
Add comments to GetFuseMetricsScrapeTarget in pkg/ddc/base/runtime.go.
II. Does this pull request fix one issue?
fixes #5987
III. Special notes for reviews
None.