模块 ngx_google_perftools_module
示例Directives google_perftools_profiles |
这ngx_google_perftools_module
module (0.6.29) 启用
使用 Google Performance Tools 分析 nginx 工作进程。
该模块适用于 nginx 开发人员。
这个模块不是默认构建的,它应该使用--with-google_perftools_module
configuration 参数。
此模块需要 gperftools 库。
示例配置
google_perftools_profiles /path/to/profile;
配置文件将存储为/path/to/profile.<worker_pid>
.
Directives
语法: |
google_perftools_profiles |
---|---|
默认值: | — |
上下文: |
main |
设置一个文件名,该文件名将 nginx worker 进程。 工作进程的 ID 始终是文件名的一部分 ,并附加到文件名末尾的点后面。