reference: https://github.com/wavefrontHQ/wavefront-sdk-java/commit/338e20c7c6df907d1bd77d89dafff165d3226135