We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e49607 commit a05fad4Copy full SHA for a05fad4
coderd/coderd.go
@@ -130,14 +130,14 @@ func New(options *Options) *API {
130
})
131
},
132
httpmw.Prometheus(options.PrometheusRegistry),
133
- tracing.HTTPMW(api.TracerProvider, "coderd.http"),
134
)
135
136
apps := func(r chi.Router) {
137
r.Use(
138
httpmw.RateLimitPerMinute(options.APIRateLimit),
139
httpmw.ExtractAPIKey(options.Database, oauthConfigs, true),
140
httpmw.ExtractUserParam(api.Database),
+ tracing.HTTPMW(api.TracerProvider, "coderd.http"),
141
142
r.HandleFunc("/*", api.workspaceAppsProxyPath)
143
}
@@ -157,6 +157,7 @@ func New(options *Options) *API {
157
// Specific routes can specify smaller limits.
158
159
debugLogRequest(api.Logger),
160
161
162
r.Get("/", func(w http.ResponseWriter, r *http.Request) {
163
httpapi.Write(w, http.StatusOK, codersdk.Response{
0 commit comments