public static function updateMetadata($metadata, $jwtAuthUri)
    {
        $context = Tracer::spanContext();
        if ($context->enabled()) {
            $propagator = new GrpcMetadataPropagator();
            $metadata += [
                $propagator->key() => [$propagator->formatter()->serialize($context)]
            ];
        }
        return $metadata;
    }