diff --git a/.env.example b/.env.example index ba766d381..5b10993d6 100644 --- a/.env.example +++ b/.env.example @@ -369,6 +369,18 @@ # Default: # APIGW_LOG_ENABLED= +############################################################################### +# Enable profiler +# Type: bool +# Default: +# APIGW_PROFILER_ENABLED= + +############################################################################### +# Profiler enabled for all routes +# Type: bool +# Default: +# APIGW_PROFILER_GLOBAL= + ############################################################################### # Enable incoming request body output in logs # Type: bool diff --git a/pkg/options/options.gen.go b/pkg/options/options.gen.go index 24c4b343a..e316789c3 100644 --- a/pkg/options/options.gen.go +++ b/pkg/options/options.gen.go @@ -480,6 +480,8 @@ func ActionLog() (o *ActionLogOpt) { func Apigw() (o *ApigwOpt) { o = &ApigwOpt{ Enabled: true, + ProfilerEnabled: true, + ProfilerGlobal: false, ProxyFollowRedirects: true, ProxyOutboundTimeout: time.Second * 30, }