You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an OpenTelemetry auto-instrumentation package for the [ReactPHP HTTP library](https://reactphp.org/http/). Currently only the Browser (client) component is instrumented.
13
+
12
14
Please read https://opentelemetry.io/docs/instrumentation/php/automatic/ for instructions on how to
13
15
install and configure the extension and SDK.
14
16
15
17
## Overview
16
18
17
-
Auto-instrumentation hooks are registered via composer, which will:
19
+
This library is provides the following:
18
20
19
-
* create spans automatically for each ReactPHP HTTP Browser request that is sent
20
-
* add a `traceparent` header to the request to facilitate distributed tracing
21
+
- OpenTelemetry Semantic Conventions v1.32.0:
22
+
-[HTTP Client Spans](https://opentelemetry.io/docs/specs/semconv/http/http-spans/#http-client-span) - required and HTTP header (opt-in) attributes only
23
+
-[HTTP Client Metrics](https://opentelemetry.io/docs/specs/semconv/http/http-metrics/#http-client) - required attributes only
Note that span lifetime behavior differs based on how ReactPHP is utilized; see [examples/README.md](examples/README.md) for more information.
27
+
> [!NOTE] HTTP Client Span lifetime behavior differs based on how ReactPHP is utilized; see [examples/README.md](examples/README.md) for more information.
0 commit comments