Description of changes:
Fixes a bug where the ServletHandler would assume upstream UNKNOWN sampling decisions to be false, and instead we compute a new sampling decision in this case. Added unit tests to verify behavior.
Also sprinkled in some Nullable usage, removed some unnecessary Optional usage, and some other small cleanups.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
64
Description of changes: Fixes a bug where the
ServletHandler
would assume upstreamUNKNOWN
sampling decisions to be false, and instead we compute a new sampling decision in this case. Added unit tests to verify behavior.Also sprinkled in some
Nullable
usage, removed some unnecessaryOptional
usage, and some other small cleanups.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.