sourcegraph/dev
Robert Lin 7b72d3a872
opentelemetry: upgrade all packages to v1.16/v0.81 (#54969)
OpenTelemetry versioning scheme is a bit convoluted but this upgrades
all OpenTelemetry-related packages together to around v1.16 (for Go SDK
packages) and v0.81 (for Collector packages, and the Collector itself) -
thankfully there were fewer breaking changes this time around. Big diff
is almost entirely `deps.bzl`

One of the more significant changes is we now have access to the
[finalized OpenTelemetry Metrics
API](https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.16.0),
which will come in handy for
https://github.com/sourcegraph/sourcegraph/issues/53775, as well as
various Collector improvements from recent releases:
https://github.com/open-telemetry/opentelemetry-collector-contrib/releases
I skimmed through the recent breaking changes and I don't think there's
anything that affects us

Update:
https://github.com/sourcegraph/sourcegraph/pull/54969#issuecomment-1638557302

## Test plan

```
sg run otel-collector jaeger
sg start
```

See v0.81 collector running:

```
[ otel-collector] 2023-07-14T21:37:54.709Z      info    jaegerexporter@v0.81.0/exporter.go:173  State of the connection with the Jaeger Collector backend{"kind": "exporter", "data_type": "traces", "name": "jaeger", "state": "READY"}
```

Do a trace, get a result from multiple services:


![image](https://github.com/sourcegraph/sourcegraph/assets/23356519/38129cea-f2df-472e-99cc-9b928cf3b086)

---------

Co-authored-by: Will Dollman <will.dollman@sourcegraph.com>
Co-authored-by: davejrt <davetry@gmail.com>
2023-07-17 10:48:19 -07:00
..
adr-docs bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
auth-provider
authtest ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
backcompat gomod: update zoekt to include ngram sort optimization (#54999) 2023-07-17 15:34:20 +02:00
bkstats bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
build-tracker fix: use of ioutil package (#53041) 2023-06-07 09:37:26 +00:00
buildchecker fix cases of err being discarded from errors.Append (#53975) 2023-06-22 19:29:16 +01:00
check Merge enterprise and oss repo-updater (#54939) 2023-07-14 15:05:13 +02:00
ci ci: remove dead Go scripts/code (#54992) 2023-07-15 17:41:45 +00:00
codeintel-qa Switch to OCI/Wolfi based image (#52693) 2023-06-02 12:12:52 +02:00
corrupt-archives bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
db dev/deb: Remove scripts replaced by sg (#28767) 2021-12-08 23:22:00 +00:00
depgraph Update buildfiles + fix analysis (#50013) 2023-03-27 12:11:46 +02:00
dx bazel: build //enterprise (#47327) 2023-02-07 15:30:46 +01:00
gqltest dev/gqltest: Unskip bitbucket project perms tests (#54477) 2023-07-04 11:24:25 +02:00
grafana
internal/cmd Backend: remove enterprise/internal (#54872) 2023-07-12 22:51:02 +02:00
linters bzl: port go compiler directives linter from sg lint to nogo (#54485) 2023-06-30 14:31:15 +02:00
nix nix: fix bazel test (#52939) 2023-06-05 18:33:27 +02:00
perforce ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
perforce-testing-helpers ci: update the use of perforce.sgdev to perforce-tests.sgdev (#50664) 2023-04-17 17:42:28 -07:00
phabricator web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
pr-auditor ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
prometheus Switch to OCI/Wolfi based image (#52693) 2023-06-02 12:12:52 +02:00
release Release: activate 5.1.4 release (#55023) 2023-07-17 16:57:35 +00:00
scaletesting ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
sg gomod: update zoekt to include ngram sort optimization (#54999) 2023-07-17 15:34:20 +02:00
src-expose ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
team bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
tilt
tools bzl: bazelify docsite and doc/cli/reference generation (#54538) 2023-07-03 16:12:44 +02:00
update-embeddings-list fix: remove build files and fix all working dirs (#54980) 2023-07-14 15:01:18 -07:00
zoekt zoekt: set -indexserver_proxy for webserver (#44995) 2022-12-02 08:38:44 +01:00
.gitignore
add_https_domain_to_hosts.sh
babel.bzl bazel: rename arg to follow convention (#50627) 2023-04-14 04:46:45 +00:00
bazel_buildkite_stamp_vars.sh bazel: test volatile variables with Percy (#51693) 2023-05-11 09:20:42 +00:00
bazel_stamp_vars.sh [backport] bzl: use old method for getting VERSION stamping (#53959) 2023-06-22 17:45:04 +02:00
BUILD.bazel Move enterprise/internal/batches package to internal/batches (#54855) 2023-07-12 08:42:35 -06:00
caddy.sh
Caddyfile dev/Caddyfile: use 127.0.0.1 instead of localhost (#38955) 2022-07-18 13:19:09 -07:00
CLA.txt
codecov.yml Move enterprise/internal/batches package to internal/batches (#54855) 2023-07-12 08:42:35 -06:00
codeinsights-db.sh insights: update references to TimescaleDB (#32948) 2022-03-29 11:04:47 +01:00
comby-install-or-upgrade.sh update team reviewers (#50119) 2023-04-03 16:36:12 +02:00
ctags-install.sh dev: add installer script for building a local universal-ctag (#45198) 2022-12-06 18:32:21 +01:00
defs.bzl Revert "revert "bazel: improve ESLint rule" (#52853)" (#52878) 2023-06-04 19:06:39 -07:00
dev-sourcegraph-server.sh
docsite.sh doc: fix bad and broken links (#51902) 2023-05-12 17:57:43 -04:00
drop-entire-local-database-and-redis.sh
eslint-report-test.sh Revert "revert "bazel: improve ESLint rule" (#52853)" (#52878) 2023-06-04 19:06:39 -07:00
eslint.bzl bzl: fix warnings on eslint tests w/ timeout=short (#52923) 2023-06-05 14:40:27 +02:00
foreach-non-web-client-project.sh remove cody code that was moved to separate cody repo (#54729) 2023-07-10 00:31:47 -10:00
git-stats search: create and document git-stats script (#32663) 2022-03-16 13:41:17 +02:00
global-settings.json codeintel: Revive braindot (#49128) 2023-03-13 13:33:39 +00:00
go_defs.bzl bzl: enable go_test to turn off race detector (#54747) 2023-07-10 15:16:43 +00:00
go_stringer.bzl bzl: update to Go 1.20.5 (#54962) 2023-07-14 17:27:46 +02:00
go-mod-update.sh
js_lib.bzl bazel: implement custom ESLint Bazel rule (#52062) 2023-05-22 04:05:45 -07:00
licenses.sh rework plugin structure and implement frontside blogpost (#46883) 2023-02-15 11:49:51 +02:00
mocha.bzl bazel: make percy silent on success (#52906) 2023-06-04 23:16:05 -07:00
oci_defs.bzl Switch to OCI/Wolfi based image (#52693) 2023-06-02 12:12:52 +02:00
oci_deps.bzl opentelemetry: upgrade all packages to v1.16/v0.81 (#54969) 2023-07-17 10:48:19 -07:00
postgres_exporter.sh migrations: Update postgres exporter queries for dirty database (#30774) 2022-02-10 17:40:09 -06:00
proto.bzl fix: gazelle and proto generation (continuation of #49547) (#49713) 2023-04-11 11:36:45 +02:00
prune-pick.sh
redis-postgres.yml Update Postgres to 12.7 (#31933) 2022-03-03 14:39:52 -06:00
redis.conf
run-server-image.sh Make reindexing work in server image (#53256) 2023-06-14 15:17:30 +01:00
sass.bzl Buildifier fixes (#48691) 2023-03-07 10:15:26 +01:00
scip-ctags-dev syntax-highlighter: initial ctags work (w/ musl scip-ctags) (#52643) 2023-05-30 17:19:39 -04:00
scip-ctags-install.sh syntax-highlighter: initial ctags work (w/ musl scip-ctags) (#52643) 2023-05-30 17:19:39 -04:00
site-config.json Always disable user external service mode in UI (#44721) 2022-11-23 14:49:03 +01:00
src-prof-services.json Add embeddings to server behind env var (#50288) 2023-04-04 16:45:50 +02:00
src-search-meta.sh GraphQL: remove deprecated resultCount field (#31573) 2022-02-21 12:03:36 -07:00
tool_deps.bzl bzl: bazelify docsite and doc/cli/reference generation (#54538) 2023-07-03 16:12:44 +02:00
tools.go cody-gateway: rename service from LLM-proxy (#52565) 2023-05-30 08:44:27 -07:00
universal-ctags-dev dev: add installer script for building a local universal-ctag (#45198) 2022-12-06 18:32:21 +01:00
webpack.bzl bazel: test bundlesize report ts (#50847) 2023-04-27 19:11:06 -07:00
write_generated_to_source_files.bzl bzl: migrate genqlient go:generate to Bazel (#54685) 2023-07-10 14:51:03 +02:00