Skip to content

Commit 550df64

Browse files
authored
Remove Note about downgrading Guzzle (#340)
opentelemetry-php now ships with ` "guzzlehttp/guzzle": "^7.1.0"`. See: https://github.com/open-telemetry/opentelemetry-php/blob/main/composer.json#L9 This is out of the box compatible with Laravel 8. Therefore this change removes the note about needing to downgrade Guzzle.
1 parent 6ecb85a commit 550df64

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/laravel-integration.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ Let's navigate to `http://127.0.0.1:8000` on our browser to see the default Lara
2828

2929
Laravel comes with most packages needed for development out of the box, so for this example, we will only require the open-telemetry PHP package. Let's run `composer require open-telemetry/opentelemetry` to pull that in.
3030

31-
** Notes **
32-
As of the time of writing this, Laravel ships with Guzzle version `^7.0.1`, but our open-telemetry PHP package uses Guzzle version `^6.2.0`, so pulling in open-telemetry PHP could lead to errors around unresolved packages. To fix the errors run `composer require guzzlehttp/guzzle:^6.2.0` to downgrade Guzzle first. Then run `composer require open-telemetry/opentelemetry` to pull in the open-telemetry package.
33-
3431
## Step 3 - Bundle Zipkin and Jaeger into the Application
3532

3633
To visualize traces exported from our application, we need to integrate open source tracing tools [Zipkin](https://zipkin.io/) and [Jaeger](https://www.jaegertracing.io/) into our setup using docker.
@@ -239,4 +236,4 @@ We need to reload our `http://127.0.0.1:8000/hello` route, then navigate to Zipk
239236

240237

241238
## Summary
242-
With the above example we have been able to instrument a Laravel application using the OpenTelemetry PHP library. You can fork the example project [here](https://github.com/prondubuisi/otel-php-laravel-basic-example).
239+
With the above example we have been able to instrument a Laravel application using the OpenTelemetry PHP library. You can fork the example project [here](https://github.com/prondubuisi/otel-php-laravel-basic-example).

0 commit comments

Comments
 (0)