SIGN IN SIGN UP

Fix OpenTelemetry graceful shutdown.

When running OPA with the distributed tracing option enabled,
the OpenTelemetry trace exporter is not gracefully shut down
when the server is stopped.

This PR fixes that issues by moving the trace exporter shutdown
in the gracefulServerShutdown function.

Fixes: #6651
Signed-off-by: Nicolas Chotard <nicolas.chotard@backmarket.com>
Signed-off-by: David Wobrock <david.wobrock@backmarket.com>
N
Nicolas Chotard committed
d7ebb3a7d7e63b7327b446bf758a7ae0e54d81e8
Parent: ba2b004
Committed by Ashutosh Narkar <anarkar4387@gmail.com> on 5/10/2024, 4:56:21 PM