Migrate to math/rand/v2 #10885
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Good issue for contributors to OpenTelemetry Service to pick up
priority:p3
Lowest
Go 1.22 introduced math/rand/v2 which replaces the
math/rand
stdlib package. We should migrate to it!Once we have migrated, we can forbid its usage via depguard.
Components using
math/rand
v1:(generated using
rg math/rand -l -tgo | cut -d'/' -f1-2 | sort | uniq | sed 's/^/- [ ] /'
)Counterpart to open-telemetry/opentelemetry-collector-contrib/issues/34676.
The text was updated successfully, but these errors were encountered: