We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go 测试代码:
func TestNewPoint(t *testing.T) { var spanKV point.KVs spanKV = spanKV.AddTag("span_type", "web") // 使用下划线 spanKV = spanKV.Add("start", 123, false, false) spanKV = spanKV.AddTag("span.type", "local") // 使用点 spanKV = spanKV.AddTag("status", "ok") pt := point.NewPointV2("otel", spanKV, point.DefaultLoggingOptions()...) t.Logf("point =%s", pt.LineProto()) }
运行结果:
=== RUN TestNewPoint env_test.go:99: point =otel,span_type=web,span_type=local,status=ok start=123i 1701336381183861331 --- PASS: TestNewPoint (0.00s) PASS
在测试otel过程中,发现如果行协议的key中带. 那么 数据会发送出去,并且 datakit monitor 也是发送成功,但是页面就是查询不到,dql 也查询不到。 使用 recorder 功能将数据输出到文件才发现的。
.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
go 测试代码:
运行结果:
在测试otel过程中,发现如果行协议的key中带
.
那么 数据会发送出去,并且 datakit monitor 也是发送成功,但是页面就是查询不到,dql 也查询不到。 使用 recorder 功能将数据输出到文件才发现的。The text was updated successfully, but these errors were encountered: