Commit 53ce29db authored by xiaoguang.xu's avatar xiaoguang.xu

更换IP

parent 8521d9fc
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
func NewClient() client.Client { func NewClient() client.Client {
conf := client.UDPConfig{ conf := client.UDPConfig{
Addr: "172.20.6.29:8089", Addr: "172.20.6.33:8089",
} }
con, err := client.NewUDPClient(conf) con, err := client.NewUDPClient(conf)
......
...@@ -26,7 +26,7 @@ func MsgProcess(msg string) { ...@@ -26,7 +26,7 @@ func MsgProcess(msg string) {
msgInfluxProcess(traceMsg) msgInfluxProcess(traceMsg)
} }
var batchSize = 1000 var batchSize = 5000
var pointSlice = make([]*client.Point, 0, batchSize) var pointSlice = make([]*client.Point, 0, batchSize)
func msgInfluxProcess(traceMsgs []TraceMsg) { func msgInfluxProcess(traceMsgs []TraceMsg) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment