google_perftools module

google_perftools module#

The module enables profiling of Angie PRO worker processes using Google Performance Tools <gperftools/gperftools>`_. The module is intended for Angie PRO developers.

Important

This module requires the gperftools library.

Example Configuration#

google_perftools_profiles /path/to/profile;

Profiles will be stored as /path/to/profile.<worker_pid>.

Directives#

google_perftools_profiles#

Syntax:

absolute_redirect file;

Default:

Context:

main

Sets a file name that keeps profiling information of Angie PRO worker process. The ID of the worker process is always a part of the file name and is appended to the end of the file name, after a dot.