Pulse/internal/monitoring
rcourtman 0bfc9ed447 test: Add tests for storageNamesForNode, GetDockerHost, and SchedulerHealth edge cases
- storageNamesForNode: 83.3%→100% (8 cases for filtering logic)
- GetDockerHost: 75%→100% (5 cases for lookup and whitespace handling)
- SchedulerHealth: 85.3%→89.1% (13 cases for nil handling, breaker key parsing)
2025-12-01 18:57:09 +00:00
..
backoff.go
backoff_test.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
backup_guard_test.go
ceph.go
ceph_test.go test: Add tests for monitoring and notifications functions 2025-12-01 17:33:36 +00:00
circuit_breaker.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
circuit_breaker_test.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
container_disk_usage.go
container_disk_usage_test.go test: Add tests for monitoring and notifications functions 2025-12-01 17:33:36 +00:00
container_parsing.go refactor: Extract container parsing functions to separate file 2025-12-01 10:40:48 +00:00
container_parsing_test.go test: Add unit tests for container_parsing.go pure functions 2025-12-01 13:28:39 +00:00
diagnostic_snapshots.go
diagnostic_snapshots_test.go test: Add monitoring tests for parseDurationEnv, parseIntEnv, markFailed, logNodeMemorySource 2025-12-01 17:59:20 +00:00
docker_commands.go
docker_commands_test.go test: Add monitoring tests for parseDurationEnv, parseIntEnv, markFailed, logNodeMemorySource 2025-12-01 17:59:20 +00:00
docker_host_identity.go refactor: Extract Docker host identifier functions to separate file 2025-12-01 10:03:47 +00:00
docker_host_identity_test.go test: Add unit tests for docker_host_identity.go pure functions 2025-12-01 13:20:30 +00:00
error_classification_test.go Add unit tests for error classification functions in monitoring 2025-12-01 01:37:28 +00:00
fake_executor_integration.go
fs_filters.go
fs_filters_test.go
guest_metadata.go refactor: Extract guest metadata functions to separate file 2025-12-01 10:53:41 +00:00
guest_metadata_test.go test: Add unit tests for guest_metadata.go pure functions 2025-12-01 12:18:59 +00:00
harness_integration.go
helpers_test.go test: Add tests for normalizeEndpointHost, taskExecutionTimeout, decrementPending 2025-12-01 18:42:57 +00:00
integration_integration_test.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
main_test.go
merge_temps_test.go test: Add tests for mergeNVMeTempsIntoDisks, UpdateQueueSnapshot, UpdateDeadLetterCounts, templateFuncMap 2025-12-01 18:14:43 +00:00
metrics.go style: fix staticcheck style warnings 2025-11-27 09:19:33 +00:00
metrics_helpers_test.go Add unit tests for metrics.go helper functions 2025-11-29 16:44:37 +00:00
metrics_history.go
metrics_history_concurrency_test.go chore: fix staticcheck SA warnings 2025-11-27 09:16:53 +00:00
metrics_history_test.go Add unit tests for MetricsHistory (internal/monitoring) 2025-11-30 21:34:07 +00:00
metrics_test.go test: Add tests for normalizeEndpointHost, taskExecutionTimeout, decrementPending 2025-12-01 18:42:57 +00:00
monitor.go Fix outdated error message path for removed Docker hosts 2025-12-01 12:03:05 +00:00
monitor_container_test.go
monitor_docker_test.go test: Add unit tests for convertDockerServices 2025-12-01 13:15:29 +00:00
monitor_health_test.go
monitor_host_agents_test.go
monitor_memory_test.go
monitor_pmg_test.go
monitor_polling.go refactor: remove unnecessary type conversions 2025-11-27 10:33:35 +00:00
monitor_polling_test.go
monitor_proxy_test.go
monitor_snapshots_test.go
monitor_storage_test.go
monitor_test.go test: Add tests for storageNamesForNode, GetDockerHost, and SchedulerHealth edge cases 2025-12-01 18:57:09 +00:00
monitor_timeout_test.go test: Add tests for normalizeEndpointHost, taskExecutionTimeout, decrementPending 2025-12-01 18:42:57 +00:00
poller.go chore: remove dead code and unused files 2025-11-27 00:05:04 +00:00
ratetracker.go
ratetracker_concurrency_test.go
ratetracker_test.go Add unit tests for RateTracker.CalculateRates (monitoring) 2025-11-30 07:07:18 +00:00
reload.go
scheduler.go refactor: use builtin max() and fix unused parameter 2025-11-27 10:08:37 +00:00
scheduler_test.go Add unit tests for adaptive scheduler interval selection (scheduler) 2025-11-30 06:11:22 +00:00
staleness_tracker.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
staleness_tracker_test.go
storage_backup_preserve_test.go test: Add tests for storageNamesForNode, GetDockerHost, and SchedulerHealth edge cases 2025-12-01 18:57:09 +00:00
storage_filters.go
storage_filters_test.go
task_queue.go
task_queue_test.go test: Add taskHeap.Less tiebreaker test case 2025-12-01 14:36:32 +00:00
temperature.go chore: remove more dead code 2025-11-27 00:10:55 +00:00
temperature_test.go test: Add tests for polling interval, proxy success handlers, and failed instance removal 2025-12-01 18:49:09 +00:00