Raised: $0
0% of monthly goal Help us cross the finish line!
Goal: $12,000
Raised: $0 Goal: $12,000
0% of monthly goal Help us cross the finish line!
Sponsor DDEV

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.

add-on registry tests last commit release

DDEV Tideways

Integrates the Tideways PHP profiler into a DDEV project. It installs the Tideways PHP extension and CLI into the web container, runs the Tideways daemon as a service, and configures everything through environment variables.

Installation

ddev add-on get OpenForgeProject/ddev-tideways
ddev dotenv set .ddev/.env.tideways --tideways-apikey=YOUR_API_KEY
ddev restart

Find your API key in your Tideways project settings. The key is stored in .ddev/.env.tideways — commit or git-ignore that file per your team’s policy.

Configuration

Change any value with ddev dotenv set .ddev/.env.tideways --<flag>=<value> followed by ddev restart:

Variable Flag Default
TIDEWAYS_APIKEY --tideways-apikey (empty)
TIDEWAYS_ENVIRONMENT --tideways-environment ddev
TIDEWAYS_SERVICE --tideways-service app
TIDEWAYS_TRACE_SAMPLE_RATE --tideways-trace-sample-rate 100
TIDEWAYS_CLI_TOKEN --tideways-cli-token (empty)
TIDEWAYS_DAEMON_DOCKER_IMAGE --tideways-daemon-docker-image ghcr.io/tideways/daemon:latest

TIDEWAYS_CONNECTION is fixed to tcp://tideways-daemon:9135.

Usage

ddev tideways-doctor status   # extension, CLI, daemon and configuration
ddev tideways-doctor test     # generate traffic and confirm data is collected
ddev tideways-doctor logs -f  # follow the daemon logs

ddev tideways … passes through to the Tideways CLI for profiling console scripts. Import your CLI settings once (token from https://app.tideways.io/user/cli-import-settings), then trace a command:

ddev tideways import <token>                       # re-run after a web image rebuild
ddev tideways run [project] php bin/magento cron:run

No data in the dashboard?

Tideways silently discards data when the target does not exist within your account limits:

Removal

ddev add-on remove tideways

Credits

Contributed and maintained by @OpenForgeProject

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.