Switch the semconv migration default to new by dmathieu · Pull Request #6899 · open-telemetry/opentelemetry-go-contrib (original) (raw)

This switches the semantic conventions migration default from the old version to be the new one, and keeps the possibility to use http/dup to get both.

Note: we previously tested and documented an old config.
That worked because it used the default. However, that behavior is not documented in the semconv migration spec, and allowing to keep using the old values only when the next release will entirely drop their support looks like a bad idea.

This also removes the v1.20.0_test.go files. Those tests rely on the global server/client, but only tests the old behavior.
We can't run the old behavior only anymore, so running those would require a non-trivial refactoring that seems unneeded since this entire code will be removed in the next release.

Closes #6897