Skip to content
New issue

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

shutting down tracerProvider #359

Open
althunibat opened this issue Apr 16, 2024 · 0 comments
Open

shutting down tracerProvider #359

althunibat opened this issue Apr 16, 2024 · 0 comments

Comments

@althunibat
Copy link

type Shutdown struct { logger *zap.Logger pool *redis.Pool tracerProvider *sdktrace.TracerProvider serverShutdownTimeout time.Duration }
where tracerProvider is filled?
the below is not executed a.k.a always nil
// stop OpenTelemetry tracer provider if s.tracerProvider != nil { if err := s.tracerProvider.Shutdown(ctx); err != nil { s.logger.Warn("stopping tracer provider", zap.Error(err)) } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant