Skip to content

Update xpu-exporter and add documentation#10

Open
huazq wants to merge 1 commit intoModelEngine-Group:mainfrom
huazq:update-xpu-exporter-and-docs
Open

Update xpu-exporter and add documentation#10
huazq wants to merge 1 commit intoModelEngine-Group:mainfrom
huazq:update-xpu-exporter-and-docs

Conversation

@huazq
Copy link
Copy Markdown

@huazq huazq commented Apr 7, 2026

Summary

This PR applies the xpu-exporter-changes.patch and updates documentation.

Changes

xpu-exporter patches:

  • Fix prometheus.MustNewConstMetric calls in gpu_collector.go (remove unnecessary []string{} wrapper)
  • Remove unused imports (math, syscall) in limit_handler.go
  • Update protobuf generated code in api.pb.go
  • Clean up go.mod and go.sum dependencies

Documentation updates (README.md):

  • Add xpu-exporter.tar import instructions in section 1.3
  • Add xpu-exporter build instructions
  • Add xpu-exporter docker build and save steps

Testing

  • Code compiles successfully: go build ./...

- Apply xpu-exporter-changes.patch:
  - Fix prometheus.MustNewConstMetric calls in gpu_collector.go
  - Remove unused imports in limit_handler.go
  - Update api.pb.go protobuf generated code
  - Clean up go.mod and go.sum dependencies

- Update README.md to include xpu-exporter:
  - Add xpu-exporter.tar import instructions in section 1.3
  - Add xpu-exporter build instructions
  - Add xpu-exporter docker build and save steps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant