vmware-tanzu / vmware-tanzu/vm-operator

telemetry: Add tests in `metrics` package

Open
#52 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.