Configure Tideways Globally via php.ini
If you have only one application running on your server, a global configuration via php.ini is the simplest approach to get Tideways up and running.
When installing Tideways an additional ini file that is created which is automatically included from the central php.ini by way of a conf.d
or php.d
directory.
This file is usually called 20-tideways.ini
, and you can open and modify it to make your necessary changes:
extension=tideways.so
tideways.api_key=<YOUR_API_KEY>
The API Key is the only required configuration to make Tideways work.
You can find your applications' unique API key inside the Tideways UI in the Project Settings menu of each project.
Screen scroll down to the "API Key" section where you find an input field to copy your API Key from.
The following additional primary INI Settings can be configured:
INI Setting |
Default |
Description |
tideways.service |
app |
You can define different services in your project to group the monitoring traffic into independent groups with their own performance, failure-rate and transaction data. |
tideways.sample_rate |
25 |
The percentage of how many requests are executed with the Timeline Profiler activated ("being sampled").
All other requests are still monitored for their performance and potential errors/exceptions. |