Skip to content

chore: bump gopkg.in/DataDog/dd-trace-go.v1 from 1.57.0 to 1.61.0 #12610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use alias vs 2 structs
  • Loading branch information
Emyrk committed Mar 15, 2024
commit 80b88829080aa8ff384e51eceaff1a2b5d42a165
7 changes: 7 additions & 0 deletions coderd/tracing/httpmw_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"testing"

"go.opentelemetry.io/otel/trace"
"go.opentelemetry.io/otel/trace/noop"

"github.com/go-chi/chi/v5"
"github.com/stretchr/testify/require"
Expand All @@ -17,7 +18,13 @@ import (
"github.com/coder/coder/v2/testutil"
)

// noopTracer is just an alias because the fakeTracer implements a method
// with the same name 'Tracer'. Kinda dumb, but this is a workaround.
type noopTracer = noop.Tracer

type fakeTracer struct {
noop.TracerProvider
noopTracer
startCalled int64
}

Expand Down