token is uint64 to reduce hash collision rates. Experimentally, it was observed that fnv32 could approach a collision rate of 1 in 10,000. fnv64 avoids collisions when tested against traces with up to 1M spans (see matching test). A collision results in a dropped span during combine.
| 13 | // when tested against traces with up to 1M spans (see matching test). A collision |
| 14 | // results in a dropped span during combine. |
| 15 | type token uint64 |
| 16 | |
| 17 | var ErrTraceTooLarge = fmt.Errorf("trace exceeds max size") |
| 18 |
no outgoing calls
no test coverage detected