Skip to content

Ezyt/yii2-atatus-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-atatus-component

For license information check the LICENSE-file.

Installation

php composer.phar require --prefer-dist ezyt/yii2-atatus-component

or add

"ezyt/yii2-atatus-component": "*"

to the require section of your composer.json.

Config

[
    'bootstrap' => [
        #...
        'atatus'        
    ],
    'components' => [
        'atatus' => [
            'class'   => \Ezyt\Yii2Atatus\AtatusComponent::class,
        ],
    ],
];

Example

        #...
        Yii::$app->atatus->getAgent()->setTransactionName();
        #...

Documentation for config.

Param Default Description
enabled true off component
ignoreList [] actions for ignore transaction. Example 'controllerName\*' - all actions in ControllerName will be ignored
webIgnoreList [] ignoreList only for WebApplication. Merges with ignoreList
cliIgnoreList [] ignoreList only for ConsoleApplication. Merges with ignoreList
enabledWebHandler true off handler for WebApplication
enabledCliHandler true off handler for ConsoleApplication

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages