mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-11-14 14:47:19 +00:00
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:
1 parent
eaf9453897
commit
2d72d1f0d5
11 files changed
+341
No files matched your search
@@ -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: ""
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user