perftools / php-profiler

A PHP profiling library based on XHGUI Data Collector
MIT License
147 stars 26 forks source link

Filter out environment keys from profiling data. #14

Closed glensc closed 4 years ago

glensc commented 4 years ago

Makes it possible to exclude certain environment variables from profiling data:

        // Environment variables to exclude from profiling data
        'profiler.exclude-env' => array(
            'APP_DATABASE_PASSWORD',
            'PATH',
        ),

Fixes https://github.com/perftools/xhgui/pull/286

glensc commented 4 years ago

released as 0.4.0.

to update:

composer require perftools/php-profiler