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

Struct Backend

cmd/tempo-query/tempo/plugin.go:69–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67var ErrTraceNotFound = errors.New("trace not found")
68
69type Backend struct {
70 logger *zap.Logger
71 tempoBackend string
72 tlsEnabled bool
73 tls tlsCfg.ClientConfig
74 httpClient *http.Client
75 tenantHeaderKey string
76 QueryServicesDuration *time.Duration
77 findTracesConcurrentRequests int
78}
79
80func New(logger *zap.Logger, cfg *Config) (*Backend, error) {
81 httpClient, err := createHTTPClient(cfg)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected