Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.38 release breaks with latest go.opentelemetry.io/otel/metric #3348

Closed
shane-kerr opened this issue Jan 31, 2023 · 1 comment
Closed

0.38 release breaks with latest go.opentelemetry.io/otel/metric #3348

shane-kerr opened this issue Jan 31, 2023 · 1 comment

Comments

@shane-kerr
Copy link

I'm using the latest go.opentelemetry.io/otel/metric, 0.35, which was released last week:

https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.12.0

From that release:

Metric instruments to go.opentelemetry.io/otel/metric/instrument. These instruments are use as replacements of the depreacted go.opentelemetry.io/otel/metric/instrument/{asyncfloat64,asyncint64,syncfloat64,syncint64} packages.(open-telemetry/opentelemetry-go#3575, open-telemetry/opentelemetry-go#3586)

At least two of the contrib libraries break:

go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp

# go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
/home/skerr/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.37.0/config.go:75:40: c.meter.SyncInt64 undefined (type metric.Meter has no field or method SyncInt64)
make: *** [Makefile:7: build] Error 2
# go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
/home/skerr/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.37.0/handler.go:105:38: h.meter.SyncInt64 undefined (type metric.Meter has no field or method SyncInt64)
/home/skerr/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.37.0/handler.go:108:39: h.meter.SyncInt64 undefined (type metric.Meter has no field or method SyncInt64)
/home/skerr/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.37.0/handler.go:111:39: h.meter.SyncFloat64 undefined (type metric.Meter has no field or method SyncFloat64)
make: *** [Makefile:7: build] Error 2
@MrAlias
Copy link
Contributor

MrAlias commented Jan 31, 2023

Please use the latest contrib release: https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.13.0

Your issues should be fixed with this upgrade. Please reopen if not.

@MrAlias MrAlias closed this as completed Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants