mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Instrumentation: Add api/health to the unnamed handlers (#55478)
This commit is contained in:
parent
e5619c0fe6
commit
55ef34bee4
@ -49,6 +49,7 @@ var unnamedHandlers = []struct {
|
||||
{handler: "public-assets", pathPattern: regexp.MustCompile("^/public/")},
|
||||
{handler: "/metrics", pathPattern: regexp.MustCompile("^/metrics")},
|
||||
{handler: "/healthz", pathPattern: regexp.MustCompile("^/healthz")},
|
||||
{handler: "/api/health", pathPattern: regexp.MustCompile("^/api/health")},
|
||||
{handler: "/robots.txt", pathPattern: regexp.MustCompile("^/robots.txt$")},
|
||||
// bundle all pprof endpoints under the same handler name
|
||||
{handler: "/debug/pprof-handlers", pathPattern: regexp.MustCompile("^/debug/pprof")},
|
||||
|
Loading…
Reference in New Issue
Block a user