mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 18:25:44 +00:00
## Summary - Add `GetCollectionName()` method to 12 RESTful API request types that were missing it - Ensures `ProxyFunctionCall` metrics report the correct collection name label for all RESTful endpoints - Affected types: `RenameCollectionReq`, `QueryReqV2`, `CollectionIDReq`, `CollectionFilterReq`, `CollectionDataReq`, `SearchReqV2`, `HybridSearchReq`, `PartitionsReq`, `GrantV2Req`, `IndexParamReq`, `CollectionReq`, `RunAnalyzerReq` issue: #48461 ## Test plan - [ ] Verify existing unit tests pass - [ ] Confirm RESTful API metrics now include collection name for search/query/hybrid_search endpoints 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: MrPresent-Han <chun.han@gmail.com> Co-authored-by: MrPresent-Han <chun.han@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>