Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: Fix opentelemetry gracefull 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 gracefulShutdonw function. Fixes: open-policy-agent#6651 Signed-off-by: Nicolas Chotard <nicolas.chotard@backmarket.com>
- Loading branch information