Closed
Description
Component(s)
No response
Describe the issue you're reporting
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:
- connector/servicegraphconnector
- examples/demo
- exporter/awskinesisexporter
- exporter/awss3exporter
- exporter/azuredataexplorerexporter
- exporter/clickhouseexporter
- exporter/datasetexporter
- exporter/loadbalancingexporter
- exporter/mezmoexporter
- exporter/otelarrowexporter
- exporter/rabbitmqexporter
- internal/aws
- internal/coreinternal
- internal/exp
- internal/otelarrow
- pkg/batchperresourceattr
- pkg/sampling
- pkg/stanza
- processor/deltatocumulativeprocessor
- processor/groupbyattrsprocessor
- processor/probabilisticsamplerprocessor
- processor/tailsamplingprocessor
- receiver/awsfirehosereceiver
- testbed/testbed
- testbed/tests
(generated with rg math/rand -l -tgo | cut -d'/' -f1-2 | sort | uniq | sed 's/^/- [ ] /'
)
Counterpart to open-telemetry/opentelemetry-collector/issues/10885.
Activity