It will create an huge index everyday (200G+,we have 8 services)
Steps to reproduce
once.Do(func() {
exp, err := jaeger.New(jaeger.WithCollectorEndpoint(jaeger.WithEndpoint(url)))
if err != nil {
applog.Error("jaeger init fail:", err.Error())
return
}
otel.SetTracerProvider(tracesdk.NewTracerProvider(
// Always be sure to batch in production.
tracesdk.WithBatcher(exp, tracesdk.WithBatchTimeout(time.Second)),
// Record information about this application in an Resource.
tracesdk.WithResource(resource.NewWithAttributes(
semconv.SchemaURL,
semconv.ServiceNameKey.String(name),
)),
))
})
What happened?
It will create an huge index everyday (200G+,we have 8 services)
Steps to reproduce
once.Do(func() { exp, err := jaeger.New(jaeger.WithCollectorEndpoint(jaeger.WithEndpoint(url))) if err != nil { applog.Error("jaeger init fail:", err.Error()) return } otel.SetTracerProvider(tracesdk.NewTracerProvider( // Always be sure to batch in production. tracesdk.WithBatcher(exp, tracesdk.WithBatchTimeout(time.Second)), // Record information about this application in an Resource. tracesdk.WithResource(resource.NewWithAttributes( semconv.SchemaURL, semconv.ServiceNameKey.String(name), )), )) })
Expected behavior
How to change it ?
Relevant log output
No response
Screenshot
No response
Additional context
No response
Jaeger backend version
No response
SDK
No response
Pipeline
No response
Stogage backend
No response
Operating system
No response
Deployment model
No response
Deployment configs
No response