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

Function addHTTPAPIPrefix

cmd/tempo/app/modules.go:842–844  ·  view source on GitHub ↗
(cfg *Config, apiPath string)

Source from the content-addressed store, hash-verified

840}
841
842func addHTTPAPIPrefix(cfg *Config, apiPath string) string {
843 return path.Join(cfg.HTTPAPIPrefix, apiPath)
844}
845
846func echoHandler() http.HandlerFunc {
847 return func(w http.ResponseWriter, r *http.Request) {

Callers 4

initOverridesAPIMethod · 0.85
initQuerierMethod · 0.85
initQueryFrontendMethod · 0.85
RunMethod · 0.85

Calls 1

JoinMethod · 0.65

Tested by

no test coverage detected