-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 #33173
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error: /home/runner/go/pkg/mod/go.opentelemetry.io/otel/sdk/metric@v1.26.0/meter.go:65:22: cannot use (*meter)(nil) (value of type *meter) as "go.opentelemetry.io/otel/metric".Meter value in variable declaration: *meter does not implement "go.opentelemetry.io/otel/metric".Meter (missing method Float64Gauge)
Error: /home/runner/go/pkg/mod/go.opentelemetry.io/otel/sdk/metric@v1.26.0/provider.go:90:9: cannot use mp.meters.Lookup(s, func() *meter {…}) (value of type *meter) as "go.opentelemetry.io/otel/metric".Meter value in return statement: *meter does not implement "go.opentelemetry.io/otel/metric".Meter (missing method Float64Gauge)
d138bd9
to
61d027a
Compare
6298cbe
to
d8479c8
Compare
|
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc](https://github.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp](https://github.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracegrpc/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlptrace%2fotlptracehttp/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/exporters/prometheus](https://github.com/open-telemetry/opentelemetry-go) | `v0.48.0` -> `v0.49.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.48.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.48.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/metric](https://github.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fsdk/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fsdk/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fsdk/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fsdk/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/sdk/metric](https://github.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fsdk%2fmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fsdk%2fmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fsdk%2fmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fsdk%2fmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) | `v1.26.0` -> `v1.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2ftrace/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2ftrace/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2ftrace/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2ftrace/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)</summary> ### [`v1.27.0`](https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.27.0): /v0.49.0/v0.3.0 [Compare Source](https://github.com/open-telemetry/opentelemetry-go/compare/v1.26.0...v1.27.0) This release includes the first beta release of the OpenTelemetry Logs Bridge API and SDK for Go. ##### Overview ##### Added - Add example for `go.opentelemetry.io/otel/exporters/stdout/stdoutlog`. ([#&open-telemetry#8203;5242](https://github.com/open-telemetry/opentelemetry-go/issues/5242)) - Add `RecordFactory` in `go.opentelemetry.io/otel/sdk/log/logtest` to facilitate testing exporter and processor implementations. ([#&open-telemetry#8203;5258](https://github.com/open-telemetry/opentelemetry-go/issues/5258)) - Add `RecordFactory` in `go.opentelemetry.io/otel/log/logtest` to facilitate testing bridge implementations. ([#&open-telemetry#8203;5263](https://github.com/open-telemetry/opentelemetry-go/issues/5263)) - The count of dropped records from the `BatchProcessor` in `go.opentelemetry.io/otel/sdk/log` is logged. ([#&open-telemetry#8203;5276](https://github.com/open-telemetry/opentelemetry-go/issues/5276)) - Add metrics in the `otel-collector` example. ([#&open-telemetry#8203;5283](https://github.com/open-telemetry/opentelemetry-go/issues/5283)) - Add the synchronous gauge instrument to `go.opentelemetry.io/otel/metric`. ([#&open-telemetry#8203;5304](https://github.com/open-telemetry/opentelemetry-go/issues/5304)) - An `int64` or `float64` synchronous gauge instrument can now be created from a `Meter`. - All implementations of the API (`go.opentelemetry.io/otel/metric/noop`, `go.opentelemetry.io/otel/sdk/metric`) are updated to support this instrument. - Add logs to `go.opentelemetry.io/otel/example/dice`. ([#&open-telemetry#8203;5349](https://github.com/open-telemetry/opentelemetry-go/issues/5349)) ##### Changed - The `Shutdown` method of `Exporter` in `go.opentelemetry.io/otel/exporters/stdout/stdouttrace` ignores the context cancellation and always returns `nil`. ([#&open-telemetry#8203;5189](https://github.com/open-telemetry/opentelemetry-go/issues/5189)) - The `ForceFlush` and `Shutdown` methods of the exporter returned by `New` in `go.opentelemetry.io/otel/exporters/stdout/stdoutmetric` ignore the context cancellation and always return `nil`. ([#&open-telemetry#8203;5189](https://github.com/open-telemetry/opentelemetry-go/issues/5189)) - Apply the value length limits to `Record` attributes in `go.opentelemetry.io/otel/sdk/log`. ([#&open-telemetry#8203;5230](https://github.com/open-telemetry/opentelemetry-go/issues/5230)) - De-duplicate map attributes added to a `Record` in `go.opentelemetry.io/otel/sdk/log`. ([#&open-telemetry#8203;5230](https://github.com/open-telemetry/opentelemetry-go/issues/5230)) - `go.opentelemetry.io/otel/exporters/stdout/stdoutlog` won't print timestamps when `WithoutTimestamps` option is set. ([#&open-telemetry#8203;5241](https://github.com/open-telemetry/opentelemetry-go/issues/5241)) - The `go.opentelemetry.io/otel/exporters/stdout/stdoutlog` exporter won't print `AttributeValueLengthLimit` and `AttributeCountLimit` fields now, instead it prints the `DroppedAttributes` field. ([#&open-telemetry#8203;5272](https://github.com/open-telemetry/opentelemetry-go/issues/5272)) - Improved performance in the `Stringer` implementation of `go.opentelemetry.io/otel/baggage.Member` by reducing the number of allocations. ([#&open-telemetry#8203;5286](https://github.com/open-telemetry/opentelemetry-go/issues/5286)) - Set the start time for last-value aggregates in `go.opentelemetry.io/otel/sdk/metric`. ([#&open-telemetry#8203;5305](https://github.com/open-telemetry/opentelemetry-go/issues/5305)) - The `Span` in `go.opentelemetry.io/otel/sdk/trace` will record links without span context if either non-empty `TraceState` or attributes are provided. ([#&open-telemetry#8203;5315](https://github.com/open-telemetry/opentelemetry-go/issues/5315)) - Upgrade all dependencies of `go.opentelemetry.io/otel/semconv/v1.24.0` to `go.opentelemetry.io/otel/semconv/v1.25.0`. ([#&open-telemetry#8203;5374](https://github.com/open-telemetry/opentelemetry-go/issues/5374)) ##### Fixed - Comparison of unordered maps for `go.opentelemetry.io/otel/log.KeyValue` and `go.opentelemetry.io/otel/log.Value`. ([#&open-telemetry#8203;5306](https://github.com/open-telemetry/opentelemetry-go/issues/5306)) - Fix the empty output of `go.opentelemetry.io/otel/log.Value` in `go.opentelemetry.io/otel/exporters/stdout/stdoutlog`. ([#&open-telemetry#8203;5311](https://github.com/open-telemetry/opentelemetry-go/issues/5311)) - Split the behavior of `Recorder` in `go.opentelemetry.io/otel/log/logtest` so it behaves as a `LoggerProvider` only. ([#&open-telemetry#8203;5365](https://github.com/open-telemetry/opentelemetry-go/issues/5365)) - Fix wrong package name of the error message when parsing endpoint URL in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp`. ([#&open-telemetry#8203;5371](https://github.com/open-telemetry/opentelemetry-go/issues/5371)) - Identify the `Logger` returned from the global `LoggerProvider` in `go.opentelemetry.io/otel/log/global` with its schema URL. ([#&open-telemetry#8203;5375](https://github.com/open-telemetry/opentelemetry-go/issues/5375)) ##### What's Changed - sdk/log/logtest: Add RecordFactory by [@&open-telemetry#8203;pellared](https://github.com/pellared) in [open-telemetry/opentelemetry-go#5258 - log/logtest: add Record Factory by [@&open-telemetry#8203;dmathieu](https://github.com/dmathieu) in [open-telemetry/opentelemetry-go#5263 - stdoutlog: Do not print timestamps when WithoutTimestamps is set by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5241 - Add example for stdoutlog by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5242 - Remove context check on stdout exporters by [@&open-telemetry#8203;prasad-shirodkar](https://github.com/prasad-shirodkar) in [open-telemetry/opentelemetry-go#5189 - Fix flaky test TestBufferExporter/Shutdown/ContextCancelled by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5261 - Add `otlploggrpc` exporter skeleton by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5246 - build(deps): bump lycheeverse/lychee-action from 1.9.3 to 1.10.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [open-telemetry/opentelemetry-go#5266 - chore: fix function names in comment by [@&open-telemetry#8203;dockercui](https://github.com/dockercui) in [open-telemetry/opentelemetry-go#5262 - build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.50.0 to 0.51.0 in /example/dice by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [open-telemetry/opentelemetry-go#5265 - docs: update variable name in documentation by [@&open-telemetry#8203;codeboten](https://github.com/codeboten) in [open-telemetry/opentelemetry-go#5270 - Use empty resource when `RecordFactory.Resource` is `nil` by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5264 - Truncate and de-duplicate log attribute values by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5230 - Add changelog entry for [#&open-telemetry#8203;5230](https://github.com/open-telemetry/opentelemetry-go/issues/5230) by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5277 - docs: Add otlploghttp package in exporters README.md by [@&open-telemetry#8203;arukiidou](https://github.com/arukiidou) in [open-telemetry/opentelemetry-go#5274 - The stdoutlog exporter prints `DroppedAttributes` field instead of `Limit`s fields by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5272 - Test scope and resource transforms in `otlploghttp` by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5278 - Add README template to semconvkit by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5279 - Use docker compose in otel collector example by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5244 - \[chore] dependabot updates Sun May 5 15:58:12 UTC 2024 by [@&open-telemetry#8203;opentelemetrybot](https://github.com/opentelemetrybot) in [open-telemetry/opentelemetry-go#5300 - build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [open-telemetry/opentelemetry-go#5296 - docs: Update Go logs status to alpha in README.md by [@&open-telemetry#8203;arukiidou](https://github.com/arukiidou) in [open-telemetry/opentelemetry-go#5299 - docs: Add logs exporters in README.md by [@&open-telemetry#8203;arukiidou](https://github.com/arukiidou) in [open-telemetry/opentelemetry-go#5298 - Use reflect to construct a Record in `logtest` by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5275 - Fix type error in float64 instrument documentation by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5302 - Fix HistogramConfig documentation by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5301 - feat: opt for concatenation instead of using fmt.Sprintf by [@&open-telemetry#8203;moisesvega](https://github.com/moisesvega) in [open-telemetry/opentelemetry-go#5286 - Emit attributes slices as their json representation by [@&open-telemetry#8203;dmathieu](https://github.com/dmathieu) in [open-telemetry/opentelemetry-go#5159 - Refactor exemplars to not use generic argument by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5285 - Upgrade default go verison to 1.22.3 by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5314 - Log records dropped by the BatchProcessor by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5276 - Rename synchronous instrument names in global test by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5303 - chore: Configure Renovate by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5309 - chore(deps): update module github.com/golang/groupcache to v0.0.0-20210331224755-41bb18bfe9da by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5320 - chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240506185236-b8a5c65736ae by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5321 - chore(deps): update module gopkg.in/check.v1 to v1.0.0-20201130134442-10cb98267c6c by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5326 - chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240506185236-b8a5c65736ae by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5325 - fix(deps): update module golang.org/x/exp to v0.0.0-20240506185415-9bf2ced13842 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5327 - chore(deps): update module github.com/prometheus/common to v0.53.0 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5332 - chore(deps): update module golang.org/x/net to v0.25.0 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5335 - fix(deps): update module google.golang.org/protobuf to v1.34.1 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5328 - chore(deps): update module github.com/prometheus/procfs to v0.14.0 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5333 - chore(deps): update module github.com/cespare/xxhash/v2 to v2.3.0 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5330 - chore(deps): update module github.com/rogpeppe/go-internal to v1.12.0 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5334 - fix(deps): update module github.com/golangci/golangci-lint to v1.58.1 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5340 - Merge Span.AddLink tests by [@&open-telemetry#8203;perhapsmaple](https://github.com/perhapsmaple) in [open-telemetry/opentelemetry-go#5115 - exporters/otlp/otlptrace: fix incorrect documentation by [@&open-telemetry#8203;kevinburkesegment](https://github.com/kevinburkesegment) in [open-telemetry/opentelemetry-go#5098 - Generate `internal/retry` in `otlploggrpc` by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5313 - fix(deps): update module github.com/prometheus/client_golang to v1.19.1 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5341 - chore(deps): update jaegertracing/all-in-one docker tag to v1.57 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5329 - chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.100.0 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5337 - chore(deps): update prom/prometheus docker tag to v2.52.0 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5338 - Move Aneurysm9 to emeritus status by [@&open-telemetry#8203;Aneurysm9](https://github.com/Aneurysm9) in [open-telemetry/opentelemetry-go#5319 - Test metric aggregate times by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5323 - Fix empty log body printed by stdoutlog exporter by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5311 - Record links with empty span context by [@&open-telemetry#8203;amanakin](https://github.com/amanakin) in [open-telemetry/opentelemetry-go#5315 - Update `RELEASING.md` to obtain steps to verify the changes for contrib by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5284 - chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240509183442-62759503f434 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5345 - chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240509183442-62759503f434 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5344 - Support Delta & Cumulative temporality for LastValue aggregates by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5305 - sdk/log: Document how Processor and Exporter interfaces can be extended by [@&open-telemetry#8203;pellared](https://github.com/pellared) in [open-telemetry/opentelemetry-go#5347 - Remove dependabot version updates by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5346 - chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240513163218-0867130af1f8 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5350 - chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240513163218-0867130af1f8 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5351 - chore(deps): update module github.com/prometheus/procfs to v0.15.0 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5352 - chore(deps): update codecov/codecov-action action to v4.4.0 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5353 - Add logs to dice example by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5349 - log: Fix comparison of unordered map values by [@&open-telemetry#8203;dmathieu](https://github.com/dmathieu) in [open-telemetry/opentelemetry-go#5306 - fix(deps): update module google.golang.org/grpc to v1.64.0 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5354 - Fix logger provider var name in dice example by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5358 - chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240515191416-fc5f0ca64291 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5362 - chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240515191416-fc5f0ca64291 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5361 - chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.20.0 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5363 - \[chore] Fix 2 places in log design doc by [@&open-telemetry#8203;yijiem](https://github.com/yijiem) in [open-telemetry/opentelemetry-go#5364 - \[chore] Fix wrong type in DESIGN.md by [@&open-telemetry#8203;pellared](https://github.com/pellared) in [open-telemetry/opentelemetry-go#5368 - Add the synchronous gauge to the metric API and SDK by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5304 - Collector example: add metrics by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5283 - Fix package prefix of error in otlploghttp by [@&open-telemetry#8203;XSAM](https://github.com/XSAM) in [open-telemetry/opentelemetry-go#5371 - Split log/logtest into a recorder and a logger by [@&open-telemetry#8203;dmathieu](https://github.com/dmathieu) in [open-telemetry/opentelemetry-go#5365 - Identify logger with schemaURL in global logger provider by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5375 - Update all semconv use to v1.25.0 by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5374 - fix(deps): update module github.com/golangci/golangci-lint to v1.58.2 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5382 - chore(deps): update codecov/codecov-action action to v4.4.1 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5387 - chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240520151616-dc85e6b867a5 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5388 - chore(deps): update benchmark-action/github-action-benchmark action to v1.20.3 by [@&open-telemetry#8203;renovate](https://github.com/renovate) in [open-telemetry/opentelemetry-go#5381 - Fix exported instrument kind const value change by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5385 - Release v1.27.0/v0.49.0/v0.3.0 by [@&open-telemetry#8203;MrAlias](https://github.com/MrAlias) in [open-telemetry/opentelemetry-go#5392 ##### New Contributors - [@&open-telemetry#8203;prasad-shirodkar](https://github.com/prasad-shirodkar) made their first contribution in [open-telemetry/opentelemetry-go#5189 - [@&open-telemetry#8203;dockercui](https://github.com/dockercui) made their first contribution in [open-telemetry/opentelemetry-go#5262 - [@&open-telemetry#8203;arukiidou](https://github.com/arukiidou) made their first contribution in [open-telemetry/opentelemetry-go#5274 - [@&open-telemetry#8203;moisesvega](https://github.com/moisesvega) made their first contribution in [open-telemetry/opentelemetry-go#5286 - [@&open-telemetry#8203;renovate](https://github.com/renovate) made their first contribution in [open-telemetry/opentelemetry-go#5309 - [@&open-telemetry#8203;perhapsmaple](https://github.com/perhapsmaple) made their first contribution in [open-telemetry/opentelemetry-go#5115 - [@&open-telemetry#8203;amanakin](https://github.com/amanakin) made their first contribution in [open-telemetry/opentelemetry-go#5315 - [@&open-telemetry#8203;yijiem](https://github.com/yijiem) made their first contribution in [open-telemetry/opentelemetry-go#5364 **Full Changelog**: open-telemetry/opentelemetry-go@v1.26.0...v1.27.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInJlbm92YXRlYm90Il19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com> Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
This PR contains the following updates:
v1.26.0
->v1.27.0
v1.26.0
->v1.27.0
v1.26.0
->v1.27.0
v1.26.0
->v1.27.0
v1.26.0
->v1.27.0
v1.26.0
->v1.27.0
v0.48.0
->v0.49.0
v1.26.0
->v1.27.0
v1.26.0
->v1.27.0
v1.26.0
->v1.27.0
v1.26.0
->v1.27.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)
v1.27.0
: /v0.49.0/v0.3.0Compare Source
This release includes the first beta release of the OpenTelemetry Logs Bridge API and SDK for Go.
Overview
Added
go.opentelemetry.io/otel/exporters/stdout/stdoutlog
. (#5242)RecordFactory
ingo.opentelemetry.io/otel/sdk/log/logtest
to facilitate testing exporter and processor implementations. (#5258)RecordFactory
ingo.opentelemetry.io/otel/log/logtest
to facilitate testing bridge implementations. (#5263)BatchProcessor
ingo.opentelemetry.io/otel/sdk/log
is logged. (#5276)otel-collector
example. (#5283)go.opentelemetry.io/otel/metric
. (#5304)int64
orfloat64
synchronous gauge instrument can now be created from aMeter
.go.opentelemetry.io/otel/metric/noop
,go.opentelemetry.io/otel/sdk/metric
) are updated to support this instrument.go.opentelemetry.io/otel/example/dice
. (#5349)Changed
Shutdown
method ofExporter
ingo.opentelemetry.io/otel/exporters/stdout/stdouttrace
ignores the context cancellation and always returnsnil
. (#5189)ForceFlush
andShutdown
methods of the exporter returned byNew
ingo.opentelemetry.io/otel/exporters/stdout/stdoutmetric
ignore the context cancellation and always returnnil
. (#5189)Record
attributes ingo.opentelemetry.io/otel/sdk/log
. (#5230)Record
ingo.opentelemetry.io/otel/sdk/log
. (#5230)go.opentelemetry.io/otel/exporters/stdout/stdoutlog
won't print timestamps whenWithoutTimestamps
option is set. (#5241)go.opentelemetry.io/otel/exporters/stdout/stdoutlog
exporter won't printAttributeValueLengthLimit
andAttributeCountLimit
fields now, instead it prints theDroppedAttributes
field. (#5272)Stringer
implementation ofgo.opentelemetry.io/otel/baggage.Member
by reducing the number of allocations. (#5286)go.opentelemetry.io/otel/sdk/metric
. (#5305)Span
ingo.opentelemetry.io/otel/sdk/trace
will record links without span context if either non-emptyTraceState
or attributes are provided. (#5315)go.opentelemetry.io/otel/semconv/v1.24.0
togo.opentelemetry.io/otel/semconv/v1.25.0
. (#5374)Fixed
go.opentelemetry.io/otel/log.KeyValue
andgo.opentelemetry.io/otel/log.Value
. (#5306)go.opentelemetry.io/otel/log.Value
ingo.opentelemetry.io/otel/exporters/stdout/stdoutlog
. (#5311)Recorder
ingo.opentelemetry.io/otel/log/logtest
so it behaves as aLoggerProvider
only. (#5365)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#5371)Logger
returned from the globalLoggerProvider
ingo.opentelemetry.io/otel/log/global
with its schema URL. (#5375)What's Changed
otlploggrpc
exporter skeleton by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5246RecordFactory.Resource
isnil
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5264DroppedAttributes
field instead ofLimit
s fields by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5272otlploghttp
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5278logtest
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5275internal/retry
inotlploggrpc
by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5313RELEASING.md
to obtain steps to verify the changes for contrib by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5284New Contributors
Full Changelog: open-telemetry/opentelemetry-go@v1.26.0...v1.27.0
Configuration
📅 Schedule: Branch creation - "on tuesday" (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.