Pulse/pkg/metrics
rcourtman edae6d1edc refactor: split alert config and callbacks
Extract alert config types, normalization, and identity helpers into internal/alerts/config while preserving the existing alerts package API through aliases and wrappers.

Move Manager callback lifecycle state into a same-package callbackBus, keeping public Set/Subscribe methods unchanged.

Harden metrics SQLite artifacts to owner-only permissions and cover permissive umask behavior.

Proof: go test -json ./internal/api -count=1; go test ./internal/alerts/... ./internal/monitoring ./internal/ai/... ./internal/websocket ./internal/config ./pkg/metrics; go test ./internal/alerts/... ./pkg/metrics
2026-05-06 13:01:32 +01:00
..
alert_metrics.go feat(enterprise): add Advanced Reporting and Audit Webhooks integration 2026-01-09 21:31:49 +00:00
alert_metrics_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
norace_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
race_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
store.go refactor: split alert config and callbacks 2026-05-06 13:01:32 +01:00
store_additional_test.go refactor: split alert config and callbacks 2026-05-06 13:01:32 +01:00
store_bench_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
store_downsample_test.go Restore RC backend proof regressions 2026-04-09 20:15:17 +01:00
store_loadtest_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
store_query_plan_test.go Optimize compact storage summary chart path 2026-04-10 19:09:12 +01:00
store_slo_test.go Add hosted-runner budget for metrics query SLO 2026-04-11 19:57:49 +01:00
store_test.go Defer metrics store startup maintenance 2026-04-01 13:29:39 +01:00