Skip to content

Release Hangfire instrumentation with OTel v1.6.0? #1500

@gao-artur

Description

@gao-artur

I would like to release Hangfire instrumentation to get these changes: #1440, #1442.
Unfortunately, this repo was already updated to use OTel v1.7.0 #1486.
And OTel v1.7.0 was updated to use Microsoft.Extensions.* packages v8.0.0. open-telemetry/opentelemetry-dotnet#5020 + open-telemetry/opentelemetry-dotnet#5015

Unfortunately, we are not ready yet for .NET 8, and this dependency causes errors like this (we are using nuget CPM)

NU1109 Detected package downgrade: Microsoft.Extensions.Hosting.Abstractions from 8.0.0 to centrally defined 7.0.0. Update the centrally managed package version to a higher version.

Is it possible to downgrade the OpenTelemetry.Api.ProviderBuilderExtensions dependency in Hangfire instrumentation to 1.6.0 to create a compatible release?

And in general, this strategy of taking the latest versions of external packages sounds problematic to me. It leaves a lot of clients behind with old versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions