Google PerfTools Module#

Enables profiling of Angie worker processes using Google Performance Tools. The module is intended for Angie developers and allows them to analyze and optimize server performance by providing detailed information about memory usage, CPU load, and other performance metrics.

When building from the source code, the module isn't built by default; it must be enabled with the build option --with-google_perftools_module.

The module isn't included in packages and images from our repositories.

Note

This module requires the gperftools library.

Configuration Example#

google_perftools_profiles /var/log/angie/perftools;

Profiles will be stored in files like /var/log/angie/perftools.<worker process PID>.

Directives#

google_perftools_profiles#

Syntax

google_perftools_profiles file prefix;

Default

Context

main

Sets the filename prefix where profiling information for the Angie worker process will be stored. The worker process ID is appended at the end of the filename after a dot, for example: /var/log/angie/perftools.1234.