feat(agent): add service monitors configuration

This commit is contained in:
2026-04-05 03:39:11 +03:00
parent 5475912365
commit add1242b97
+5
View File
@@ -20,6 +20,11 @@ type AgentConfig struct {
Label string `yaml:"label"`
CertDir string `yaml:"cert_dir"`
Services []ServiceConfig `yaml:"services"`
MonitorDocker bool `yaml:"monitor_docker"`
MonitorKubernetes bool `yaml:"monitor_kubes"`
KubernetesNamespace *string `yaml:"kubernetes_namespace"`
}
func Load(path string) (*AgentConfig, error) {