Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

[Backport 5.1] internal/trace: remove net/trace integration#53889

Merged
camdencheek merged 2 commits into
5.1from
backport-53795-to-5.1
Jun 23, 2023
Merged

[Backport 5.1] internal/trace: remove net/trace integration#53889
camdencheek merged 2 commits into
5.1from
backport-53795-to-5.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Follow-up from https://github.com/sourcegraph/sourcegraph/pull/53435#issuecomment-1597050970 and INC-214 - this removes net/trace instrumentation entirely in the next release.

It seems this gets low usage and may be difficult to use, and it seems to introduce some risk and overhead. This will also make it easier to drop our internal trace wrapper entirely and/or integrate it as part of OpenTelemetry's APIs instead of having a proprietary way of doing traces.

Test plan

Already tested in https://github.com/sourcegraph/sourcegraph/pull/53435

Backport 61ce005 from #53795

Follow-up from
https://github.com/sourcegraph/sourcegraph/pull/53435#issuecomment-1597050970
and INC-214 - this removes `net/trace` instrumentation entirely in the
next release.

It seems [this gets low usage and may be difficult to
use](https://github.com/sourcegraph/sourcegraph/pull/53795#pullrequestreview-1489890896),
and it seems to introduce some risk and overhead. This will also make it
easier to drop our internal trace wrapper entirely and/or integrate it
as part of OpenTelemetry's APIs instead of having a proprietary way of
doing traces.

## Test plan

Already tested in https://github.com/sourcegraph/sourcegraph/pull/53435

(cherry picked from commit 61ce005)
@sourcegraph-bot

sourcegraph-bot commented Jun 21, 2023

Copy link
Copy Markdown
Contributor

📖 Storybook live preview

@sourcegraph-bot

sourcegraph-bot commented Jun 23, 2023

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff 072fa25...e724104.

Notify File(s)
@keegancsmith internal/debugserver/BUILD.bazel
internal/debugserver/debug.go
internal/trace/BUILD.bazel
internal/trace/trace.go
internal/trace/tracer.go
@sourcegraph/delivery doc/admin/observability/tracing.md
@sourcegraph/dev-experience internal/trace/BUILD.bazel
internal/trace/trace.go
internal/trace/tracer.go

@bobheadxi bobheadxi force-pushed the backport-53795-to-5.1 branch from 282562c to e724104 Compare June 23, 2023 05:04
@camdencheek camdencheek enabled auto-merge (squash) June 23, 2023 05:14
@camdencheek camdencheek merged commit 8c9b712 into 5.1 Jun 23, 2023
@camdencheek camdencheek deleted the backport-53795-to-5.1 branch June 23, 2023 05:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants