Pulse/internal/monitoring
rcourtman 334cffb1c7 test: Add tests for monitor helper and metrics functions
- clearGuestMetadataCache: nil safety, cache clearing, key isolation
- shouldRunBackupPoll: interval-based, cycle-based, config validation
- storeNodeLastSuccess/lastNodeSuccessFor: store/retrieve, overwrite, missing keys

Improves coverage for backup polling logic and node metrics tracking.
2025-12-01 21:18:33 +00:00
..
backoff.go
backoff_test.go
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
circuit_breaker_test.go test: Add tests for allow, ensureContainerRootDiskEntry; remove dead code 2025-12-01 20:15:32 +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 tests for parseContainerMountMetadata, convertContainerDiskInfo, StalenessScore 2025-12-01 20:44:00 +00:00
diagnostic_snapshots.go
diagnostic_snapshots_test.go test: Add tests for handleProxyHostFailure, recordNodeSnapshot, evaluateHostAgents 2025-12-01 19:40:32 +00:00
docker_commands.go
docker_commands_test.go test: Add tests for GetGuestMetrics, mergeSnapshot, getDockerCommandPayload 2025-12-01 19:58:43 +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 tests for normalizeEndpointHost, SelectInterval, generateDockerHostIdentifier 2025-12-01 20:26:21 +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 tests for monitor helper and metrics functions 2025-12-01 21:18:33 +00:00
harness_integration.go
helpers_test.go test: Add tests for sanitizeGuestAddressStrings, parseContainerConfigNetworks, mergeNVMeTempsIntoDisks 2025-12-01 20:34:48 +00:00
integration_integration_test.go
main_test.go
merge_temps_test.go test: Add tests for sanitizeGuestAddressStrings, parseContainerConfigNetworks, mergeNVMeTempsIntoDisks 2025-12-01 20:34:48 +00:00
metrics.go
metrics_helpers_test.go test: Add tests for monitor helper and metrics functions 2025-12-01 21:18:33 +00:00
metrics_history.go
metrics_history_concurrency_test.go
metrics_history_test.go test: Add tests for lookupClusterEndpointLabel, GetNodeMetrics, stateDetails 2025-12-01 20:07:22 +00:00
metrics_test.go test: Add tests for handleProxyFailure, parseRPiTemperature, RecordResult 2025-12-01 19:33:06 +00:00
monitor.go test: Add tests for convertDockerSwarmInfo, namespacePathsForDatastore, preserveFailedStorageBackups 2025-12-01 19:04:23 +00:00
monitor_backup_poll_test.go test: Add tests for monitor helper and metrics functions 2025-12-01 21:18:33 +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 test: Add tests for handleProxyHostFailure, recordNodeSnapshot, evaluateHostAgents 2025-12-01 19:40:32 +00:00
monitor_memory_test.go
monitor_pmg_test.go
monitor_polling.go test: Add tests for allow, ensureContainerRootDiskEntry; remove dead code 2025-12-01 20:15:32 +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 lookupClusterEndpointLabel, GetNodeMetrics, stateDetails 2025-12-01 20:07:22 +00:00
monitor_timeout_test.go test: Add tests for normalizeEndpointHost, taskExecutionTimeout, decrementPending 2025-12-01 18:42:57 +00:00
poller.go
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
scheduler_test.go test: Add tests for normalizeEndpointHost, SelectInterval, generateDockerHostIdentifier 2025-12-01 20:26:21 +00:00
staleness_tracker.go
staleness_tracker_test.go test: Add tests for parseContainerMountMetadata, convertContainerDiskInfo, StalenessScore 2025-12-01 20:44:00 +00:00
storage_backup_preserve_test.go test: Add tests for convertDockerSwarmInfo, namespacePathsForDatastore, preserveFailedStorageBackups 2025-12-01 19:04:23 +00:00
storage_filters.go
storage_filters_test.go
task_queue.go
task_queue_test.go test: Add tests for isProxyEnabled, taskHeap.Pop, NewAdaptiveScheduler 2025-12-01 19:26:37 +00:00
temperature.go fix: Make parseNVMeTemps deterministic by checking Composite before Sensor 1 2025-12-01 20:03:05 +00:00
temperature_test.go test: Add table-driven tests for parseSensorsJSON 2025-12-01 21:00:46 +00:00