Skip to content

Commit

Permalink
Stop and disable otel
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschuch committed Feb 27, 2024
1 parent 9d33041 commit 08edee2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/performance-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 📋 Format
name: 📋 Performance Test

on:
pull_request:
Expand All @@ -9,7 +9,7 @@ concurrency:
cancel-in-progress: true

jobs:
test:
performance-test:
runs-on: ubuntu-latest

steps:
Expand All @@ -27,7 +27,7 @@ jobs:
- name: 📋 Setup
run: |
docker compose up -d
OTEL_PHP_AUTOLOAD_ENABLED=false docker compose up -d
docker compose exec php-cli composer install --prefer-dist
docker compose exec php-cli ./vendor/drush/drush/drush si demo_umami -y
Expand All @@ -37,8 +37,8 @@ jobs:
- name: Enable OTEL
run: |
# Compose down
# Compose up w/ OTEL
docker compose stop
docker compose up -d
- name: Rerun K6 Test
run: |
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
x-otel-common:
&otel-common
OTEL_PHP_AUTOLOAD_ENABLED: true
OTEL_PHP_AUTOLOAD_ENABLED: ${OTEL_PHP_AUTOLOAD_ENABLED:-true}
OTEL_SERVICE_NAME: drupal
OTEL_TRACES_EXPORTER: otlp
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf
Expand Down

0 comments on commit 08edee2

Please sign in to comment.