Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Populated at build time Version = "dev" // Default value for development builds Commit = "none" BuildDate = "unknown" )
Functions ¶
func NewRootCommand ¶
Types ¶
type MonitoringConfig ¶
type MonitoringConfig struct {
Enabled bool `json:"enabled"`
Environment string `json:"environment"`
RetentionDays int `json:"retentionDays"`
AlertEmail string `json:"alertEmail"`
}
MonitoringConfig represents the project-level monitoring configuration
type ServiceMonitoringConfig ¶
type ServiceMonitoringConfig struct {
Enabled bool `json:"enabled"`
HealthCheckPath string `json:"healthCheckPath"`
MetricsPort int `json:"metricsPort"`
LogLevel string `json:"logLevel"`
AlertThresholds struct {
ErrorRate float64 `json:"errorRate"`
ResponseTimeMs int `json:"responseTimeMs"`
CPUPercent int `json:"cpuPercent"`
} `json:"alertThresholds"`
Tags []string `json:"tags"`
}
ServiceMonitoringConfig represents service-level monitoring configuration
Click to show internal directories.
Click to hide internal directories.