- Remove KCL ecosystem (~220 files deleted) - Migrate all infrastructure to Nickel schema system - Consolidate documentation: legacy docs → provisioning/docs/src/ - Add CI/CD workflows (.github/) and Rust build config (.cargo/) - Update core system for Nickel schema parsing - Update README.md and CHANGES.md for v5.0.0 release - Fix pre-commit hooks: end-of-file, trailing-whitespace - Breaking changes: KCL workspaces require migration - Migration bridge available in docs/src/development/
52 lines
1.0 KiB
Plaintext
52 lines
1.0 KiB
Plaintext
# Monitoring Default Values
|
|
# Common defaults for metrics, health checks, and observability
|
|
|
|
let monitoring_schema = import "../../schemas/common/monitoring.ncl" in
|
|
|
|
{
|
|
monitoring | monitoring_schema.MonitoringConfig = {
|
|
# Disabled by default (can be enabled per service)
|
|
enabled = false,
|
|
|
|
# Metrics Collection
|
|
metrics = {
|
|
enabled = false,
|
|
interval = 60,
|
|
prometheus_path = "/metrics",
|
|
retention_days = 30,
|
|
buffer_size = 1000,
|
|
},
|
|
|
|
# Health Checks
|
|
health_check = {
|
|
enabled = false,
|
|
type = "&",
|
|
interval = 30,
|
|
timeout = 5000,
|
|
unhealthy_threshold = 3,
|
|
healthy_threshold = 2,
|
|
endpoint = "/health",
|
|
},
|
|
|
|
# Distributed Tracing
|
|
tracing = {
|
|
enabled = false,
|
|
sample_rate = 0.1,
|
|
},
|
|
|
|
# Alerting
|
|
alerting = {
|
|
enabled = false,
|
|
},
|
|
|
|
# Resource Monitoring
|
|
resources = {
|
|
cpu = false,
|
|
memory = false,
|
|
disk = false,
|
|
network = false,
|
|
alert_threshold = 80,
|
|
},
|
|
},
|
|
}
|