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

Update opentelemetry-go monorepo to v1.18.0 #61

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 28, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
go.opentelemetry.io/otel require minor v1.16.0 -> v1.18.0
go.opentelemetry.io/otel/trace require minor v1.16.0 -> v1.18.0

Release Notes

open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)

v1.18.0: /v0.41.0/v0.0.6

Compare Source

This release drops the compatibility guarantee of Go 1.19.

Added
  • Add WithProducer option in go.opentelemetry.op/otel/exporters/prometheus to restore the ability to register producers on the prometheus exporter's manual reader. (#​4473)
  • Add IgnoreValue option in go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest to allow ignoring values when comparing metrics. (#​4447)
Deprecated
  • The NewMetricExporter in go.opentelemetry.io/otel/bridge/opencensus was deprecated in v0.35.0 (#​3541).
    The deprecation notice format for the function has been corrected to trigger Go documentation and build tooling. (#​4470)
Removed
  • Removed the deprecated go.opentelemetry.io/otel/exporters/jaeger package. (#​4467)
  • Removed the deprecated go.opentelemetry.io/otel/example/jaeger package. (#​4467)
  • Removed the deprecated go.opentelemetry.io/otel/sdk/metric/aggregation package. (#​4468)
  • Removed the deprecated internal packages in go.opentelemetry.io/otel/exporters/otlp and its sub-packages. (#​4469)
  • Dropped guaranteed support for versions of Go less than 1.20. (#​4481)

New Contributors

Full Changelog: open-telemetry/opentelemetry-go@v1.17.0...v1.18.0

v1.17.0: /v0.40.0/v0.5.0

Compare Source

Added
  • Export the ManualReader struct in go.opentelemetry.io/otel/sdk/metric. (#​4244)
  • Export the PeriodicReader struct in go.opentelemetry.io/otel/sdk/metric. (#​4244)
  • Add support for exponential histogram aggregations.
    A histogram can be configured as an exponential histogram using a view with "go.opentelemetry.io/otel/sdk/metric".ExponentialHistogram as the aggregation. (#​4245)
  • Export the Exporter struct in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#​4272)
  • Export the Exporter struct in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​4272)
  • The exporters in go.opentelemetry.io/otel/exporters/otlp/otlpmetric now support the OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE environment variable. (#​4287)
  • Add WithoutCounterSuffixes option in go.opentelemetry.io/otel/exporters/prometheus to disable addition of _total suffixes. (#​4306)
  • Add info and debug logging to the metric SDK in go.opentelemetry.io/otel/sdk/metric. (#​4315)
  • The go.opentelemetry.io/otel/semconv/v1.21.0 package.
    The package contains semantic conventions from the v1.21.0 version of the OpenTelemetry Semantic Conventions. (#​4362)
  • Accept 201 to 299 HTTP status as success in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​4365)
  • Document the Temporality and Aggregation methods of the "go.opentelemetry.io/otel/sdk/metric".Exporter" need to be concurrent safe. (#​4381)
  • Expand the set of units supported by the Prometheus exporter, and don't add unit suffixes if they are already present in go.opentelemetry.op/otel/exporters/prometheus (#​4374)
  • Move the Aggregation interface and its implementations from go.opentelemetry.io/otel/sdk/metric/aggregation to go.opentelemetry.io/otel/sdk/metric. (#​4435)
  • The exporters in go.opentelemetry.io/otel/exporters/otlp/otlpmetric now support the OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION environment variable. (#​4437)
  • Add the NewAllowKeysFilter and NewDenyKeysFilter functions to go.opentelemetry.io/otel/attribute to allow convenient creation of allow-keys and deny-keys filters. (#​4444)
Changed
  • Starting from v1.21.0 of semantic conventions, go.opentelemetry.io/otel/semconv/{version}/httpconv and go.opentelemetry.io/otel/semconv/{version}/netconv packages will no longer be published. (#​4145)
  • Log duplicate instrument conflict at a warning level instead of info in go.opentelemetry.io/otel/sdk/metric. (#​4202)
  • Return an error on the creation of new instruments in go.opentelemetry.io/otel/sdk/metric if their name doesn't pass regexp validation. (#​4210)
  • NewManualReader in go.opentelemetry.io/otel/sdk/metric returns *ManualReader instead of Reader. (#​4244)
  • NewPeriodicReader in go.opentelemetry.io/otel/sdk/metric returns *PeriodicReader instead of Reader. (#​4244)
  • Count the Collect time in the PeriodicReader timeout in go.opentelemetry.io/otel/sdk/metric. (#​4221)
  • The function New in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc returns *Exporter instead of "go.opentelemetry.io/otel/sdk/metric".Exporter. (#​4272)
  • The function New in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp returns *Exporter instead of "go.opentelemetry.io/otel/sdk/metric".Exporter. (#​4272)
  • If an attribute set is omitted from an async callback, the previous value will no longer be exported in go.opentelemetry.io/otel/sdk/metric. (#​4290)
  • If an attribute set is observed multiple times in an async callback in go.opentelemetry.io/otel/sdk/metric, the values will be summed instead of the last observation winning. (#​4289)
  • Allow the explicit bucket histogram aggregation to be used for the up-down counter, observable counter, observable up-down counter, and observable gauge in the go.opentelemetry.io/otel/sdk/metric package. (#​4332)
  • Restrict Meters in go.opentelemetry.io/otel/sdk/metric to only register and collect instruments it created. (#​4333)
  • PeriodicReader.Shutdown and PeriodicReader.ForceFlush in go.opentelemetry.io/otel/sdk/metric now apply the periodic reader's timeout to the operation if the user provided context does not contain a deadline. (#​4356, #​4377)
  • Upgrade all use of go.opentelemetry.io/otel/semconv to use v1.21.0. (#​4408)
  • Increase instrument name maximum length from 63 to 255 characters in go.opentelemetry.io/otel/sdk/metric. (#​4434)
  • Add go.opentelemetry.op/otel/sdk/metric.WithProducer as an Option for "go.opentelemetry.io/otel/sdk/metric".NewManualReader and "go.opentelemetry.io/otel/sdk/metric".NewPeriodicReader. (#​4346)
Removed
  • Remove Reader.RegisterProducer in go.opentelemetry.io/otel/metric.
    Use the added WithProducer option instead. (#​4346)
  • Remove Reader.ForceFlush in go.opentelemetry.io/otel/metric.
    Notice that PeriodicReader.ForceFlush is still available. (#​4375)
Fixed
  • Correctly format log messages from the go.opentelemetry.io/otel/exporters/zipkin exporter. (#​4143)
  • Log an error for calls to NewView in go.opentelemetry.io/otel/sdk/metric that have empty criteria. (#​4307)
  • Fix "go.opentelemetry.io/otel/sdk/resource".WithHostID() to not set an empty host.id. (#​4317)
  • Use the instrument identifying fields to cache aggregators and determine duplicate instrument registrations in go.opentelemetry.io/otel/sdk/metric. (#​4337)
  • Detect duplicate instruments for case-insensitive names in go.opentelemetry.io/otel/sdk/metric. (#​4338)
  • The ManualReader will not panic if AggregationSelector returns nil in go.opentelemetry.io/otel/sdk/metric. (#​4350)
  • If a Reader's AggregationSelector returns nil or DefaultAggregation the pipeline will use the default aggregation. (#​4350)
  • Log a suggested view that fixes instrument conflicts in go.opentelemetry.io/otel/sdk/metric. (#​4349)
  • Fix possible panic, deadlock and race condition in batch span processor in go.opentelemetry.io/otel/sdk/trace. (#​4353)
  • Improve context cancellation handling in batch span processor's ForceFlush in go.opentelemetry.io/otel/sdk/trace. (#​4369)
  • Decouple go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal from go.opentelemetry.io/otel/exporters/otlp/internal using gotmpl. (#​4397, #​3846)
  • Decouple go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal from go.opentelemetry.io/otel/exporters/otlp/internal and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal using gotmpl. (#​4404, #​3846)
  • Decouple go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp/internal from go.opentelemetry.io/otel/exporters/otlp/internal and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal using gotmpl. (#​4407, #​3846)
  • Decouple go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal from go.opentelemetry.io/otel/exporters/otlp/internal and go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal using gotmpl. (#​4400, #​3846)
  • Decouple go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal from go.opentelemetry.io/otel/exporters/otlp/internal and go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal using gotmpl. (#​4401, #​3846)
  • Do not block the metric SDK when OTLP metric exports are blocked in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​3925, #​4395)
  • Do not append _total if the counter already has that suffix for the Prometheus exproter in go.opentelemetry.io/otel/exporter/prometheus. (#​4373)
  • Fix resource detection data race in go.opentelemetry.io/otel/sdk/resource. (#​4409)
  • Use the first-seen instrument name during instrument name conflicts in go.opentelemetry.io/otel/sdk/metric. (#​4428)
Deprecated
  • The go.opentelemetry.io/otel/exporters/jaeger package is deprecated.
    OpenTelemetry dropped support for Jaeger exporter in July 2023.
    Use go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
    or go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc instead. (#​4423)
  • The go.opentelemetry.io/otel/example/jaeger package is deprecated. (#​4423)
  • The go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal package is deprecated. (#​4420)
  • The go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/oconf package is deprecated. (#​4420)
  • The go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otest package is deprecated. (#​4420)
  • The go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform package is deprecated. (#​4420)
  • The go.opentelemetry.io/otel/exporters/otlp/internal package is deprecated. (#​4421)
  • The go.opentelemetry.io/otel/exporters/otlp/internal/envconfig package is deprecated. (#​4421)
  • The go.opentelemetry.io/otel/exporters/otlp/internal/retry package is deprecated. (#​4421)
  • The go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal package is deprecated. (#​4425)
  • The go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/envconfig package is deprecated. (#​4425)
  • The go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlpconfig package is deprecated. (#​4425)
  • The go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlptracetest package is deprecated. (#​4425)
  • The go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/retry package is deprecated. (#​4425)
  • The go.opentelemetry.io/otel/sdk/metric/aggregation package is deprecated.
    Use the aggregation types added to go.opentelemetry.io/otel/sdk/metric instead. (#​4435)

New Contributors

Full Changelog: open-telemetry/opentelemetry-go@v1.16.0...v1.17.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update opentelemetry-go monorepo to v1.17.0 Update opentelemetry-go monorepo to v1.18.0 Sep 12, 2023
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 41fb060 to 2a4b601 Compare September 12, 2023 16:39
@renovate
Copy link
Contributor Author

renovate bot commented Sep 12, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: docker run --rm --name=renovate_a_sidecar --label=renovate_a_child --memory=3584m -v "/tmp/worker/244323/e98c39/repos/github/sosan/cronjob-malware-frontend":"/tmp/worker/244323/e98c39/repos/github/sosan/cronjob-malware-frontend" -v "/tmp/worker/244323/e98c39/cache":"/tmp/worker/244323/e98c39/cache" -e GOPATH -e GOPROXY -e GOSUMDB -e GOFLAGS -e CGO_ENABLED -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/244323/e98c39/repos/github/sosan/cronjob-malware-frontend" ghcr.io/containerbase/sidecar:9.19.4 bash -l -c "install-tool golang 1.21.1 && go get -d -t ./..."
go: downloading github.com/joho/godotenv v1.5.1
go: downloading github.com/redis/go-redis/v9 v9.1.0
go: downloading go.opentelemetry.io/otel v1.18.0
go: downloading go.opentelemetry.io/otel/trace v1.18.0
go: downloading github.com/go-co-op/gocron v1.34.0
go: downloading github.com/gofiber/fiber/v2 v2.49.2
go: downloading github.com/uptrace/uptrace-go v1.16.0
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f
go: downloading github.com/google/uuid v1.3.1
go: downloading github.com/robfig/cron/v3 v3.0.1
go: downloading go.uber.org/atomic v1.9.0
go: downloading go.opentelemetry.io/contrib/instrumentation/runtime v0.42.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.39.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.16.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.39.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.16.0
go: downloading go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.16.0
go: downloading go.opentelemetry.io/otel/sdk/metric v0.39.0
go: downloading go.opentelemetry.io/otel/sdk v1.16.0
go: downloading google.golang.org/grpc v1.55.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.19
go: downloading github.com/mattn/go-runewidth v0.0.15
go: downloading github.com/valyala/bytebufferpool v1.0.0
go: downloading github.com/valyala/fasthttp v1.49.0
go: downloading github.com/go-logr/logr v1.2.4
go: downloading go.opentelemetry.io/otel/metric v1.18.0
go: downloading go.opentelemetry.io/proto/otlp v0.19.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.16.0
go: downloading google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1
go: downloading golang.org/x/sys v0.12.0
go: downloading github.com/golang/protobuf v1.5.3
go: downloading github.com/rivo/uniseg v0.4.4
go: downloading github.com/valyala/tcplisten v1.0.0
go: downloading github.com/andybalholm/brotli v1.0.5
go: downloading github.com/klauspost/compress v1.16.7
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading github.com/cenkalti/backoff/v4 v4.2.1
go: downloading google.golang.org/protobuf v1.30.0
go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2
go: downloading golang.org/x/net v0.10.0
go: downloading golang.org/x/text v0.9.0
go: downloading go.opentelemetry.io v0.1.0
go: downloading go.opentelemetry.io/otel/exporters/otlp v0.20.1
go: main imports
	github.com/uptrace/uptrace-go/uptrace imports
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc imports
	go.opentelemetry.io/otel/exporters/otlp/internal: cannot find module providing package go.opentelemetry.io/otel/exporters/otlp/internal
go: main imports
	github.com/uptrace/uptrace-go/uptrace imports
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc imports
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/oconf imports
	go.opentelemetry.io/otel/exporters/otlp/internal/envconfig: cannot find module providing package go.opentelemetry.io/otel/exporters/otlp/internal/envconfig

@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 2a4b601 to 52c5403 Compare September 18, 2023 19:38
@sosan sosan merged commit ee669c6 into main Sep 18, 2023
4 of 5 checks passed
@sosan sosan deleted the renovate/opentelemetry-go-monorepo branch September 18, 2023 19:39
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

Successfully merging this pull request may close these issues.

1 participant