dhiaayachi / temporal

Temporal service
https://docs.temporal.io
MIT License
0 stars 0 forks source link

Update otel library #257

Open dhiaayachi opened 2 weeks ago

dhiaayachi commented 2 weeks ago

Describe the solution you'd like

Currently go.opentelemetry.io/otel is at v1.16.0 but v1.19.0 is latest and they made backwards incompatible changes to dependent libraries within. Upgrade needed for others that want to upgrade otel and depend on server as a library.

dhiaayachi commented 5 days ago

Thank you for the feature request. We appreciate you bringing this to our attention.

While we are working on supporting the latest OpenTelemetry version, currently we recommend using the latest version of Temporal that is compatible with the OpenTelemetry version you're using.

We are committed to keeping Temporal updated with the latest technologies and will strive to add support for newer OpenTelemetry versions in the future.

dhiaayachi commented 4 days ago

Thank you for your feedback! We understand the need to keep our dependencies up-to-date. We are actively working on upgrading our dependencies, including go.opentelemetry.io/otel, to the latest versions.

In the meantime, you can work around this by pinning the go.opentelemetry.io/otel dependency in your project to version v1.16.0 until we complete the upgrade.

We appreciate your patience as we work on this update.

dhiaayachi commented 4 days ago

Thank you for your feature request.

We understand your need to upgrade the go.opentelemetry.io/otel library to the latest version, v1.19.0, for compatibility with other libraries that rely on the Temporal Server.

Currently, Temporal Server uses v1.16.0. Upgrading this library is a significant change and requires thorough testing and consideration.

To address this in the meantime, consider implementing a workaround that uses v1.19.0 for your specific use case, while keeping the Server at its current version. You can achieve this by isolating the otel library usage for your specific application, allowing your application to use the latest otel while the server remains on v1.16.0.