discovery
This commit is contained in:
parent
e73f03792c
commit
cb97c6c8a5
@ -1,4 +1,4 @@
|
||||
central:
|
||||
address: "http://localhost:9090"
|
||||
port: 443
|
||||
log_path: "./bin/log.xml"
|
||||
log_path: "./discovery/bin/log.xml"
|
||||
|
6
probe.go
6
probe.go
@ -18,14 +18,13 @@ import (
|
||||
|
||||
const (
|
||||
// /home/geek/develop/gopath/src/git.loafle.net/overflow/overflow_probe/config_manager/test_agent
|
||||
PATH = "/home/insanity/Develop/gopath/src/git.loafle.net/overflow/overflow_probe/config_manager/test_agent"
|
||||
PATH = "/home/geek/Develop/gopath/src/git.loafle.net/overflow/overflow_probe/config_manager/test_agent"
|
||||
)
|
||||
|
||||
var wg sync.WaitGroup
|
||||
|
||||
func main() {
|
||||
wg.Add(1)
|
||||
log.Debug("ddddddddddddddddd")
|
||||
go StartAgent()
|
||||
wg.Wait()
|
||||
}
|
||||
@ -44,7 +43,10 @@ func StartAgent() {
|
||||
|
||||
prb := Probe{}
|
||||
prb.startProbe()
|
||||
|
||||
// Todo discovery start delete
|
||||
discovery.Start()
|
||||
|
||||
prb.handleProbeStop(stopch)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user