feat: add grpc export (#2379)

Co-authored-by: Gene Wu <gene.wu@cabital.com>
This commit is contained in:
genewoo
2022-09-14 22:54:52 +08:00
committed by GitHub
parent f2a0f78288
commit 05c2f313c7
5 changed files with 40 additions and 2 deletions

View File

@@ -8,5 +8,5 @@ type Config struct {
Name string `json:",optional"`
Endpoint string `json:",optional"`
Sampler float64 `json:",default=1.0"`
Batcher string `json:",default=jaeger,options=jaeger|zipkin"`
Batcher string `json:",default=jaeger,options=jaeger|zipkin|grpc"`
}