Pulse/internal/config
rcourtman 0a9f92753b feat: add configurable metrics retention settings
- Add MetricsRetentionRawHours, MetricsRetentionMinuteHours, MetricsRetentionHourlyDays, MetricsRetentionDailyDays to SystemSettings
- Wire settings from system.json through Config to metrics store initialization
- Set sensible defaults: Raw=2h, Minute=24h, Hourly=7d, Daily=90d
- Log active retention values on startup for transparency

Users can now customize how long metrics are stored at each aggregation tier.
2025-12-13 14:14:07 +00:00
..
ai.go feat(settings): Add separate Auto-Fix Model setting for remediation 2025-12-12 14:35:28 +00:00
ai_usage_persistence_test.go feat(ai): Add enriched context with historical trends and predictions 2025-12-12 09:45:57 +00:00
api_tokens.go feat: add Kubernetes platform support 2025-12-12 21:31:11 +00:00
api_tokens_test.go feat: add Kubernetes platform support 2025-12-12 21:31:11 +00:00
client_helpers.go chore: remove dead code and unused files 2025-11-27 00:05:04 +00:00
client_helpers_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
config.go feat: add configurable metrics retention settings 2025-12-13 14:14:07 +00:00
config_utils_test.go test: Add DiscoveryConfig UnmarshalJSON tests 2025-12-02 02:29:38 +00:00
detect_root.go WIP: Save all pending changes including frontend updates and unified agent scaffolding 2025-11-25 11:27:07 +00:00
docker_metadata.go wip: AI chat integration with multi-provider support 2025-12-04 20:16:53 +00:00
docker_metadata_test.go Add unit tests for DockerMetadataStore (internal/config) 2025-11-30 17:20:46 +00:00
export.go refactor: Use zerolog instead of fmt.Printf in config export 2025-12-02 16:27:54 +00:00
export_test.go test: Add ImportConfig error path tests 2025-12-02 02:32:06 +00:00
guest_metadata.go wip: AI chat integration with multi-provider support 2025-12-04 20:16:53 +00:00
guest_metadata_test.go Add unit tests for GuestMetadataStore (internal/config) 2025-11-30 20:48:05 +00:00
host_metadata.go Add AI monitoring enhancements and host metadata features 2025-12-09 16:27:46 +00:00
import_transaction.go feat: production-ready import/export with API tokens and transactional rollback 2025-10-21 14:37:44 +00:00
import_transaction_test.go test: Add StageFile transaction tests 2025-12-02 02:34:20 +00:00
oidc.go Add OIDC CA bundle support 2025-11-22 09:44:03 +00:00
oidc_test.go Add unit tests for OIDC configuration helpers 2025-11-30 16:22:43 +00:00
persistence.go feat: add configurable metrics retention settings 2025-12-13 14:14:07 +00:00
persistence_fail_test.go Harden setup token flow and enforce encrypted persistence 2025-10-25 16:00:37 +00:00
persistence_test.go test: Add SaveNodesConfigAllowEmpty test and document deadlock 2025-12-02 02:54:49 +00:00
watcher.go Rebuild agent token bindings on API token config reload 2025-11-29 14:09:30 +00:00