# AI Service Monitoring Configuration Fragment

[[elements]]
border_top = true
border_bottom = false
name = "ai_monitoring_header"
title = "📊 Monitoring Configuration"
type = "section_header"

[[elements]]
default = true
help = "Enable monitoring and metrics"
name = "ai_monitoring_enabled"
nickel_path = ["ai_service", "monitoring", "enabled"]
prompt = "Enable Monitoring"
type = "confirm"

[[elements]]
condition = "ai_monitoring_enabled == true"
default = 60000
help = "Metrics collection interval in milliseconds"
max = 300000
min = 5000
name = "ai_monitoring_metrics_interval"
nickel_path = ["ai_service", "monitoring", "metrics_interval"]
prompt = "Metrics Interval (ms)"
type = "number"
