Expose net/http/pprof handlers under /api/debug/pprof/* when the new

enablePprofEndpoint (JSON) / enable_pprof_endpoint (YAML) config option
is true. The endpoint is disabled by default.
This commit is contained in:
James Munson authored and André Roth committed 2026-11-02 15:14:35 +01:00
1 parent eaf9453897
commit 2d72d1f0d5
11 files changed
+341

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ func createTestConfig() *os.File {
jsonString, err := json.Marshal(gin.H{
"architectures": []string{},
"enableMetricsEndpoint": true,
"enablePprofEndpoint": false,
"S3PublishEndpoints": map[string]map[string]string{
"test-s3": {
"region": "us-east-1",