golang-samples
golang-samples copied to clipboard
chore: update opentelemetry dependency, and handle non-fatal resource errors
Description
Update OpenTelemetry dependencies, and follow best-practices for handling resource established in https://github.com/open-telemetry/opentelemetry-go/pull/4887.
Checklist
- [x] I have followed Contributing Guidelines from CONTRIBUTING.MD
- [x] Tests pass:
go test -v ./..(see Testing) - [x] Code formatted:
gofmt(see Formatting) - [x] Vetting pass:
go vet(see Formatting) - [ ] These samples need a new API enabled in testing projects to pass (let us know which ones)
- [ ] These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
- [ ] This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
- [ ] This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
- [x] Please merge this PR for me once it is approved