forked from mirrors/statsd_exporter
Add event handler for Unixgram
Signed-off-by: Gert van den Berg <gert.vandenberg@iotnxt.com>
This commit is contained in:
parent
e60f2f147b
commit
b555158e53
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -216,7 +216,7 @@ func main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ul := &StatsDUnixgramListener{conn: uxgconn}
|
ul := &StatsDUnixgramListener{conn: uxgconn, eventHandler: eventQueue}
|
||||||
go ul.Listen()
|
go ul.Listen()
|
||||||
|
|
||||||
// if it's an abstract unix domain socket, it won't exist on fs
|
// if it's an abstract unix domain socket, it won't exist on fs
|
||||||
|
|
Loading…
Reference in a new issue