Skip to content

Optimize monitoring performance#484

Open
coldzerofear wants to merge 637 commits intoProject-HAMi:masterfrom
coldzerofear:monitor
Open

Optimize monitoring performance#484
coldzerofear wants to merge 637 commits intoProject-HAMi:masterfrom
coldzerofear:monitor

Conversation

@coldzerofear
Copy link

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

archlitchi and others added 30 commits March 13, 2024 10:56
add robot to cleanup stale issue and upgrade the latest version for go mod and actions
Bumps [actions/stale](https://github.com/actions/stale) from 6.0.1 to 9.0.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v6.0.1...v9.0.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [arduino/setup-protoc](https://github.com/arduino/setup-protoc) from 1.1.2 to 3.0.0.
- [Release notes](https://github.com/arduino/setup-protoc/releases)
- [Commits](arduino/setup-protoc@v1.1.2...v3.0.0)

---
updated-dependencies:
- dependency-name: arduino/setup-protoc
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.100.1 to 2.120.1.
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](kubernetes/klog@v2.100.1...v2.120.1)

---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](google/uuid@v1.4.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
修复json格式错误,该错误导致deployment:hami-scheduler下 container:kube-scheduler启动失败
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](fsnotify/fsnotify@v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.22.0.
- [Commits](golang/net@v0.17.0...v0.22.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
…odes.

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
Signed-off-by: coderth <coderth@outlook.com>
Signed-off-by: coderth <coderth@outlook.com>
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v1...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.10.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v1.10.0...v3.1.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…ontainer

fix: when container nou user device resource index out of range
fix: init controller-runtime log.SetLogger()
…try-name

fix devices registry name error for Cambricon and Hygon this two type
william-wang and others added 24 commits August 13, 2024 17:02
Signed-off-by: william-wang <wang.platform@gmail.com>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
* fix: fix duplicate resource keys in configmap

* fix: Update incorrect component names in monitorservice
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.2 to 1.1.12.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](opencontainers/runc@v1.1.2...v1.1.12)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.12 to 1.1.14.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](opencontainers/runc@v1.1.12...v1.1.14)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.6.1 to 6.7.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v6.6.1...v6.7.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Signed-off-by: coldzerofear <coldzerofear@outlook.com>
@codecov
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

❌ Patch coverage is 22.69303% with 821 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/monitor/nvidia/cudevshr.go 0.00% 119 Missing ⚠️
pkg/device/cambricon/device.go 8.66% 115 Missing and 1 partial ⚠️
pkg/device/ascend/ascend310p.go 16.93% 100 Missing and 3 partials ⚠️
pkg/device/ascend/device.go 16.26% 99 Missing and 4 partials ⚠️
pkg/scheduler/scheduler.go 29.37% 100 Missing and 1 partial ⚠️
pkg/monitor/nvidia/v0/spec.go 0.00% 55 Missing ⚠️
pkg/monitor/nvidia/v1/spec.go 0.00% 55 Missing ⚠️
pkg/device/nvidia/device.go 53.42% 32 Missing and 2 partials ⚠️
pkg/device/hygon/device.go 17.50% 31 Missing and 2 partials ⚠️
pkg/lister/pod.go 0.00% 32 Missing ⚠️
... and 7 more
Flag Coverage Δ
unittests 27.19% <22.69%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
pkg/k8sutil/pod.go 73.33% <ø> (ø)
pkg/oci/runtime_exec.go 100.00% <ø> (ø)
pkg/oci/runtime_mock.go 100.00% <ø> (ø)
pkg/oci/spec.go 0.00% <ø> (ø)
pkg/oci/spec_mock.go 0.00% <ø> (ø)
pkg/scheduler/pods.go 87.80% <100.00%> (ø)
pkg/scheduler/policy/constant.go 100.00% <100.00%> (ø)
pkg/scheduler/policy/node_policy.go 100.00% <100.00%> (ø)
pkg/scheduler/score.go 67.60% <ø> (ø)
pkg/scheduler/webhook.go 52.50% <ø> (ø)
... and 21 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

coldzerofear and others added 4 commits September 13, 2024 15:01
Signed-off-by: coldzerofear <coldzerofear@outlook.com>
Signed-off-by: coldzerofear <coldzerofear@outlook.com>
Signed-off-by: coldzerofear <coldzerofear@outlook.com>
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.