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

New version of go.opentelemetry.io/otel/sdk/metric ( v.035.0 ) breaks #91

Closed
derkan opened this issue Jan 31, 2023 · 2 comments
Closed

Comments

@derkan
Copy link

derkan commented Jan 31, 2023

New version of opentelemetry-go/metric v.035.0, breaks this library.

# github.com/uptrace/opentelemetry-go-extra/otelsql
../../../../go/pkg/mod/github.com/uptrace/opentelemetry-go-extra/[email protected]/otel.go:74:34: t.meter.SyncInt64 undefined (type metric.Meter has no field or method SyncInt64)
../../../../go/pkg/mod/github.com/uptrace/opentelemetry-go-extra/[email protected]/otel.go:187:27: meter.AsyncInt64 undefined (type metric.Meter has no field or method AsyncInt64)
../../../../go/pkg/mod/github.com/uptrace/opentelemetry-go-extra/[email protected]/otel.go:191:24: meter.AsyncInt64 undefined (type metric.Meter has no field or method AsyncInt64)
../../../../go/pkg/mod/github.com/uptrace/opentelemetry-go-extra/[email protected]/otel.go:195:25: meter.AsyncInt64 undefined (type metric.Meter has no field or method AsyncInt64)
../../../../go/pkg/mod/github.com/uptrace/opentelemetry-go-extra/[email protected]/otel.go:199:24: meter.AsyncInt64 undefined (type metric.Meter has no field or method AsyncInt64)
../../../../go/pkg/mod/github.com/uptrace/opentelemetry-go-extra/[email protected]/otel.go:203:29: meter.AsyncInt64 undefined (type metric.Meter has no field or method AsyncInt64)
../../../../go/pkg/mod/github.com/uptrace/opentelemetry-go-extra/[email protected]/otel.go:207:32: meter.AsyncInt64 undefined (type metric.Meter has no field or method AsyncInt64)
../../../../go/pkg/mod/github.com/uptrace/opentelemetry-go-extra/[email protected]/otel.go:212:33: meter.AsyncInt64 undefined (type metric.Meter has no field or method AsyncInt64)
../../../../go/pkg/mod/github.com/uptrace/opentelemetry-go-extra/[email protected]/otel.go:216:37: meter.AsyncInt64 undefined (type metric.Meter has no field or method AsyncInt64)
../../../../go/pkg/mod/github.com/uptrace/opentelemetry-go-extra/[email protected]/otel.go:220:37: meter.AsyncInt64 undefined (type metric.Meter has no field or method AsyncInt64)
../../../../go/pkg/mod/github.com/uptrace/opentelemetry-go-extra/[email protected]/otel.go:220:37: too many errors
....
../../../../go/pkg/mod/github.com/uptrace/[email protected]/uptrace/metrics.go:69:14: undefined: metric.InstrumentKindSyncCounter
../../../../go/pkg/mod/github.com/uptrace/[email protected]/uptrace/metrics.go:70:10: undefined: metric.InstrumentKindAsyncCounter
../../../../go/pkg/mod/github.com/uptrace/[email protected]/uptrace/metrics.go:71:10: undefined: metric.InstrumentKindSyncHistogram

@vmihailenco
Copy link
Member

Should be fixed by v0.1.19

@derkan
Copy link
Author

derkan commented Jan 31, 2023

thank you for response 🥇

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