Skip to content

Releases: elastic/elastic-transport-php

Release 8.10.0

14 Aug 09:01
v8.10.0
8be37d6
Compare
Choose a tag to compare

Added the support for OpenTelemetry

We introduced in #27 and 2be33cd the support of OpenTelemetry for the HTTP send request. At the moment, the support is only for synchronous HTTP call.

To enable the OpenTelemetry you need to set the ENV variable OTEL_PHP_INSTRUMENTATION_ELASTICSEARCH_ENABLED to true.

We added the support natively in the Transport:sendRequest() function. By default, the Transport create a span from a Tracer provider (e.g. Global) with the following attributes:

http.request.method
url.full
server.address
server.port

If the $request sent using Transport::sendRequest($request) is a PSR-7 ServerRequest we get the attribute with name otel-elastic-transport and we pass to the OTel span as additional attributes. In this way, libraries like elasticsearch-php can inject specific OTel attributes (e.g. db.operation.name).

We created an OpenTelemetry class to provide all the configuration.

Release 8.8.0

08 Nov 10:56
v8.8.0
cdf9f63
Compare
Choose a tag to compare

This release contains the following new features:

  • Support path in host connection URI #21

  • Support userInfo in host connection URI #22

Release 8.7.0

23 May 08:56
v8.7.0
4d7937f
Compare
Choose a tag to compare

This release contains the following new feature:

  • Allow installation of psr/http-message v2.0 #17

Release 8.6.0

12 Jan 13:53
v8.6.0
Compare
Choose a tag to compare

This release contains the following new feature:

  • Add full request and response to the log message context for better integration using Clockwork #13

Release 8.5.0

14 Oct 15:16
v8.5.0
f4ed459
Compare
Choose a tag to compare

This release contains the following fix:

  • Fixed the full body message in debug() log for Transport #11

Release 8.4.0

17 Aug 14:33
v8.4.0
11cfbb8
Compare
Choose a tag to compare

Release created to be compatible with 8.4 Elastic clients.

  • Added meta header info for Symfony HTTP client #9
  • Added composer-runtime-api v2 for InstalledVersions #10

Release 8.3.0

27 Jun 13:25
v8.3.0
dc6703f
Compare
Choose a tag to compare

Release created to be compatible with 8.3 Elastic PHP clients.

Release 8.2.0

22 Jun 10:01
v8.2.0
898d9c7
Compare
Choose a tag to compare

Release created to be compatible with 8.2 Elastic PHP clients.

Release 7.17.0

03 Jun 15:17
v7.17.0
fa3ef64
Compare
Choose a tag to compare

Release created to be compatible with 7.17 Elastic PHP clients.

Release 8.1.0

12 Apr 10:34
v8.1.0
20a5e33
Compare
Choose a tag to compare

Release created to be compatible with 8.1 Elastic PHP clients.