vmware-tanzu / vmware-tanzu/vm-operator
telemetry: Add tests in `metrics` package
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 134
- Forks
- 83
- Avg merge
- 4d 18m
- Merged PRs (30d)
- 73
Description
The metrics package is used to register Prometheus metrics for various controllers, such as vm, vm publish request, and content library item, etc. We should add necessary tests to ensure proper testing of existing and future changes in this package.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the pkg/metrics package and its existing metric registration for the vm, vm publish request, and content library item controllers. Identify the uncovered registration behavior and add tests for the existing and future changes described by the issue. Run the package's Go tests and confirm the metrics registration paths are covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability, testing
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100