Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Pull in dependencies with composer
FROM composer:2.5 as build
FROM composer:2.8 as build
COPY composer.json ./
RUN composer install --ignore-platform-reqs

FROM wordpress:6.7.1
FROM wordpress:6.8
# Install the opentelemetry and protobuf extensions
RUN pecl install opentelemetry protobuf
COPY otel.php.ini $PHP_INI_DIR/conf.d/.
Expand Down
2 changes: 1 addition & 1 deletion examples/instrumentation/Wordpress/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:
# OpenTelemetry collector. Make sure you set USERID and GOOGLE_APPLICATION_CREDENTIALS
# environment variables for your container to authenticate correctly
otel-collector:
image: otel/opentelemetry-collector-contrib:0.91.0
image: otel/opentelemetry-collector-contrib:0.132.0
volumes:
- ./otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml

Expand Down
7 changes: 4 additions & 3 deletions examples/instrumentation/Wordpress/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"minimum-stability": "beta",
"require": {
"open-telemetry/opentelemetry-auto-wordpress": "^0.0.16",
"open-telemetry/sdk": "^1.1",
"open-telemetry/exporter-otlp": "^1.1",
"open-telemetry/sdk": "^1.7",
"open-telemetry/exporter-otlp": "^1.3",
"php-http/guzzle7-adapter": "^1.1"
},
"config": {
"allow-plugins": {
"php-http/discovery": true
"php-http/discovery": true,
"tbachert/spi": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ receivers:
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318

processors:
batch:
Expand Down
Loading