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

Struct tempoServer

cmd/tempo/app/server_service.go:41–47  ·  view source on GitHub ↗

todo: evaluate whether the internal server should be included as part of this

Source from the content-addressed store, hash-verified

39
40// todo: evaluate whether the internal server should be included as part of this
41type tempoServer struct {
42 mux *mux.Router // all tempo http routes are added here
43 handler http.Handler // the final handler which includes the router and any middleware
44
45 externalServer *server.Server // the standard server that all HTTP/GRPC requests are served on
46 enableHTTP2Once sync.Once
47}
48
49func newTempoServer() *tempoServer {
50 return &tempoServer{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected