Fix validity calculation for trace/span ID by mariojonke · Pull Request #2145 · open-telemetry/opentelemetry-python
* fixes trace ID validation which was off by one and considered the max trace ID (0xffff...ffff) value as invalid. * adds check to also validate a span ID for its max value * adds checks that trace and span ID must not be negative
requested a review
from a team
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters