MCPcopy
hub / github.com/grafana/tempo / NewTransport

Function NewTransport

tempodb/backend/instrumentation/backend_transports.go:27–32  ·  view source on GitHub ↗
(next http.RoundTripper)

Source from the content-addressed store, hash-verified

25}
26
27func NewTransport(next http.RoundTripper) http.RoundTripper {
28 return instrumentedTransport{
29 next: next,
30 observer: requestDuration,
31 }
32}
33
34func (i instrumentedTransport) RoundTrip(req *http.Request) (*http.Response, error) {
35 start := time.Now()

Callers 3

getContainerClientFunction · 0.92
createBucketFunction · 0.92
createCoreFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected