Skip to content

Conversation

bearslyricattack
Copy link
Member

Add PVC usage query function to the launch pad service.
Fixed the issue where VM was unable to correctly query Kafka and Milvus CPU memory metrics. This issue is only a preliminary fix and requires further correction in the future.

@bearslyricattack bearslyricattack requested a review from a team as a code owner September 30, 2025 06:35
@bearslyricattack bearslyricattack changed the title feat(service):Add launch pad PVC query function and bug fix feat(service): Add launch pad PVC query function and bug fix Sep 30, 2025
@cuisongliu cuisongliu marked this pull request as draft October 1, 2025 04:12
@bearslyricattack bearslyricattack changed the title feat(service): Add launch pad PVC query function and bug fix feat(service): Add launchpad PVC query function and bug fix Oct 9, 2025
@labring labring deleted a comment from chatgpt-codex-connector bot Oct 9, 2025
@cuisongliu cuisongliu requested a review from Copilot October 9, 2025 07:46
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds PVC (Persistent Volume Claim) query functionality to the launchpad service and fixes metric query bugs for Kafka and Milvus services. The changes enable storage usage monitoring for applications deployed through the launchpad.

Key Changes

  • Added PVC name parameter support to VMRequest struct and request parsing
  • Added storage query capability for PVC usage monitoring
  • Fixed Kafka and Milvus metric queries by correcting pod name regex patterns and adding Milvus query definitions

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
service/pkg/request/req.go Added Milvus case to query type switch statement
service/pkg/api/req.go Added PvcName field to VMRequest struct and defined Milvus queries with corrected Kafka regex patterns
service/launchpad/server/server.go Added pvcName parameter parsing in request handler
service/launchpad/request/req.go Added storage query case and PVC name substitution logic
service/launchpad/Makefile Added TARGETARCH variable definition

@bearslyricattack bearslyricattack marked this pull request as ready for review October 9, 2025 08:42
@zijiren233 zijiren233 added this to the v5.1 milestone Oct 9, 2025
@zijiren233 zijiren233 merged commit 11341f4 into labring:main Oct 9, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants