-
-
Notifications
You must be signed in to change notification settings - Fork 9
Add metrics collector unit tests #29
Copy link
Copy link
Open
Labels
area:observabilityMetrics, health checks, and monitoringMetrics, health checks, and monitoringgood first issueGood for newcomersGood for newcomerspriority:mediumImportant but not urgentImportant but not urgenttype:tech-debtMaintenance and engineering quality workMaintenance and engineering quality work
Description
Metadata
Metadata
Assignees
Labels
area:observabilityMetrics, health checks, and monitoringMetrics, health checks, and monitoringgood first issueGood for newcomersGood for newcomerspriority:mediumImportant but not urgentImportant but not urgenttype:tech-debtMaintenance and engineering quality workMaintenance and engineering quality work
Summary
pkg/metrics/metrics.gocomputes several aggregate metrics but currently has no unit test coverage.Why this is a good first issue
Proposed work
Add
pkg/metrics/metrics_test.gothat validates:TotalRecords,RecordsByType, averages, salience buckets).MemoryGrowthRate,RetrievalUsefulness,RevisionRate, etc.).Listfails.Acceptance criteria
go test ./pkg/metrics.