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
@@ -16,6 +16,7 @@
"serveInAPIMode": true,
"enableMetricsEndpoint": true,
"enableSwaggerEndpoint": false,
"enablePprofEndpoint": false,
"AsyncAPI": false,
"databaseBackend": {
"type": "",
@@ -15,6 +15,7 @@ ppa_baseurl: http://ppa.launchpad.net
serve_in_api_mode: true
enable_metrics_endpoint: true
enable_swagger_endpoint: false
enable_pprof_endpoint: false
async_api: false
database_backend:
type: ""
+3
View File
@@ -86,6 +86,9 @@ enable_metrics_endpoint: false
# Enable API documentation on /docs
enable_swagger_endpoint: false
# Enable pprof profiling endpoints on /api/debug/pprof/*
enable_pprof_endpoint: false
# OBSOLETE: use via url param ?_async=true
async_api: false