github open-telemetry/opentelemetry-go v1.35.0
Release v1.35.0/v0.57.0/v0.11.0

one day ago

Overview

This release is the last to support Go 1.22.
The next release will require at least Go 1.23.

Added

  • Add ValueFromAttribute and KeyValueFromAttribute in go.opentelemetry.io/otel/log. (#6180)
  • Add EventName and SetEventName to Record in go.opentelemetry.io/otel/log. (#6187)
  • Add EventName to RecordFactory in go.opentelemetry.io/otel/log/logtest. (#6187)
  • AssertRecordEqual in go.opentelemetry.io/otel/log/logtest checks Record.EventName. (#6187)
  • Add EventName and SetEventName to Record in go.opentelemetry.io/otel/sdk/log. (#6193)
  • Add EventName to RecordFactory in go.opentelemetry.io/otel/sdk/log/logtest. (#6193)
  • Emit Record.EventName field in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#6211)
  • Emit Record.EventName field in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6211)
  • Emit Record.EventName field in go.opentelemetry.io/otel/exporters/stdout/stdoutlog (#6210)
  • The go.opentelemetry.io/otel/semconv/v1.28.0 package.
    The package contains semantic conventions from the v1.28.0 version of the OpenTelemetry Semantic Conventions.
    See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.27.0(#6236)
  • The go.opentelemetry.io/otel/semconv/v1.30.0 package.
    The package contains semantic conventions from the v1.30.0 version of the OpenTelemetry Semantic Conventions.
    See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.28.0(#6240)
  • Document the pitfalls of using Resource as a comparable type.
    Resource.Equal and Resource.Equivalent should be used instead. (#6272)
  • Support [Go 1.24]. (#6304)
  • Add FilterProcessor and EnabledParameters in go.opentelemetry.io/otel/sdk/log.
    It replaces go.opentelemetry.io/otel/sdk/log/internal/x.FilterProcessor.
    Compared to previous version it additionally gives the possibility to filter by resource and instrumentation scope. (#6317)

Changed

  • Update github.com/prometheus/common to v0.62.0, which changes the NameValidationScheme to NoEscaping.
    This allows metrics names to keep original delimiters (e.g. .), rather than replacing with underscores.
    This is controlled by the Content-Type header, or can be reverted by setting NameValidationScheme to LegacyValidation in github.com/prometheus/common/model. (#6198)

Fixes

  • Eliminate goroutine leak for the processor returned by NewSimpleSpanProcessor in go.opentelemetry.io/otel/sdk/trace when Shutdown is called and the passed ctx is canceled and SpanExporter.Shutdown has not returned. (#6368)
  • Eliminate goroutine leak for the processor returned by NewBatchSpanProcessor in go.opentelemetry.io/otel/sdk/trace when ForceFlush is called and the passed ctx is canceled and SpanExporter.Export has not returned. (#6369)

What's Changed

  • chore(deps): update golang.org/x/telemetry digest to 04cd7ba by @renovate in #6176
  • chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.26.0 by @renovate in #6186
  • chore(deps): update module github.com/pjbgf/sha1cd to v0.3.2 by @renovate in #6188
  • chore(deps): update dependency codespell to v2.4.0 by @renovate in #6189
  • log: Add ValueFromAttribute and KeyValueFromAttribute by @pellared in #6180
  • fix(deps): update module github.com/opentracing-contrib/go-grpc to v0.1.1 by @renovate in #6191
  • fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 2f9c7e3 by @renovate in #6190
  • log: Add EventName by @pellared in #6187
  • sdk/log: Add EventName by @pellared in #6193
  • chore(deps): update codecov/codecov-action action to v5.2.0 by @renovate in #6195
  • fix(deps): update googleapis to 138b5a5 by @renovate in #6194
  • fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.17.0 by @renovate in #6197
  • fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.17.0 by @renovate in #6199
  • fix(deps): update module go.opentelemetry.io/build-tools/semconvgen to v0.17.0 by @renovate in #6202
  • fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.17.0 by @renovate in #6200
  • chore: Group renovate build-tools updates by @MrAlias in #6201
  • Update module github.com/prometheus/common to v0.62.0 and fix tests by @dashpole in #6198
  • chore(deps): update module github.com/go-git/go-git/v5 to v5.13.2 by @renovate in #6204
  • chore(deps): update codecov/codecov-action action to v5.3.0 by @renovate in #6207
  • fix(deps): update module google.golang.org/grpc to v1.70.0 by @renovate in #6208
  • fix(deps): update googleapis to 65684f5 by @renovate in #6212
  • chore(deps): update codecov/codecov-action action to v5.3.1 by @renovate in #6213
  • fix(deps): update module google.golang.org/protobuf to v1.36.4 by @renovate in #6214
  • otlplog: Emit Record.EventName field by @pellared in #6211
  • chore: Update Logs API design doc by @pellared in #6206
  • fix(deps): update googleapis to 29210b9 by @renovate in #6217
  • chore(deps): update module github.com/cyphar/filepath-securejoin to v0.4.1 by @renovate in #6218
  • fix(deps): update golang.org/x to e0ece0d by @renovate in #6219
  • chore(deps): update dependency codespell to v2.4.1 by @renovate in #6221
  • fix(deps): update golang.org/x to e0ece0d by @renovate in #6222
  • stdoutlog: Emit Record.EventName field by @pellared in #6210
  • Update codespell target by @MrAlias in #6223
  • chore(deps): update module github.com/spf13/pflag to v1.0.6 by @renovate in #6224
  • chore(deps): update module github.com/skeema/knownhosts to v1.3.1 by @renovate in #6231
  • Weaver by @MrAlias in #5898
  • chore(deps): update module github.com/polyfloyd/go-errorlint to v1.7.1 by @renovate in #6237
  • Generate the semconv/v1.28.0 package by @MrAlias in #6236
  • Use archive URL for weaver registry by @MrAlias in #6235
  • sdk/log: Assign fltrProcessors on provider creation instead of lazy by @pellared in #6239
  • Generate semconv/v1.30.0 by @MrAlias in #6240
  • Add an auto-instrumentable no-op implementation to the trace package by @MrAlias in #6203
  • fix(deps): update golang.org/x by @renovate in #6249
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 29210b9 by @renovate in #6250
  • chore(deps): update module golang.org/x/text to v0.22.0 by @renovate in #6252
  • fix(deps): update googleapis to 7023788 by @renovate in #6251
  • chore(deps): update golang.org/x/telemetry digest to 3af0d96 by @renovate in #6253
  • chore(deps): update module google.golang.org/grpc to v1.70.0 by @renovate in #6254
  • fix(deps): update module go.opentelemetry.io/otel/trace to v1.34.0 by @renovate in #6256
  • fix(deps): update module go.opentelemetry.io/collector/pdata to v1.25.0 by @renovate in #6255
  • chore(deps): update module github.com/cloudflare/circl to v1.6.0 by @renovate in #6259
  • chore(deps): update lycheeverse/lychee-action action to v2.3.0 by @renovate in #6258
  • chore(deps): update module github.com/catenacyber/perfsprint to v0.8.0 by @renovate in #6261
  • Create scorecard.yml to enable OSSF Scorecard reporting by @MrAlias in #6247
  • chore(deps): update actions/upload-artifact digest to ff15f03 by @renovate in #6262
  • chore(deps): update actions/checkout action to v4.2.2 by @renovate in #6263
  • chore(deps): update golang.org/x/telemetry digest to c67c2d1 by @renovate in #6264
  • chore(deps): update ossf/scorecard-action action to v2.4.0 by @renovate in #6265
  • chore(deps): update actions/upload-artifact action to v4 by @renovate in #6266
  • fix(deps): update build-tools to v0.18.0 by @renovate in #6276
  • fix(deps): update module google.golang.org/protobuf to v1.36.5 by @renovate in #6277
  • Use renovate best-practices by @MrAlias in #6267
  • chore(deps): pin dependencies by @renovate in #6278
  • chore(deps): update golang.org/x/telemetry digest to 557cf9c by @renovate in #6279
  • Fix comment of the RecordOnly sampling decision by @XSAM in #6257
  • Default github workflow permission read-all by @MrAlias in #6268
  • Add an OpenSSF badge to README.md by @MrAlias in #6269
  • chore(deps): update python docker tag to v3.13.2 by @renovate in #6283
  • fix(deps): update golang.org/x to f9890c6 by @renovate in #6282
  • chore(deps): update github/codeql-action digest to 9e8d078 by @renovate in #6287
  • chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.26.1 by @renovate in #6288
  • chore(deps): update module golang.org/x/crypto to v0.33.0 by @renovate in #6290
  • fix(deps): update googleapis to e9438ea by @renovate in #6289
  • chore(deps): update otel/weaver docker tag to v0.13.0 by @renovate in #6292
  • chore(deps): update module 4d63.com/gochecknoglobals to v0.2.2 by @renovate in #6291
  • chore(deps): update module go-simpler.org/sloglint to v0.9.0 by @renovate in #6293
  • chore(deps): update module github.com/catenacyber/perfsprint to v0.8.1 by @renovate in #6294
  • Close stale issues and PRs after 2 years of inactivity by @dmathieu in #6284
  • chore(deps): pin actions/stale action to 5bef64f by @renovate in #6295
  • fix(deps): update golang.org/x by @renovate in #6297
  • chore(deps): update module github.com/ldez/exptostd to v0.4.1 by @renovate in #6300
  • fix(deps): update module github.com/golangci/golangci-lint to v1.64.2 by @renovate in #6301
  • Document and check resource comparability by @MrAlias in #6272
  • chore(deps): update module github.com/mgechev/revive to v1.6.1 by @renovate in #6306
  • chore(deps): update otel/weaver docker tag to v0.13.1 by @renovate in #6309
  • fix(deps): update module github.com/golangci/golangci-lint to v1.64.4 by @renovate in #6310
  • chore(deps): update golang.org/x/telemetry digest to 7530529 by @renovate in #6305
  • chore(deps): update module github.com/gostaticanalysis/forcetypeassert to v0.2.0 by @renovate in #6312
  • fix(deps): update googleapis to 5a70512 by @renovate in #6308
  • Add support for Go 1.24 by @dmathieu in #6304
  • Replace tenv with usetesting by @dmathieu in #6313
  • chore(deps): update module github.com/securego/gosec/v2 to v2.22.1 by @renovate in #6314
  • [chore] Fix go-work Make target with the highest required Go version by @pellared in #6285
  • chore(deps): update module github.com/tdakkota/asciicheck to v0.4.0 by @renovate in #6316
  • fix(deps): update module github.com/golangci/golangci-lint to v1.64.5 by @renovate in #6319
  • chore(deps): update otel/weaver docker tag to v0.13.2 by @renovate in #6318
  • sdk/log: Change BenchmarkLoggerNewRecord to BenchmarkLoggerEmit by @pellared in #6315
  • chore(deps): update golang.org/x/telemetry digest to 6f9b61d by @renovate in #6321
  • chore(deps): update module github.com/tdakkota/asciicheck to v0.4.1 by @renovate in #6322
  • chore(deps): update module github.com/tetafro/godot to v1.5.0 by @renovate in #6323
  • [chore] Use public Linux ARM64 runners by @Kielek in #6320
  • chore(deps): update module github.com/mgechev/revive to v1.7.0 by @renovate in #6326
  • chore(deps): update module github.com/spf13/cobra to v1.9.1 by @renovate in #6324
  • chore(deps): update module github.com/4meepo/tagalign to v1.4.2 by @renovate in #6327
  • fix(deps): update golang.org/x to eff6e97 by @renovate in #6325
  • fix(deps): update golang.org/x to aa4b98e by @renovate in #6336
  • chore(deps): update module github.com/nunnatsa/ginkgolinter to v0.19.1 by @renovate in #6311
  • sdk/log: Add FilterProcessor and EnabledParameters by @pellared in #6317
  • chore(deps): update actions/cache digest to 0c907a7 by @renovate in #6337
  • fix(deps): update googleapis to 56aae31 by @renovate in #6338
  • chore(deps): update module github.com/catenacyber/perfsprint to v0.8.2 by @renovate in #6339
  • Add FOSSA scanning workflow by @opentelemetrybot in #6331
  • chore(deps): update module github.com/kisielk/errcheck to v1.9.0 by @renovate in #6340
  • [chore] Add a policy on adding tests by @pellared in #6334
  • [chore] Add OpenSSF Best Practices badge by @pellared in #6345
  • chore(deps): update golang.org/x/telemetry digest to 165e2f8 by @renovate in #6346
  • chore(deps): update module github.com/quasilyte/go-ruleguard to v0.4.4 by @renovate in #6348
  • chore(deps): update module github.com/ldez/exptostd to v0.4.2 by @renovate in #6357
  • chore(deps): update actions/upload-artifact digest to 4cec3d8 by @renovate in #6356
  • chore(deps): update github/codeql-action digest to b56ba49 by @renovate in #6354
  • chore(deps): update ossf/scorecard-action action to v2.4.1 by @renovate in #6358
  • fix(deps): update module github.com/google/go-cmp to v0.7.0 by @renovate in #6359
  • chore(deps): update golang.org/x by @renovate in #6355
  • chore(deps): update module github.com/gaijinentertainment/go-exhaustruct/v3 to v3.3.1 by @renovate in #6361
  • chore(deps): update python:3.13.2-slim-bullseye docker digest to d3852c9 by @renovate in #6367
  • chore(deps): update module golang.org/x/crypto to v0.35.0 by @renovate in #6366
  • [chore] clean up revive configuration by @mmorel-35 in #6353
  • chore(deps): update python:3.13.2-slim-bullseye docker digest to 31b581c by @renovate in #6370
  • chore(deps): update module go.opentelemetry.io/build-tools to v0.19.0 by @renovate in #6374
  • chore(deps): update module github.com/bombsimon/wsl/v4 to v4.6.0 by @renovate in #6373
  • fix(deps): update build-tools to v0.19.0 by @renovate in #6376
  • chore(deps): update actions/download-artifact digest to cc20338 by @renovate in #6377
  • sdk/trace: Fix goroutine leak in simpleSpanProcessor.Shutdown by @pellared in #6368
  • chore(deps): update codecov/codecov-action action to v5.4.0 by @renovate in #6380
  • chore(deps): update module github.com/catenacyber/perfsprint to v0.9.0 by @renovate in #6379
  • sdk/trace: Fix gorountine leak in batchSpanProcessor.ForceFlush by @pellared in #6369
  • chore(deps): update module github.com/protonmail/go-crypto to v1.1.6 by @renovate in #6383
  • chore(deps): update module github.com/go-git/go-git/v5 to v5.14.0 by @renovate in #6385
  • chore(deps): update actions/cache digest to d4323d4 by @renovate in #6384
  • chore(deps): update module github.com/kkhaike/contextcheck to v1.1.6 by @renovate in #6387
  • chore(deps): update module 4d63.com/gocheckcompilerdirectives to v1.3.0 by @renovate in #6388
  • fix(deps): update golang.org/x to dead583 by @renovate in #6389
  • chore(deps): update mvdan.cc/unparam digest to 0df0534 by @renovate in #6391
  • fix(deps): update module github.com/golangci/golangci-lint to v1.64.6 by @renovate in #6394
  • chore(deps): update github.com/golangci/dupl digest to 44c6a0b by @renovate in #6398
  • Look at stale issues in ascending order by @dmathieu in #6396
  • fix(deps): update build-tools to v0.20.0 by @renovate in #6403
  • Move trace sdk tests from trace_test into trace package by @dashpole in #6400
  • fix(deps): update module google.golang.org/grpc to v1.71.0 by @renovate in #6409
  • chore(deps): update module github.com/ryancurrah/gomodguard to v1.4.1 by @renovate in #6411
  • chore(deps): update module github.com/securego/gosec/v2 to v2.22.2 by @renovate in #6412
  • Release v1.35.0/v0.57.0/v0.11.0 by @XSAM in #6407

Full Changelog: v1.34.0...v1.35.0

Don't miss a new opentelemetry-go release

NewReleases is sending notifications on new releases.