Skip to content

Commit

Permalink
⬆️ Update 🐹 Go Module go.opentelemetry.io/otel to v1.14.0 (#34)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[go.opentelemetry.io/otel](https://togithub.com/open-telemetry/opentelemetry-go)
| require | minor | `v1.13.0` -> `v1.14.0` |

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-go</summary>

###
[`v1.14.0`](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.14.0):
/v0.37.0/v0.0.4

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-go/compare/v1.13.0...v1.14.0)

Part of
[https://github.com/open-telemetry/opentelemetry-go/issues/3809](https://togithub.com/open-telemetry/opentelemetry-go/issues/3809)

This release is the last to support [Go 1.18].
The next release will require at least [Go 1.19].

##### Added

- The `event` type semantic conventions are added to
`go.opentelemetry.io/otel/semconv/v1.17.0`.
([#&#8203;3697](https://togithub.com/open-telemetry/opentelemetry-go/issues/3697))
- Support [Go 1.20].
([#&#8203;3693](https://togithub.com/open-telemetry/opentelemetry-go/issues/3693))
-   The `go.opentelemetry.io/otel/semconv/v1.18.0` package.
The package contains semantic conventions from the `v1.18.0` version of
the OpenTelemetry specification.
([#&#8203;3719](https://togithub.com/open-telemetry/opentelemetry-go/issues/3719))
- The following `const` renames from
`go.opentelemetry.io/otel/semconv/v1.17.0` are included:
        -   `OtelScopeNameKey` -> `OTelScopeNameKey`
        -   `OtelScopeVersionKey` -> `OTelScopeVersionKey`
        -   `OtelLibraryNameKey` -> `OTelLibraryNameKey`
        -   `OtelLibraryVersionKey` -> `OTelLibraryVersionKey`
        -   `OtelStatusCodeKey` -> `OTelStatusCodeKey`
        -   `OtelStatusDescriptionKey` -> `OTelStatusDescriptionKey`
        -   `OtelStatusCodeOk` -> `OTelStatusCodeOk`
        -   `OtelStatusCodeError` -> `OTelStatusCodeError`
- The following `func` renames from
`go.opentelemetry.io/otel/semconv/v1.17.0` are included:
        -   `OtelScopeName` -> `OTelScopeName`
        -   `OtelScopeVersion` -> `OTelScopeVersion`
        -   `OtelLibraryName` -> `OTelLibraryName`
        -   `OtelLibraryVersion` -> `OTelLibraryVersion`
        -   `OtelStatusDescription` -> `OTelStatusDescription`
- A `IsSampled` method is added to the `SpanContext` implementation in
`go.opentelemetry.io/otel/bridge/opentracing` to expose the span sampled
state.
See the [README](./bridge/opentracing/README.md) for more information.
([#&#8203;3570](https://togithub.com/open-telemetry/opentelemetry-go/issues/3570))
- The `WithInstrumentationAttributes` option to
`go.opentelemetry.io/otel/metric`.
([#&#8203;3738](https://togithub.com/open-telemetry/opentelemetry-go/issues/3738))
- The `WithInstrumentationAttributes` option to
`go.opentelemetry.io/otel/trace`.
([#&#8203;3739](https://togithub.com/open-telemetry/opentelemetry-go/issues/3739))
- The following environment variables are supported by the periodic
`Reader` in `go.opentelemetry.io/otel/sdk/metric`.
([#&#8203;3763](https://togithub.com/open-telemetry/opentelemetry-go/issues/3763))
- `OTEL_METRIC_EXPORT_INTERVAL` sets the time between collections and
exports.
- `OTEL_METRIC_EXPORT_TIMEOUT` sets the timeout an export is attempted.

##### Changed

- Fall-back to `TextMapCarrier` when it's not `HttpHeader`s in
`go.opentelemetry.io/otel/bridge/opentracing`.
([#&#8203;3679](https://togithub.com/open-telemetry/opentelemetry-go/issues/3679))
- The `Collect` method of the
`"go.opentelemetry.io/otel/sdk/metric".Reader` interface is updated to
accept the `metricdata.ResourceMetrics` value the collection will be
made into.
This change is made to enable memory reuse by SDK users.
([#&#8203;3732](https://togithub.com/open-telemetry/opentelemetry-go/issues/3732))
- The `WithUnit` option in
`go.opentelemetry.io/otel/sdk/metric/instrument` is updated to accept a
`string` for the unit value.
([#&#8203;3776](https://togithub.com/open-telemetry/opentelemetry-go/issues/3776))

##### Fixed

- Ensure `go.opentelemetry.io/otel` does not use generics.
([#&#8203;3723](https://togithub.com/open-telemetry/opentelemetry-go/issues/3723),
[#&#8203;3725](https://togithub.com/open-telemetry/opentelemetry-go/issues/3725))
- Multi-reader `MeterProvider`s now export metrics for all readers,
instead of just the first reader.
([#&#8203;3720](https://togithub.com/open-telemetry/opentelemetry-go/issues/3720),
[#&#8203;3724](https://togithub.com/open-telemetry/opentelemetry-go/issues/3724))
- Remove use of deprecated `"math/rand".Seed` in
`go.opentelemetry.io/otel/example/prometheus`.
([#&#8203;3733](https://togithub.com/open-telemetry/opentelemetry-go/issues/3733))
- Do not silently drop unknown schema data with `Parse` in
`go.opentelemetry.io/otel/schema/v1.1`.
([#&#8203;3743](https://togithub.com/open-telemetry/opentelemetry-go/issues/3743))
- Data race issue in OTLP exporter retry mechanism.
([#&#8203;3755](https://togithub.com/open-telemetry/opentelemetry-go/issues/3755),
[#&#8203;3756](https://togithub.com/open-telemetry/opentelemetry-go/issues/3756))
- Wrapping empty errors when exporting in
`go.opentelemetry.io/otel/sdk/metric`.
([#&#8203;3698](https://togithub.com/open-telemetry/opentelemetry-go/issues/3698),
[#&#8203;3772](https://togithub.com/open-telemetry/opentelemetry-go/issues/3772))
- Incorrect "all" and "resource" definition for schema files in
`go.opentelemetry.io/otel/schema/v1.1`.
([#&#8203;3777](https://togithub.com/open-telemetry/opentelemetry-go/issues/3777))

##### Deprecated

-   The `go.opentelemetry.io/otel/metric/unit` package is deprecated.
Use the equivalent unit string instead.
([#&#8203;3776](https://togithub.com/open-telemetry/opentelemetry-go/issues/3776))
    -   Use `"1"` instead of `unit.Dimensionless`
    -   Use `"By"` instead of `unit.Bytes`
    -   Use `"ms"` instead of `unit.Milliseconds`

[Go 1.20]: https://go.dev/doc/go1.20

[Go 1.19]: https://go.dev/doc/go1.19

[Go 1.18]: https://go.dev/doc/go1.18

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- 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://app.renovatebot.com/dashboard#github/bruxisma/go-apt-transport).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTIuNSIsInVwZGF0ZWRJblZlciI6IjM0LjE1Mi41In0=-->

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Feb 27, 2023
1 parent 0ad1763 commit 8fda4e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ go 1.19
require (
github.com/MakeNowJust/heredoc/v2 v2.0.1
github.com/stretchr/testify v1.8.2
go.opentelemetry.io/otel v1.13.0
go.opentelemetry.io/otel/trace v1.13.0
go.opentelemetry.io/otel v1.14.0
go.opentelemetry.io/otel/trace v1.14.0
)

require (
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
go.opentelemetry.io/otel v1.13.0 h1:1ZAKnNQKwBBxFtww/GwxNUyTf0AxkZzrukO8MeXqe4Y=
go.opentelemetry.io/otel v1.13.0/go.mod h1:FH3RtdZCzRkJYFTCsAKDy9l/XYjMdNv6QrkFFB8DvVg=
go.opentelemetry.io/otel/trace v1.13.0 h1:CBgRZ6ntv+Amuj1jDsMhZtlAPT6gbyIRdaIzFhfBSdY=
go.opentelemetry.io/otel/trace v1.13.0/go.mod h1:muCvmmO9KKpvuXSf3KKAXXB2ygNYHQ+ZfI5X08d3tds=
go.opentelemetry.io/otel v1.14.0 h1:/79Huy8wbf5DnIPhemGB+zEPVwnN6fuQybr/SRXa6hM=
go.opentelemetry.io/otel v1.14.0/go.mod h1:o4buv+dJzx8rohcUeRmWUZhqupFvzWis188WlggnNeU=
go.opentelemetry.io/otel/trace v1.14.0 h1:wp2Mmvj41tDsyAJXiWDWpfNsOiIyd38fy85pyKcFq/M=
go.opentelemetry.io/otel/trace v1.14.0/go.mod h1:8avnQLK+CG77yNLUae4ea2JDQ6iT+gozhnZjy/rw9G8=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
Expand Down

0 comments on commit 8fda4e5

Please sign in to comment.