Can you run the go mod tidy command to clean up the go.mod file by adding missing and removing unused dependencies?
go mod tidy
You can update specific dependencies, and specify them with go get go.opentelemetry.io/contrib/detectors/[email protected].
go get go.opentelemetry.io/contrib/detectors/[email protected]