trace exporter: add new type file (#3298)

Co-authored-by: zhaikangqi <794556486@qq.com>
This commit is contained in:
kangqi
2023-05-29 18:24:59 +08:00
committed by GitHub
parent 032f2419a2
commit e751736516
5 changed files with 23 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ 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|otlpgrpc|otlphttp"`
Batcher string `json:",default=jaeger,options=jaeger|zipkin|otlpgrpc|otlphttp|file"`
// OtlpHeaders represents the headers for OTLP gRPC or HTTP transport.
// For example:
// uptrace-dsn: 'http://project2_secret_token@localhost:14317/2'