Closed anthonyjacques20 closed 1 year ago
I was only able to replicate this error when running in my existing repo:
$ go get github.com/ClickHouse/ch-go@v0.55.0
github.com/ClickHouse/ch-go imports
go.opentelemetry.io/otel/metric/global: cannot find module providing package go.opentelemetry.io/otel/metric/global
But when creating a new repo and running go get github.com/ClickHouse/ch-go@v0.55.0
, then I was getting no errors so I knew it had to be something specific to my repo.
Turns out my repo was already importing a newer version of go.opentelemetry.io/otel/metric
that doesn't have the global
package. So I'm not able to use both of these imports since the metric
package changed and conflicts.
Latest version uses
github.com/ClickHouse/ch-go@v0.55.0
which has an error withgo.opentelemetry.io/otel/metric/global: cannot find module providing package go.opentelemetry.io/otel/metric/global
Clickhouse upgraded to fix this error so the ClickHouse version needs to be upgraded