Those parameters are defined in the nudge.ini which is part of the Nudge-PHP bundle.
This bundle is available on the Atakama support :
Once the bundle is downloaded and unzipped, you will find the file in the extension/vx.x.x/conf folder.
Type | String |
Default value | [none] |
Mandatory | Yes |
Path file of the Nudge APM PHP extension.
Type | String |
Default value | [none] |
Parameter format | folder-path:nudge-application-key |
Mandatory | Yes |
Attribution of a Nudge APM application key to one of the folder served by your Apache.
You can specify multiples folders by separate them with a comma.
Your application key can be found in the application settings at Nudge APM.
Below, some examples for using this parameter :
nudge.apps=/var/www/:00000000-0000-0000-0000-000000000000
nudge.apps=/var/www/appli1:00000000-0000-0000-0000-000000000001,/var/www/appli2:00000000-0000-0000-0000-000000000002
Type | String |
Default value | 127.0.0.1 |
Mandatory | No |
Hostname or IP adress of you Nudge APM agent.
Type | String |
Default value | 1025 |
Mandatory | No |
Listening port of you Nudge APM agent.
Type | String |
Default value | error |
Mandatory | No |
Logging levels of the messages provided by the extension.
Values permitted :
Type | String |
Default value | /var/log/nudge/nudge-extension.log |
Mandatory | No |
Path for the extension logging file.
Type | String |
Default value | [none] |
Mandatory | No |
Parameter format | {class_name}:{function_name}.{layer}.{function_param} |
With this parameter you can instrument specific classes and functions of your code, and aggregate them in a specific layer (SQL, WS, Elasticsearch, REST, RabbitMQ, business layer, …).
Parameter format :
:
.[sql|ws]
layer or a user specific layer#
An example with a sayHello function, from a Hello class and aggregated in a Nudge layer called user :
nudge.trace_functions=AppBundle\Utils\Hello:sayHello.user
You can specify multiple functions to trace, the separator is ,
:
nudge.trace_functions=functionOne.user,functionTwo.user