mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-06-08 16:29:33 +00:00
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
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