We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
go building the following gives
go build
../../../../go/1.19.1/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/[email protected]/internal/oconf/options.go:107:62: undefined: internal.GetUserAgentHeader
module main go 1.19 require ( go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.32.2 go.opentelemetry.io/otel/metric v0.32.2 go.opentelemetry.io/otel/sdk/metric v0.32.2 ) require ( github.com/cenkalti/backoff/v4 v4.1.3 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/go-logr/logr v1.2.3 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect go.opentelemetry.io/otel v1.10.0 // indirect go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.10.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.32.2 // indirect go.opentelemetry.io/otel/sdk v1.10.0 // indirect go.opentelemetry.io/otel/trace v1.10.0 // indirect go.opentelemetry.io/proto/otlp v0.19.0 // indirect golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458 // indirect golang.org/x/sys v0.0.0-20221010170243-090e33056c14 // indirect golang.org/x/text v0.3.8 // indirect google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e // indirect google.golang.org/grpc v1.50.0 // indirect google.golang.org/protobuf v1.28.1 // indirect )
package main import ( "context" "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc" "go.opentelemetry.io/otel/metric/global" "go.opentelemetry.io/otel/sdk/metric" ) func main() { ctx := context.Background() exporter, _ := otlpmetricgrpc.New(ctx) reader := metric.NewPeriodicReader(exporter) meterProvider := metric.NewMeterProvider(metric.WithReader(reader)) global.SetMeterProvider(meterProvider) }
The text was updated successfully, but these errors were encountered:
🤦
Portions of #3261 were not released but the portions that were depend on those unreleased (internal) packages.
I think we need a v1.11.0 and v0.32.3 release to fix this mistake. (cc @Aneurysm9 @MadVikingGod)
Sorry, something went wrong.
we should probably also retract v0.32.2 then.
v0.32.2
Oy. That's our bad.
I think that makes sense, it should probably include a retraction of v0.32.2 also.
Successfully merging a pull request may close this issue.
go build
ing the following givesgo.mod
main.go
The text was updated successfully, but these errors were encountered: