Print collection type on request
This commit is contained in:
parent
894eabedb8
commit
037fe1de05
|
@ -70,7 +70,7 @@ func (coll *Collector) Close() {
|
||||||
|
|
||||||
func (coll *Collector) sendOnce() {
|
func (coll *Collector) sendOnce() {
|
||||||
coll.sendPacket(net.JoinHostPort(multiCastGroup, port))
|
coll.sendPacket(net.JoinHostPort(multiCastGroup, port))
|
||||||
log.Println("send request")
|
log.Println("request", coll.CollectType)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (coll *Collector) sendPacket(address string) {
|
func (coll *Collector) sendPacket(address string) {
|
||||||
|
|
Loading…
Reference in New Issue