open-telemetry / opentelemetry-go

OpenTelemetry Go API and SDK
https://opentelemetry.io/docs/languages/go
Apache License 2.0
5.19k stars 1.04k forks source link

The es index is too big created by jaeger #3978

Closed yunduansing closed 1 year ago

yunduansing commented 1 year ago

Description

A clear and concise description of what the bug is. All micro services create only one es index everyday and is too big (200GB+ each index),how to change it ?

Environment

Steps To Reproduce

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

A clear and concise description of what you expected to happen. Hope the es index size could increases slowly or one index per service

dmathieu commented 1 year ago

This looks like a jaeger issue, not an opentelemetry one.