I'm seeing an NPE from this library when setting the hostname tag on a trace, I believe this only happens when the apache library is executing a retry? java.lang.NullPointerException at ...
This latest version of sendgrid does not support apache http client 5. I saw another issue where you are trying to use JDK specific http libraries. However, its been in stale since 2016 and last ...