Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.03 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.03 KB

Automated performance testing and telemetry with Drupal core.

To add Gander to an existing project, including a Drupal core clone, use this repo instead: https://github.com/tag1consulting/ddev-gander

If you don't have a working Drupal project with ddev yet, you can use this repo for now.

  1. Install ddev
  2. Clone this repo.
  3. ddev start
  4. ddev composer install
  5. cp phpunit.xml.example web/core/phpunit.xml
  6. Once these steps are working, do the following to run tests and log traces.
  7. ddev ssh
  8. OTEL_COLLECTOR=http://otel-collector:4318/v1/traces vendor/bin/phpunit --group OpenTelemetry -c web/core/phpunit.xml
  9. Run either all of the tests or at least one, three times each or more for series data to begin showing in the dashboard.
  10. Go to http://localhost:3000/dashboards to get started viewing metrics and traces.

If you are running on an M1 or M2 Mac, add the following steps to get chromedriver working.

  1. cd .ddev
  2. rm docker-compose.chromedriver.yml
  3. ddev get ddev/ddev-selenium-standalone-chrome