transfer写m3db出错时打印metric信息帮助定位 (#615)

* m3db writetagged应该并发做,不然会导致transfer rpc变慢

* go func指针传参问题

* 新增k8s-mon三个大盘文件

* 新增k8s-mon三个大盘文件

* 修改k8s-mon三个大盘文件

* transfer写m3db出错时打印metric信息帮助定位
This commit is contained in:
ning1875 2021-03-13 13:21:05 +08:00 committed by GitHub
parent 7bb93e8351
commit dec9097ce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -115,7 +115,12 @@ func (p *Client) Push2Queue(items []*dataobj.MetricValue) {
xtime.Second,
nil)
if err != nil {
logger.Errorf("unable to writeTagged: %s", err)
logger.Errorf("[endpoint:%s][metrics_name:%s][metrics_ts:%d][metrics_detail:%+v]unable to writeTagged: %s",
dm.Endpoint,
dm.Metric,
dm.Timestamp,
dm,
err)
atomic.AddInt32(&errCnt, 1)
}
wg.Done()