File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
examples/instrumentation/Wordpress Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 11# Pull in dependencies with composer
2- FROM composer:2.5 as build
2+ FROM composer:2.8 as build
33COPY composer.json ./
44RUN composer install --ignore-platform-reqs
55
6- FROM wordpress:6.7.1
6+ FROM wordpress:6.8
77# Install the opentelemetry and protobuf extensions
88RUN pecl install opentelemetry protobuf
99COPY otel.php.ini $PHP_INI_DIR/conf.d/.
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ services:
4242 # OpenTelemetry collector. Make sure you set USERID and GOOGLE_APPLICATION_CREDENTIALS
4343 # environment variables for your container to authenticate correctly
4444 otel-collector :
45- image : otel/opentelemetry-collector-contrib:0.91 .0
45+ image : otel/opentelemetry-collector-contrib:0.132 .0
4646 volumes :
4747 - ./otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml
4848
Original file line number Diff line number Diff line change 55 "minimum-stability" : " beta" ,
66 "require" : {
77 "open-telemetry/opentelemetry-auto-wordpress" : " ^0.0.16" ,
8- "open-telemetry/sdk" : " ^1.1 " ,
9- "open-telemetry/exporter-otlp" : " ^1.1 " ,
8+ "open-telemetry/sdk" : " ^1.7 " ,
9+ "open-telemetry/exporter-otlp" : " ^1.3 " ,
1010 "php-http/guzzle7-adapter" : " ^1.1"
1111 },
1212 "config" : {
1313 "allow-plugins" : {
14- "php-http/discovery" : true
14+ "php-http/discovery" : true ,
15+ "tbachert/spi" : true
1516 }
1617 }
1718}
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ receivers:
22 otlp :
33 protocols :
44 http :
5+ endpoint : 0.0.0.0:4318
56
67processors :
78 batch :
You can’t perform that action at this time.
0 commit comments