Skip to content

Commit 2dac034

Browse files
committed
update
1 parent 6c7e2c1 commit 2dac034

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pkg/server/http/http.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,21 @@ package http
55

66
import (
77
"context"
8+
"net/http"
9+
"net/http/pprof"
10+
811
"github.com/felixge/fgprof"
912
"github.com/go-kit/log"
1013
"github.com/go-kit/log/level"
1114
"github.com/pkg/errors"
1215
"github.com/prometheus/client_golang/prometheus"
1316
"github.com/prometheus/client_golang/prometheus/promhttp"
1417
toolkit_web "github.com/prometheus/exporter-toolkit/web"
15-
"github.com/thanos-io/thanos/pkg/component"
16-
"github.com/thanos-io/thanos/pkg/prober"
1718
"golang.org/x/net/http2"
1819
"golang.org/x/net/http2/h2c"
19-
"net/http"
20-
"net/http/pprof"
20+
21+
"github.com/thanos-io/thanos/pkg/component"
22+
"github.com/thanos-io/thanos/pkg/prober"
2123
)
2224

2325
// A Server defines parameters for serve HTTP requests, a wrapper around http.Server.

0 commit comments

Comments
 (0)