mirror of
https://github.com/dragonheim/gagent.git
synced 2025-04-26 02:18:59 -07:00
Extending prometheus support.
This commit is contained in:
parent
16d40fd93a
commit
8a7842e6bc
4 changed files with 62 additions and 37 deletions
|
@ -12,7 +12,13 @@ import (
|
|||
zmq "github.com/pebbe/zmq4"
|
||||
)
|
||||
|
||||
// Main is the initiation function for a Client
|
||||
/*
|
||||
Client mode will send an agent file to a router for processing
|
||||
Clients do not process the agent files, only send them as
|
||||
requests to a router. If started without arguments, the client
|
||||
will contact the router and attempt to retrieve the results
|
||||
of it's most recent request.
|
||||
*/
|
||||
func Main(wg *sync.WaitGroup, config gs.GagentConfig, rid int, agent string) {
|
||||
defer wg.Done()
|
||||
log.Printf("[INFO] Starting client\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue