File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import (
28
28
"github.com/pion/webrtc/v3"
29
29
"github.com/prometheus/client_golang/prometheus/promhttp"
30
30
"github.com/spf13/cobra"
31
+ sdktrace "go.opentelemetry.io/otel/sdk/trace"
31
32
"golang.org/x/oauth2"
32
33
xgithub "golang.org/x/oauth2/github"
33
34
"golang.org/x/xerrors"
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ import (
29
29
"github.com/coder/coder/codersdk"
30
30
"github.com/coder/coder/provisionerd/proto"
31
31
"github.com/coder/coder/site"
32
- sdktrace "go.opentelemetry.io/otel/sdk/trace"
33
32
)
34
33
35
34
// Options are requires parameters for Coder to start.
@@ -103,11 +102,7 @@ func newRouter(options *Options, a *api) chi.Router {
103
102
})
104
103
},
105
104
httpmw .Prometheus ,
106
- << << << < HEAD
107
105
tracing .HTTPMW (a .TracerProvider , "coderd.http" ),
108
- == == == =
109
- tracing .HTTPMW (api .TracerProvider , "coderd.http" ),
110
- >> >> >> > move to coderd
111
106
)
112
107
113
108
r .Route ("/api/v2" , func (r chi.Router ) {
You can’t perform that action at this time.
0 commit comments