feat(pprof): add profiling route handler to debug runtime (#1818)

(cherry picked from commit 56ddb70f624e7070ad0d3531d498675f9f82c664)

Signed-off-by: Alex Stan <alexandrustan96@yahoo.ro>
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
Co-authored-by: Alex Stan <alexandrustan96@yahoo.ro>
This commit is contained in:
Andrei Aaron
2023-09-19 00:05:41 +03:00
committed by GitHub
parent f8002c7dd3
commit a11fe2d195
8 changed files with 400 additions and 2 deletions
+1
View File
@@ -3,4 +3,5 @@ package constants
const (
Debug = "/_zot/debug"
GQLPlaygroundEndpoint = Debug + "/graphql-playground"
ProfilingEndpoint = "/_zot/pprof/"
)