Skip to content

Releases: open-telemetry/opentelemetry-go-contrib

Release v1.35.0/v0.60.0/v0.29.0/v0.15.0/v0.10.0/v0.8.0/v0.7.0

06 Mar 01:56
v1.35.0
bc53d2b
Compare
Choose a tag to compare

Overview

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

Warning

This is the last version to use Semantic Conventions v1.20.0 for HTTP libraries
by default. The next version (0.61.0) will default to v1.26.0, and the
following one (0.62.0) will drop support for Semantic Conventions v1.20.0

You can switch to the new Semantic Conventions right now by setting the
OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in your
application.

See also the HTTP semantic conventions stability
migration

Added

  • Add support for configuring ClientCertificate and ClientKey field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6378)
  • Add WithAttributeBuilder, AttributeBuilder, DefaultAttributeBuilder, DynamoDBAttributeBuilder, SNSAttributeBuilder to support adding attributes based on SDK input and output in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6652)
  • Added the WithMeterProvider option to allow passing a custom meter provider to go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added the WithMetricAttributesFn option to allow setting dynamic, per-request metric attributes in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Add support for configuring Insecure field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6658)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/net/http/httptrace/otelhttptrace to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6720)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/github.com/emicklei/go-restful/otelrestful to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6710)
  • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6747)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6778)
  • Support OTEL_SEMCONV_STABILITY_OPT_IN to emit telemetry following both go.opentelemetry.io/otel/semconv/v1.21.0 (default) and go.opentelemetry.io/otel/semconv/v1.26.0 (opt-in) in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo per the Database semantic convention stability migration guide. (#6172)
  • Support Go 1.24. (#6765)
  • Add support for configuring HeadersList field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6657)
  • Add go.opentelemetry.io/contrib/otelconf module which is a replacement for go.opentelemetry.io/contrib/config. (#6796)
  • Added WithFallbackLogExporter to allow setting a fallback log exporter when OTEL_LOGS_EXPORTER is unset in go.opentelemetry.io/contrib/exporters/autoexport. (#6844)

Changed

  • Add custom attribute to the span after execution of the SDK rather than before in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelslog now stores the package path-qualified function name instead of just the function name.
    The code.namespace attribute is no longer added. (#6870)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelzap now stores the package path-qualified function name instead of just the function name.
    The code.namespace attribute is no longer added. (#6870)
  • Improve performance by reducing allocations for common request protocols in the modules below. (#6845)
    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp

Deprecated

  • Deprecate WithAttributeSetter, AttributeSetter, DefaultAttributeSetter, DynamoDBAttributeSetter, SNSAttributeSetter in favor of WithAttributeBuilder, AttributeBuilder, DefaultAttributeBuilder, DynamoDBAttributeBuilder, SNSAttributeBuilder in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • Deprecate go.opentelemetry.io/contrib/config module in favor of go.opentelemetry.io/contrib/otelconf. This is the last release of this module. (#6796)

Fixed

  • Use context.Background() as default context instead of nil in go.opentelemetry.io/contrib/bridges/otellogr. (#6527)
  • Convert Prometheus histogram buckets to non-cumulative otel histogram buckets in go.opentelemetry.io/contrib/bridges/prometheus. (#6685)
  • Don't start spans that never end for filtered out gRPC stats handler in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#6695)
  • Fix a possible nil dereference panic in NewSDK of go.opentelemetry.io/contrib/config/v0.3.0. (#6752)
  • Fix prometheus endpoint with an IPv6 address in go.opentelemetry.io/contrib/config. (#6815)

What's Changed

  • chore(deps): update golang.org/x/telemetry digest to 04cd7ba by @renovate in #6642
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6643
  • chore(deps): update module github.com/cloudwego/base64x to v0.1.5 by @renovate in #6647
  • config: add tests for socket endpoint by @dmathieu in #6636
  • otellogr: Fix nil context panic by @flc1125 in #6527
  • config: add support for extra TLS configuration by @mattsains in #6378
  • chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.26.0 by @renovate in #6655
  • chore(deps): update module github.com/pjbgf/sha1cd to v0.3.2 by @renovate in #6656
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/service/sns to v1.33.14 by @renovate in #6659
  • chore(deps): update dependency codespell to v2.4.0 by @renovate in #6660
  • fix(deps): update module github.com/aws/smithy-go to v1.22.2 by @renovate in #6661
  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.118.0 by @renovate in #6662
  • chore(deps): update module go.opentelemetry.io/build-tools to v0.17.0 by @renovate in #6666
  • fix(deps): update googleapis to 138b5a5 by @renovate in #6664
  • chore(deps): update codecov/codecov-action action to v5.2.0 by @renovate in #6665
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.74.0 by @renovate in #6667
  • fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.17.0 by @renovate in #6668
  • fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.17.0 by @renovate in #6669
  • chore: Group renovate build-tools update by @MrAlias in #6670
  • fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.17.0 by @renovate in #6674
  • chore(deps): update module github.com/go-git/go-git/v5 to v5.13.2 by @renovate in #6672
  • Count code owners approvals towards the two required approvals by @dmathieu in #6675
  • chore(deps): update codecov/codecov-action action to...
Read more

Release v1.34.0/v0.59.0/v0.28.0/v0.14.0/v0.9.0/v0.7.0/v0.6.0

17 Jan 19:36
v1.34.0
e6e7902
Compare
Choose a tag to compare

Overview

Added

  • Generate server metrics with semantic conventions v1.26.0 in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp when OTEL_SEMCONV_STABILITY_OPT_IN is set to http/dup. (#6411)
  • Generate client metrics with semantic conventions v1.26.0 in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp when OTEL_SEMCONV_STABILITY_OPT_IN is set to http/dup. (#6607)

Fixed

  • Fix error logged by Jaeger remote sampler on empty or unset OTEL_TRACES_SAMPLER_ARG environment variable (#6511)
  • Relax minimum Go version to 1.22.0 in various modules. (#6595)
  • NewSDK handles empty OpenTelemetryConfiguration.Resource properly in go.opentelemetry.io/contrib/config/v0.3.0. (#6606)
  • Fix a possible nil dereference panic in NewSDK of go.opentelemetry.io/contrib/config/v0.3.0. (#6606)

What's Changed

  • fix(deps): update module google.golang.org/grpc to v1.69.0 by @renovate in #6438
  • [chore] Update go.opentelemetry.io/contrib packages in example/dice/instrumented by @MrAlias in #6439
  • chore(deps): update k8s.io/kube-openapi digest to 2c72e55 by @renovate in #6445
  • [chore] Add test coverage of version.go files by @MrAlias in #6443
  • [chore] Have renovate update our tools dependencies by @MrAlias in #6444
  • chore(deps): update module golang.org/x/crypto to v0.31.0 [security] by @renovate in #6429
  • fix(deps): update module cloud.google.com/go/compute/metadata to v0.6.0 by @renovate in #6447
  • chore(deps): update github.com/golang/groupcache digest to 2c02b82 by @renovate in #6449
  • chore(deps): update github.com/matoous/godox digest to 94d1edd by @renovate in #6450
  • chore(deps): update github.com/burntsushi/toml digest to b7406c0 by @renovate in #6448
  • chore(deps): update github.com/timakin/bodyclose digest to adbc21e by @renovate in #6451
  • [chore] Remove the renovate update for otel go by @XSAM in #6436
  • chore(deps): update golang.org/x by @renovate in #6452
  • chore(deps): update mvdan.cc/unparam digest to 57a3b42 by @renovate in #6453
  • chore(deps): update module dario.cat/mergo to v1.0.1 by @renovate in #6454
  • chore(deps): update module github.com/microsoft/go-winio to v0.6.2 by @renovate in #6460
  • chore(deps): update module github.com/masterminds/semver/v3 to v3.3.1 by @renovate in #6459
  • chore(deps): update module github.com/butuzov/ireturn to v0.3.1 by @renovate in #6455
  • chore(deps): update module github.com/go-xmlfmt/xmlfmt to v1.1.3 by @renovate in #6456
  • chore(deps): update module github.com/jjti/go-spancheck to v0.6.4 by @renovate in #6457
  • chore(deps): update module github.com/ckaznocha/intrange to v0.3.0 by @renovate in #6466
  • chore(deps): update module github.com/magiconair/properties to v1.8.9 by @renovate in #6458
  • chore(deps): update module github.com/butuzov/mirror to v1.3.0 by @renovate in #6464
  • chore(deps): update module github.com/goccy/go-yaml to v1.15.10 by @renovate in #6473
  • chore(deps): update module github.com/go-git/go-billy/v5 to v5.6.0 by @renovate in #6472
  • chore(deps): update module github.com/cespare/xxhash/v2 to v2.3.0 by @renovate in #6465
  • chore(deps): update module github.com/ldez/gomoddirectives to v0.6.0 by @renovate in #6475
  • chore(deps): update module github.com/prometheus/client_golang to v1.20.5 by @renovate in #6478
  • chore(deps): update module github.com/ashanbrown/makezero to v1.2.0 by @renovate in #6463
  • chore(deps): update module github.com/cloudflare/circl to v1.5.0 by @renovate in #6467
  • chore(deps): update module github.com/curioswitch/go-reassign to v0.3.0 by @renovate in #6468
  • chore(deps): update module github.com/cyphar/filepath-securejoin to v0.3.5 by @renovate in #6469
  • chore(deps): update module github.com/sanposhiho/wastedassign/v2 to v2.1.0 by @renovate in #6484
  • chore(deps): update module github.com/mailru/easyjson to v0.9.0 by @renovate in #6483
  • chore(deps): update module github.com/sagikazarmark/locafero to v0.6.0 by @renovate in #6482
  • chore(deps): update module github.com/spf13/cast to v1.7.0 by @renovate in #6486
  • chore(deps): update module github.com/tdakkota/asciicheck to v0.3.0 by @renovate in #6488
  • chore(deps): update module github.com/djarvur/go-err113 to v0.1.0 by @renovate in #6470
  • chore(deps): update module github.com/tomarrell/wrapcheck/v2 to v2.10.0 by @renovate in #6490
  • chore(deps): update module github.com/stbenjam/no-sprintf-host-port to v0.2.0 by @renovate in #6487
  • chore(deps): update module github.com/prometheus/common to v0.61.0 by @renovate in #6479
  • chore(deps): update module github.com/uudashr/iface to v1.3.0 by @renovate in #6493
  • chore(deps): update module github.com/uudashr/gocognit to v1.2.0 by @renovate in #6492
  • chore(deps): update module github.com/skeema/knownhosts to v1.3.0 by @renovate in #6485
  • chore(deps): update module github.com/protonmail/go-crypto to v1.1.3 by @renovate in #6480
  • chore(deps): update module github.com/fsnotify/fsnotify to v1.8.0 by @renovate in #6471
  • chore(deps): update module github.com/alecthomas/go-check-sumtype to v0.3.1 by @renovate in #6489
  • fix(deps): update golang.org/x to 4a55095 by @renovate in #6481
  • chore(deps): update module github.com/bytedance/sonic to v1.12.6 by @renovate in #6491
  • chore(deps): update module github.com/gostaticanalysis/comment to v1.5.0 by @renovate in #6474
  • feat(otelhttp): generate New Server Metrics in otelhttp by @flc1125 in #6411
  • chore(deps): update module github.com/antonboom/nilnil to v1.0.1 by @renovate in #6499
  • fix(deps): update module google.golang.org/protobuf to v1.36.0 by @renovate in #6501
  • chore(deps): update golang.org/x/telemetry digest to 738f4b2 by @renovate in #6498
  • fix(deps): update googleapis to 9240e9c by @renovate in #6500
  • chore(deps): update module github.com/cyphar/filepath-securejoin to v0.3.6 by @renovate in #6502
  • fix(deps): update golang.org/x to b2144cd by @renovate in #6503
  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.116.0 by @renovate in #6505
  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.116.1 by @renovate in #6506
  • chore(deps): update module github.com/goccy/go-yaml to v1.15.11 by @renovate in https://github.com/open-telemetry/opentelem...
Read more

Release v1.33.0/v0.58.0/v0.27.0/v0.13.0/v0.8.0/v0.6.0/v0.5.0

12 Dec 20:33
v1.33.0
f6667f6
Compare
Choose a tag to compare

Overview

Added

  • Added support for providing endpoint, pollingIntervalMs and initialSamplingRate using environment variable OTEL_TRACES_SAMPLER_ARG in go.opentelemetry.io/contrib/samples/jaegerremote. (#6310)
  • Added support exporting logs via OTLP over gRPC in go.opentelemetry.io/contrib/config. (#6340)
  • The go.opentelemetry.io/contrib/bridges/otellogr module.
    This module provides an OpenTelemetry logging bridge for github.com/go-logr/logr. (#6386)
  • Added SNS instrumentation in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6388)

Changed

  • Change the span name to be GET /path so it complies with the OTel HTTP semantic conventions in go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho. (#6365)
  • Record errors instead of setting the gin.errors attribute in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6346)
  • The go.opentelemetry.io/contrib/config now supports multiple schemas in subdirectories (i.e. go.opentelemetry.io/contrib/config/v0.3.0) for easier migration. (#6412)

Fixed

  • Fix broken AWS presigned URLs when using instrumentation in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#5975)
  • Fixed the value for configuring the OTLP exporter to use grpc instead of grpc/protobuf in go.opentelemetry.io/contrib/config. (#6338)
  • Allow marshaling types in go.opentelemetry.io/contrib/config. (#6347)
  • Removed the redundant handling of panic from the HTML function in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6373)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelslog now stores just the function name instead the package path-qualified function name. The code.namespace attribute now stores the package path. (#6415)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelzap now stores just the function name instead the package path-qualified function name. The code.namespace attribute now stores the package path. (#6423)

What's Changed

  • fix(deps): update module go.opentelemetry.io/contrib/bridges/otelslog to v0.7.0 by @renovate in #6313
  • fix(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.57.0 by @renovate in #6314
  • chore(deps): update golang.org/x by @renovate in #6219
  • Fix lint issue for golangci-lint 1.62.0 by @dmathieu in #6322
  • fix(deps): update module github.com/golangci/golangci-lint to v1.62.0 by @renovate in #6320
  • fix(deps): update googleapis to e0fbfb7 by @renovate in #6324
  • chore(deps): update module sigs.k8s.io/structured-merge-diff/v4 to v4.4.3 by @renovate in #6327
  • fix(deps): update googleapis to 65e8d21 by @renovate in #6325
  • otellogr: Implement Error and comment Init by @scorpionknifes in #6295
  • Use lychee new cache-exclude-status option and upgrade lychee-action by @dmathieu in #6323
  • chore(deps): update module google.golang.org/protobuf to v1.35.2 by @renovate in #6328
  • [chore]: enable perfsprint linter by @mmorel-35 in #6316
  • chore(deps): update codecov/codecov-action action to v5 by @renovate in #6329
  • Support Environment Variable for Jaeger Remote Sampler by @akstron in #6310
  • [chore] Fix codecov action usage by @pellared in #6333
  • chore(deps): update codecov/codecov-action action to v5.0.2 by @renovate in #6334
  • Renovate/aws sdk go v2 monorepo by @akats7 in #6332
  • fix(deps): update module github.com/aws/smithy-go to v1.22.1 by @renovate in #6335
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6326
  • chore(deps): update prom/prometheus docker tag to v3 by @renovate in #6330
  • chore(deps): update module github.com/go-playground/validator/v10 to v10.23.0 by @renovate in #6336
  • config: fix otlp exporter protocol issue by @codeboten in #6338
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to e639e21 by @renovate in #6344
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6343
  • fix(deps): update google.golang.org/genproto/googleapis/api digest to e639e21 by @renovate in #6345
  • add grpc support for log export by @codeboten in #6340
  • Add check for toolchain by @7h3-3mp7y-m4n in #6342
  • chore(deps): update codecov/codecov-action action to v5.0.3 by @renovate in #6350
  • chore(deps): update codecov/codecov-action action to v5.0.4 by @renovate in #6352
  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.114.0 by @renovate in #6348
  • chore(deps): update codecov/codecov-action action to v5.0.5 by @renovate in #6354
  • chore(deps): update module github.com/gabriel-vasile/mimetype to v1.4.7 by @renovate in #6355
  • Add the tmp directory to .gitignore by @evan-bradley in #6349
  • Update generated config types by @evan-bradley in #6347
  • chore(deps): update codecov/codecov-action action to v5.0.6 by @renovate in #6356
  • chore(deps): update kubernetes packages to v0.31.3 by @renovate in #6358
  • chore(deps): update codecov/codecov-action action to v5.0.7 by @renovate in #6357
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.68.0 by @renovate in #6359
  • Automatically request reviews from codeowners of components by @dmathieu in #6282
  • chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.24.0 by @renovate in #6361
  • fix(deps): update module github.com/stretchr/testify to v1.10.0 by @renovate in #6362
  • chore(deps): update module github.com/bytedance/sonic to v1.12.5 by @renovate in #6368
  • otelaws: Add finalize middleware after instead of before by @jacksehr in #5975
  • tests(otelgin): move test files and trim module dependencies by @flc1125 in #6360
  • fix(deps): update module github.com/golangci/golangci-lint to v1.62.2 by @renovate in #6369
  • [chore]: enable usestdlibvars linter by @mmorel-35 in #6367
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.69.0 by @renovate in #6371
  • otellogr: Add benchmarks by @scorpionknifes in #6364
  • chore(deps): update module github.com/google/gnostic-models to v0.6.9 by @renovate in #6374
  • feat(otelgin): enhance gin error tracking with span recording by @flc1125 in #6346
  • fix(otelgin): remove redundant error handling from HTML by @flc1125 in #6373
  • added akats7 as codeowner for otelgin by @akats7 in #6370
  • fix(otelecho): comply with span naming semconv by @flc1125 in #6365
  • chore(deps): update k8s.io/kube-openapi digest to 9959940 by @renovate in #6377
    *...
Read more

Release v1.32.0/v0.57.0/v0.26.0/v0.12.0/v0.7.0/v0.5.0/v0.4.0

08 Nov 19:24
v1.32.0
519f10d
Compare
Choose a tag to compare

Overview

Added

  • Add the WithSource option to the go.opentelemetry.io/contrib/bridges/otelslog log bridge to set the code.* attributes in the log record that includes the source location where the record was emitted. (#6253)
  • Add ContextWithStartTime and StartTimeFromContext to go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, which allows setting the start time using go context. (#6137)
  • Set the code.* attributes in go.opentelemetry.io/contrib/bridges/otelzap if the zap.Logger was created with the AddCaller or AddStacktrace option. (#6268)
  • Add a LogProcessor to go.opentelemetry.io/contrib/processors/baggagecopy to copy baggage members to log records. (#6277)
    • Use baggagecopy.NewLogProcessor when configuring a Log Provider.
      • NewLogProcessor accepts a Filter function type that selects which baggage members are added to the log record.

Changed

  • Transform raw (slog.KindAny) attribute values to matching log.Value types.
    For example, []string{"foo", "bar"} attribute value is now transformed to log.SliceValue(log.StringValue("foo"), log.StringValue("bar")) instead of log.String("[foo bar"]). (#6254)
  • Upgrade go.opentelemetry.io/otel/semconv/v1.17.0 to go.opentelemetry.io/otel/semconv/v1.21.0 in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo. (#6272)
  • Resource doesn't merge with defaults if a valid resource is configured in go.opentelemetry.io/contrib/config. (#6289)

Fixed

  • Transform nil attribute values to log.Value zero value instead of panicking in go.opentelemetry.io/contrib/bridges/otellogrus. (#6237)
  • Transform nil attribute values to log.Value zero value instead of panicking in go.opentelemetry.io/contrib/bridges/otelzap. (#6237)
  • Transform nil attribute values to log.Value zero value instead of log.StringValue("<nil>") in go.opentelemetry.io/contrib/bridges/otelslog. (#6246)
  • Fix NewClientHandler so that rpc.client.request.* metrics measure requests instead of responses and rpc.client.responses.* metrics measure responses instead of requests in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#6250)
  • Fix issue in go.opentelemetry.io/contrib/config causing otelprom.WithResourceAsConstantLabels configuration to not be respected. (#6260)
  • otel.Handle is no longer called on a successful shutdown of the Prometheus exporter in go.opentelemetry.io/contrib/config. (#6299)

What's Changed

  • fix(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.56.0 by @renovate in #6251
  • chore(deps): update module github.com/gabriel-vasile/mimetype to v1.4.6 by @renovate in #6247
  • fix(deps): update module go.opentelemetry.io/contrib/bridges/otelslog to v0.6.0 by @renovate in #6249
  • Fix panic for nil attributes and move convert funcs to internal/shared/logutil by @m1heng in #6237
  • otelslog: Transform nil attribute to empty log.Value by @pellared in #6246
  • fix(deps): update module github.com/prometheus/client_golang to v1.20.5 by @renovate in #6255
  • fix(deps): update googleapis to 796eee8 by @renovate in #6257
  • fix(deps): update module github.com/googlecloudplatform/opentelemetry-operations-go/detectors/gcp to v1.24.3 by @renovate in #6258
  • oteslog: Improve transforming slog.KindAny attributes by @pellared in #6254
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6259
  • otelgrpc: Fix NewClientHandler to emit proper request/response metrics by @bogdandrutu in #6250
  • config: fix bug where WithResourceAsConstantLabels wasn't set by @codeboten in #6260
  • otelslog: Add WithSource option by @Jesse0Michael in #6253
  • otelhttp: Allow setting start time using context by @dashpole in #6137
  • chore(deps): update module github.com/bytedance/sonic/loader to v0.2.1 by @renovate in #6267
  • chore(deps): update module github.com/ebitengine/purego to v0.8.1 by @renovate in #6269
  • fix(deps): update googleapis to 324edc3 by @renovate in #6270
  • chore(deps): update prom/prometheus docker tag to v2.55.0 by @renovate in #6271
  • otelzap: Add caller and stacktrace to attributes if present by @suniastar in #6268
  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.112.0 by @renovate in #6274
  • chore(deps): update kubernetes packages to v0.31.2 by @renovate in #6273
  • chore(deps): update module github.com/prometheus/common to v0.60.1 by @renovate in #6275
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.66.1 by @renovate in #6276
  • fix(deps): update module github.com/atombender/go-jsonschema to v0.17.0 by @renovate in #6278
  • otellogr: Implement LevelSeverity, Enabled by @scorpionknifes in #6206
  • otelmongo semconv 1.21.0 bump by @prestonvasquez in #6272
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6280
  • Add Cheng-Zhen as a triager by @dmathieu in #6279
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/service/route53 to v1.46.0 by @renovate in #6284
  • chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.23.0 by @renovate in #6288
  • fix(deps): update module github.com/googlecloudplatform/opentelemetry-operations-go/detectors/gcp to v1.25.0 by @renovate in #6287
  • fix(deps): update module github.com/shirou/gopsutil/v4 to v4.24.10 by @renovate in #6286
  • chore(deps): update k8s.io/utils digest to 3ea5e8c by @renovate in #6290
  • config: update resource to return only configured values by @codeboten in #6289
  • feat: add LogProcessor to baggagecopy by @Jesse0Michael in #6277
  • fix(deps): update googleapis to dd2ea8e by @renovate in #6292
  • chore(deps): update k8s.io/utils digest to 6fe5fd8 by @renovate in #6291
  • chore(deps): update module github.com/bytedance/sonic to v1.12.4 by @renovate in #6293
  • chore(deps): update prom/prometheus docker tag to v2.55.1 by @renovate in #6297
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6298
  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.113.0 by @renovate in #6301
  • fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.15.0 by @renovate in #6303
  • fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.15.0 by @renovate in #6302
  • config: don't log an error on close by @codeboten in #6299
  • chore(deps): update module github.com/klauspost/cpuid/v2 to v2.2.9 by @renovate in #6304
  • fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.15.0 by @renovate in #6305
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6308
  • fix(deps): update module google.golang.org/grpc to v1.68.0 by @renovate in #6306
  • Release v1.32.0/v0.57.0/v0.26.0/v0.12.0/v0.7.0/v0.5.0/v0.4.0 by @pellared in #6311

New Contributors

Read more

Release v1.31.0/v0.56.0/v0.25.0/v0.11.0/v0.6.0/v0.4.0/v0.3.0

14 Oct 15:36
v1.31.0
9cf5701
Compare
Choose a tag to compare

Overview

Added

  • The Severitier and SeverityVar types are added to go.opentelemetry.io/contrib/processors/minsev allowing dynamic configuration of the severity used by the LogProcessor. (#6116)
  • Move examples from go.opentelemetry.io/otel to this repository under examples directory. (#6158)
  • Support yaml/json struct tags for generated code in go.opentelemetry.io/contrib/config. (#5433)
  • Add support for parsing YAML configuration via ParseYAML in go.opentelemetry.io/contrib/config. (#5433)
  • Add support for temporality preference configuration in go.opentelemetry.io/contrib/config. (#5860)

Changed

  • The function signature of NewLogProcessor in go.opentelemetry.io/contrib/processors/minsev has changed to accept the added Severitier interface instead of a log.Severity. (#6116)
  • Updated go.opentelemetry.io/contrib/config to use the v0.3.0 release of schema which includes backwards incompatible changes. (#6126)
  • NewSDK in go.opentelemetry.io/contrib/config now returns a no-op SDK if disabled is set to true. (#6185)
  • The deprecated go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho package has found a Code Owner. The package is no longer deprecated. (#6207)

Fixed

  • Possible nil dereference panic in go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#5965)
  • logrus.Level transformed to appropriate log.Severity in go.opentelemetry.io/contrib/bridges/otellogrus. (#6191)

Removed

  • The Minimum field of the LogProcessor in go.opentelemetry.io/contrib/processors/minsev is removed.
    Use NewLogProcessor to configure this setting. (#6116)
  • The deprecated go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron package is removed. (#6186)
  • The deprecated go.opentelemetry.io/contrib/samplers/aws/xray package is removed. (#6187)

What's Changed

  • Add skeleton for otellogr bridge by @scorpionknifes in #6097
  • chore(deps): update opentelemetry-go monorepo by @renovate in #6108
  • fix(deps): update module google.golang.org/grpc to v1.66.2 by @renovate in #6109
  • otelhttptrace: handle missing getconn hook without panic by @krantideep95 in #5965
  • chore(deps): update kubernetes packages to v0.31.1 by @renovate in #6110
  • fix(deps): update module cloud.google.com/go/compute/metadata to v0.5.1 by @renovate in #6114
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.27.34 by @renovate in #6117
  • Bump otel/log after introducing EnabledParameters by @pellared in #6115
  • fix(deps): update opentelemetry-go monorepo to 534ce5a by @renovate in #6118
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6120
  • fix(deps): update module github.com/prometheus/client_golang to v1.20.4 by @renovate in #6119
  • fix(deps): update module go.mongodb.org/mongo-driver to v1.17.0 by @renovate in #6121
  • fix(deps): update opentelemetry-go monorepo to 7bd1c85 by @renovate in #6122
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.62.0 by @renovate in #6124
  • Update minsev to allow dynamic severities by @MrAlias in #6116
  • otelmongo: Use a mock deployment for testing against a MongoDB server by @prestonvasquez in #5749
  • fix(deps): update module github.com/aws/smithy-go to v1.21.0 by @renovate in #6129
  • fix(deps): update module google.golang.org/grpc to v1.67.0 by @renovate in #6131
  • fix(deps): update opentelemetry-go monorepo to a200e0a by @renovate in #6130
  • [chore]: enable len and empty rules from testifylint by @mmorel-35 in #6125
  • fix(deps): update opentelemetry-go monorepo to aef9e4f by @renovate in #6132
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6135
  • chore(deps): update k8s.io/utils digest to 49e7df5 by @renovate in #6136
  • [chore]: enable error-nil and nil-compare rules from testifylint by @mmorel-35 in #6133
  • fix(deps): update opentelemetry-go monorepo to 063239f by @renovate in #6138
  • chore(deps): update module github.com/bytedance/sonic to v1.12.3 by @renovate in #6143
  • chore(deps): update module github.com/klauspost/compress to v1.17.10 by @renovate in #6146
  • fix(deps): update module github.com/googlecloudplatform/opentelemetry-operations-go/detectors/gcp to v1.24.2 by @renovate in #6148
  • fix(deps): update module cloud.google.com/go/compute/metadata to v0.5.2 by @renovate in #6150
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6149
  • chore(deps): update module github.com/rogpeppe/go-internal to v1.13.1 by @renovate in #6147
  • [chore]: enable error-is-as rule from testifylint by @mmorel-35 in #6141
  • [chore]: enable compares and negative-positive rules from testifylint by @mmorel-35 in #6139
  • [chore]: enable go-require rule from testifylint by @mmorel-35 in #6140
  • fix(deps): update googleapis to 9d4c2d2 by @renovate in #6153
  • otellogr: Implement Info, WithName, WithValues by @scorpionknifes in #6111
  • refactor(otelhttp): unit tests by @5ylar in #6151
  • Add linter rules to prevent uses of the SDK in bridges and instrumentations by @dmathieu in #6145
  • [chore]: enable expected-actual rule from testifylint by @mmorel-35 in #6154
  • xray client: return an error if the HTTP request failed by @jaedle in #5718
  • fix: update references to logging exporter by @codeboten in #6134
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6157
  • config: simplify test code by @codeboten in #6123
  • Move examples from core repository by @pellared in #6158
  • [chore]: enable formatter rule from testifylint by @mmorel-35 in #6156
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6159
  • fix(deps): update module github.com/shirou/gopsutil/v4 to v4.24.9 by @renovate in #6165
  • fix(deps): update googleapis to af27646 by @renovate in #6164
  • fix(deps): update module google.golang.org/grpc to v1.67.1 by @renovate in #6166
  • dice: Revert otelslog usage by @pellared in #6162
  • [chore] Add verify_examples.sh by @pellared in #6160
  • chore(deps): update module github.com/prometheus/common to v0.60.0 by @renovate in #6168
  • Move @MadVikingGod to Emeritus status by @MrAlias in #6163
  • fix(deps): update module go.mongodb.org/mongo-driver to v1.17.1 by @renovate in #6173
  • chore(deps): update codecov/codecov-action action to v4.6.0 by @renovate in #6169
  • Remove toolchain statement from otelgin example by @dmathieu in https://github.com/open...
Read more

Release v1.30.0/v0.55.0/v0.24.0/v0.10.0/v0.5.0/v0.3.0/v0.2.0

11 Sep 22:48
v1.30.0
4ccc9c6
Compare
Choose a tag to compare

Overview

Added

  • Add NewProducer to go.opentelemetry.io/contrib/instrumentation/runtime, which allows collecting the go.schedule.duration histogram metric from the Go runtime. (#5991)
  • Add gRPC protocol support for OTLP log exporter in go.opentelemetry.io/contrib/exporters/autoexport. (#6083)

Removed

Fixed

  • Superfluous call to WriteHeader when flushing after setting a status code in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6074)
  • Superfluous call to WriteHeader when writing the response body after setting a status code in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6055)

What's Changed

  • fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.27.30 by @renovate in #6041
  • Drop support for Go 1.21 by @MrAlias in #6046
  • fix(deps): update module github.com/prometheus/client_golang to v1.20.2 by @renovate in #6044
  • chore(deps): update module github.com/pelletier/go-toml/v2 to v2.2.3 by @renovate in #6040
  • fix(deps): update google.golang.org/genproto/googleapis/api digest to 4ba0660 by @renovate in #6043
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 4ba0660 by @renovate in #6045
  • fix(deps): update google.golang.org/genproto/googleapis/api digest to f6391c0 by @renovate in #6049
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to f6391c0 by @renovate in #6048
  • Replace go 1.21 with go 1.22 in go mod by @XSAM in #6047
  • chore(deps): update module github.com/bytedance/sonic to v1.12.2 by @renovate in #6052
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6051
  • chore(deps): update k8s.io/kube-openapi digest to 65a50c7 by @renovate in #6050
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 7e3bb23 by @renovate in #6056
  • chore(deps): update k8s.io/kube-openapi digest to f7e401e by @renovate in #6057
  • fix(deps): update google.golang.org/genproto/googleapis/api digest to 7e3bb23 by @renovate in #6058
  • chore(deps): update module github.com/prometheus/common to v0.57.0 by @renovate in #6059
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.61.0 by @renovate in #6061
  • fix(deps): update module google.golang.org/grpc to v1.66.0 by @renovate in #6060
  • Don't write headers on Write if they were already written by @dmathieu in #6055
  • fix(deps): update module github.com/shirou/gopsutil/v4 to v4.24.8 by @renovate in #6063
  • chore(deps): update module github.com/aws/aws-sdk-go-v2/service/sqs to v1.34.6 by @renovate in #6062
  • chore(deps): update k8s.io/utils digest to 702e33f by @renovate in #6065
  • chore(deps): update module github.com/prometheus/common to v0.58.0 by @renovate in #6066
  • Ensure codespell failures fail CI by @dmathieu in #6064
  • fix(deps): update google.golang.org/genproto/googleapis/api digest to 8af14fe by @renovate in #6068
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 8af14fe by @renovate in #6067
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6070
  • chore(deps): update k8s.io/kube-openapi digest to 9e1beec by @renovate in #6069
  • Implement go.schedule.duration by @dashpole in #5991
  • chore(deps): update module golang.org/x/arch to v0.10.0 by @renovate in #6075
  • fix(deps): update golang.org/x/exp digest to e7e105d by @renovate in #6082
  • chore(deps): update module golang.org/x/text to v0.18.0 by @renovate in #6081
  • chore(deps): update module golang.org/x/term to v0.24.0 by @renovate in #6080
  • chore(deps): update module golang.org/x/sys to v0.25.0 by @renovate in #6078
  • chore(deps): update module golang.org/x/oauth2 to v0.23.0 by @renovate in #6077
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6079
  • Group googleapis update by @XSAM in #6072
  • fix(deps): update module github.com/prometheus/client_golang to v1.20.3 by @renovate in #6084
  • chore(deps): update module github.com/prometheus/common to v0.59.1 by @renovate in #6085
  • Fix superfluous writing header after flush in otelhttp by @amanakin in #6074
  • chore(deps): update module golang.org/x/crypto to v0.27.0 by @renovate in #6087
  • chore(deps): update module golang.org/x/net to v0.29.0 by @renovate in #6089
  • [chore] Remove toolchain directive by @pellared in #6088
  • config: remove incorrect comment by @codeboten in #6090
  • chore(deps): update module github.com/go-playground/validator/v10 to v10.22.1 by @renovate in #6096
  • feat: add grpc support for log autoexport by @sysulq in #6083
  • fix(deps): update golang.org/x/exp digest to 701f63a by @renovate in #6099
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to v1.34.9 by @renovate in #6102
  • fix(deps): update module google.golang.org/grpc to v1.66.1 by @renovate in #6103
  • chore(deps): update github.com/lufia/plan9stats digest to 873cd01 by @renovate in #6098
  • chore(deps): update kubernetes packages to v0.31.0 by @renovate in #5926
  • Fix gosec lint issues by @dmathieu in #6107
  • fix(deps): update module github.com/golangci/golangci-lint to v1.61.0 by @renovate in #6101
  • Release v1.30.0/v0.55.0/v0.24.0/v0.10.0/v0.5.0/v0.3.0/v0.2.0 by @XSAM in #6106

New Contributors

Full Changelog: v1.29.0...v1.30.0

Release v1.29.0/v0.54.0/v0.23.0/v0.9.0/v0.4.0/v0.2.0/v0.1.0

23 Aug 23:51
v1.29.0
fc25f67
Compare
Choose a tag to compare

Overview

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

Added

  • Add the WithSpanAttributes and WithMetricAttributes methods to set custom attributes to the stats handler in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#5133)
  • The go.opentelemetry.io/contrib/bridges/otelzap module. This module provides an OpenTelemetry logging bridge for go.uber.org/zap. (#5191)
  • Support for the OTEL_HTTP_CLIENT_COMPATIBILITY_MODE=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#5401)
  • The go.opentelemetry.io/contrib/bridges/otelzerolog module. This module provides an OpenTelemetry logging bridge for github.com/rs/zerolog. (#5405)
  • Add WithGinFilter filter parameter in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to allow filtering requests with *gin.Context. (#5743)
  • Support for stdoutlog exporter in go.opentelemetry.io/contrib/config. (#5850)
  • Add macOS ARM64 platform to the compatibility testing suite. (#5868)
  • Add new runtime metrics to go.opentelemetry.io/contrib/instrumentation/runtime, which are still disabled by default. (#5870)
  • Add the WithMetricsAttributesFn option to allow setting dynamic, per-request metric attributes in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#5876)
  • The go.opentelemetry.io/contrib/config package supports configuring with_resource_constant_labels for the prometheus exporter. (#5890)
  • Support Go 1.23. (#6017)

Removed

  • The deprecated go.opentelemetry.io/contrib/processors/baggagecopy package is removed. (#5853)

Fixed

  • Race condition when reading the HTTP body and writing the response in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#5916)

What's Changed

  • Remove redundant otelhttp allocation by @gaiaz-iusipov in #5842
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.54.14 by @renovate in #5856
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #5855
  • chore(deps): update k8s.io/kube-openapi digest to 0aa61b4 by @renovate in #5854
  • chore(deps): update module golang.org/x/sys to v0.22.0 by @renovate in #5858
  • chore(deps): update module golang.org/x/term to v0.22.0 by @renovate in #5859
  • chore(deps): update module golang.org/x/mod to v0.19.0 by @renovate in #5857
  • config: Implement stdoutlog exporter by @robinknaapen in #5850
  • chore(deps): update module golang.org/x/crypto to v0.25.0 by @renovate in #5862
  • chore(deps): update module golang.org/x/net to v0.27.0 by @renovate in #5863
  • fix(deps): update module golang.org/x/tools to v0.23.0 by @renovate in #5866
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.54.15 by @renovate in #5864
  • fix(deps): update golang.org/x/exp digest to 46b0784 by @renovate in #5867
  • Remove baggagetrace by @MrAlias in #5853
  • Use logtest.AssertRecordEqual in logrus bridge by @dmathieu in #5852
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 4ad9e85 by @renovate in #5870
  • fix(deps): update google.golang.org/genproto/googleapis/api digest to 4ad9e85 by @renovate in #5871
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.54.16 by @renovate in #5873
  • chore(deps): update k8s.io/kube-openapi digest to 3c01b74 by @renovate in #5875
  • Run macOS tests on both AMD and ARM architectures by @dmathieu in #5868
  • HTTP Semconv migration Part1 Client - v1.24.0 support by @MadVikingGod in #5773
  • fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.14.0 by @renovate in #5881
  • fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.14.0 by @renovate in #5882
  • fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.14.0 by @renovate in #5887
  • fix(deps): update google.golang.org/genproto/googleapis/api digest to 40e1e62 by @renovate in #5885
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 40e1e62 by @renovate in #5884
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.54.17 by @renovate in #5886
  • Remove instrgen changelog entry by @MrAlias in #5874
  • otelslog: Remove the pooled buffer by @pellared in #5878
  • fix(deps): update module cloud.google.com/go/compute/metadata to v0.5.0 by @renovate in #5888
  • chore(deps): update module github.com/aws/aws-sdk-go-v2/feature/ec2/imds to v1.16.10 by @renovate in #5889
  • chore(deps): update aws-sdk-go-v2 monorepo by @renovate in #5891
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #5892
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.54.18 by @renovate in #5893
  • chore(deps): update k8s.io/utils digest to 18e509b by @renovate in #5894
  • Add skeleton for zerolog bridge by @AkhigbeEromo in #5782
  • chore(deps): update module github.com/go-logr/logr to v1.4.2 by @renovate in #5898
  • chore(deps): update module github.com/mattn/go-isatty to v0.0.20 by @renovate in #5899
  • chore(deps): update module golang.org/x/sys to v0.22.0 by @renovate in #5900
  • chore(deps): update opentelemetry-go monorepo by @renovate in #5901
  • otelzap: Add test for passing context by @khushijain21 in #5897
  • otelzap: remove TODO comments for using pooled objects by @khushijain21 in #5895
  • otezap: Add support for zap named loggers by @pellared in #5896
  • fix(deps): update google.golang.org/genproto/googleapis/api digest to 46eb208 by @renovate in #5904
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 46eb208 by @renovate in #5903
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.54.19 by @renovate in #5909
  • added codeowners for zerolog bridge by @AkhigbeEromo in #5905
  • Protect released changelog in CI by @XSAM in #5906
  • otelzap: Add otelzap under experimental bridge by @khushijain21 in #5907
  • config: add support for with_resource_constant_labels option by @codeboten in #5890
  • Implement new runtime metrics by @dashpole in #5780
  • fix(deps): update module go.opentelemetry.io/contrib/instrumentation/runtime to v0.53.0 by @renovate in #5912
  • chore(deps): update module golang.org/x/sys to v0.22.0 by @renovate in #5911
  • fix(deps): update opentelemetry-go monorepo to v1.28.0 by @renovate in #5913
  • Update CHANGELOG.md for OTEL_HTTP_CLIENT_COMPATIBILITY_MODE environment variable by @VinozzZ ...
Read more

Release v1.28.0/v0.53.0/v0.22.0/v0.8.0/v0.3.0/v0.1.0

03 Jul 14:30
v1.28.0
af75717
Compare
Choose a tag to compare

Overview

Added

  • Add the new go.opentelemetry.io/contrib/detectors/azure/azurevm package to provide a resource detector for Azure VMs. (#5422)
  • Add support to configure views when creating MeterProvider using the config package. (#5654)
  • The go.opentelemetry.io/contrib/config add support to configure periodic reader interval and timeout. (#5661)
  • Add log support for the autoexport package. (#5733)
  • Add support for disabling the old runtime metrics using the OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=false environment variable. (#5747)
  • Add support for signal-specific protocols environment variables (OTEL_EXPORTER_OTLP_TRACES_PROTOCOL, OTEL_EXPORTER_OTLP_LOGS_PROTOCOL, OTEL_EXPORTER_OTLP_METRICS_PROTOCOL) in go.opentelemetry.io/contrib/exporters/autoexport. (#5816)
  • The go.opentelemetry.io/contrib/processors/minsev module is added.
    This module provides and experimental logging processor with a configurable threshold for the minimum severity records must have to be recorded. (#5817)
  • The go.opentelemetry.io/contrib/processors/baggagecopy module.
    This module is a replacement of go.opentelemetry.io/contrib/processors/baggage/baggagetrace. (#5824)

Changed

  • Improve performance of go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc with the usage of WithAttributeSet() instead of WithAttribute(). (#5664)
  • Improve performance of go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp with the usage of WithAttributeSet() instead of WithAttribute(). (#5664)
  • Update go.opentelemetry.io/contrib/config to latest released configuration schema which introduces breaking changes where Attributes is now a map[string]interface{}. (#5758)
  • Upgrade all dependencies of go.opentelemetry.io/otel/semconv/v1.25.0 to go.opentelemetry.io/otel/semconv/v1.26.0. (#5847)

Fixed

  • Custom attributes targeting metrics recorded by the go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp are not ignored anymore. (#5129)
  • The double setup in go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace/example that caused duplicate traces. (#5564)
  • The superfluous response.WriteHeader call in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp when the response writer is flushed. (#5634)
  • Use c.FullPath() method to set http.route attribute in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#5734)
  • Out-of-bounds panic in case of invalid span ID in go.opentelemetry.io/contrib/propagators/b3. (#5754)

Deprecated

  • The go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho package is deprecated.
    If you would like to become a Code Owner of this module and prevent it from being removed, see #5550. (#5645)
  • The go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron package is deprecated.
    If you would like to become a Code Owner of this module and prevent it from being removed, see #5552. (#5646)
  • The go.opentelemetry.io/contrib/samplers/aws/xray package is deprecated.
    If you would like to become a Code Owner of this module and prevent it from being removed, see #5554. (#5647)
  • The go.opentelemetry.io/contrib/processors/baggage/baggagetrace package is deprecated.
    Use the added go.opentelemetry.io/contrib/processors/baggagecopy package instead. (#5824)
    • Use baggagecopy.NewSpanProcessor as a replacement for baggagetrace.New.
      • NewSpanProcessor accepts a Fitler function type that selects which baggage members are added to a span.
      • NewSpanProcessor returns a *baggagecopy.SpanProcessor instead of a trace.SpanProcessor interface.
        The returned type still implements the interface.

What's Changed

  • chore(deps): update module github.com/goccy/go-json to v0.10.3 by @renovate in #5623
  • chore(deps): update k8s.io/kube-openapi digest to 835d969 by @renovate in #5622
  • chore(deps): update module github.com/go-logr/logr to v1.4.2 by @renovate in #5627
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.53.7 by @renovate in #5629
  • fix(deps): update google.golang.org/genproto/googleapis/api digest to d264139 by @renovate in #5630
  • fix(deps): update module go.opentelemetry.io/collector/pdata to v1.8.0 by @renovate in #5624
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to d264139 by @renovate in #5631
  • Add deprecation notice to otelmongo by @MrAlias in #5598
  • Move unreleased changelog entry by @MrAlias in #5637
  • chore(deps): update module github.com/bytedance/sonic to v1.11.7 by @renovate in #5633
  • fix(deps): update module golang.org/x/vuln to v1.1.1 by @renovate in #5650
  • otelzap: Implement Write method by @khushijain21 in #5620
  • otelzap: Implement methods on arrayEncoder by @khushijain21 in #5632
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.53.8 by @renovate in #5649
  • Deprecate the AWS EC2 detector by @MrAlias in #5636
  • Deprecate the AWS ECS detector by @MrAlias in #5638
  • Deprecate otelmongo/test by @MrAlias in #5639
  • Deprecate the AWS EKS detector by @MrAlias in #5640
  • Deprecate the AWS Lambda detector by @MrAlias in #5641
  • Deprecate otellambda by @MrAlias in #5642
  • Deprecate otelaws by @MrAlias in #5643
  • Deprecate otelmux by @MrAlias in #5644
  • Deprecate otelecho by @MrAlias in #5645
  • Deprecate otelmacaron by @MrAlias in #5646
  • Deprecate the AWS propagators by @MrAlias in #5647
  • Deprecate the AWS XRAY sampler by @MrAlias in #5648
  • chore(deps): update module github.com/gabriel-vasile/mimetype to v1.4.4 by @renovate in #5660
  • fix(deps): update module github.com/golangci/golangci-lint to v1.59.0 by @renovate in #5663
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.53.10 by @renovate in #5657
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #5658
  • fix(deps): update golang.org/x/exp digest to 4c93da0 by @renovate in #5662
  • fix(deps): update golang.org/x/tools digest to 7045d2e by @renovate in #5651
  • config: Add support to configure periodic reader interval and timeout by @bogdandrutu in #5661
  • Introduce respWriter.Flush so we don't write the status twice by @dmathieu in #5634
  • fix(deps): update golang.org/x/tools digest to cc29c91 by @renovate in #5667
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to a332354 by @renovate in #5668
  • fix(deps): update google.golang.org/genproto/googleapis/api digest to a332354 by @renovate in #5669
  • fix(deps): update golang.org/x/tools digest to f10a0f1 by @renovate in #5670
  • fix(deps): update google.golang.org/genproto/googleapis/api digest to 5315273 by @renovate in #5671
  • fix(deps): update golang.org/x/tools digest to cc29c91 by @renovate in #5673
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 5315273 by @renovate in #5672
  • chore(deps): update module github.com/bytedance/sonic to v1.11.8 by @renovate in #5682
  • fix(deps): update module github.com/aws/aws-sdk-go to v1.53.11 by @r...
Read more

Release v1.27.0/v0.52.0/v0.21.0/v0.7.0/v0.2.0

21 May 19:27
v1.27.0
007ae66
Compare
Choose a tag to compare

Overview

Added

  • Add the new go.opentelemetry.io/contrib/instrgen package to provide auto-generated source code instrumentation. (#3068, #3108)
  • Add an experimental OTEL_METRICS_PRODUCERS environment variable to go.opentelemetry.io/contrib/autoexport to be set metrics producers. (#5281)
    • prometheus and none are supported values. You can specify multiple producers separated by a comma.
    • Add WithFallbackMetricProducer option that adds a fallback if the OTEL_METRICS_PRODUCERS is not set or empty.
  • The go.opentelemetry.io/contrib/processors/baggage/baggagetrace module. This module provides a Baggage Span Processor. (#5404)
  • Add gRPC trace Filter for stats handler to go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#5196)
  • Add a repository Code Ownership Policy. (#5555)
  • The go.opentelemetry.io/contrib/bridges/otellogrus module. This module provides an OpenTelemetry logging bridge for github.com/sirupsen/logrus. (#5355)
  • The WithVersion option function in go.opentelemetry.io/contrib/bridges/otelslog. This option function is used as a replacement of WithInstrumentationScope to specify the logged package version. (#5588)
  • The WithSchemaURL option function in go.opentelemetry.io/contrib/bridges/otelslog. This option function is used as a replacement of WithInstrumentationScope to specify the semantic convention schema URL for the logged records. (#5588)
  • Add support for Cloud Run jobs in go.opentelemetry.io/contrib/detectors/gcp. (#5559)

Changed

  • The gRPC trace Filter for interceptor is renamed to InterceptorFilter. (#5196)

  • The gRPC trace filter functions Any, All, None, Not, MethodName, MethodPrefix, FullMethodName, ServiceName, ServicePrefix and HealthCheck for interceptor are moved to go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filters/interceptor. With this change, the filters in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc are now working for stats handler. (#5196)

  • NewLogger now accepts a name string as the first argument. This parameter is used as a replacement of WithInstrumentationScope to specify the name of the logger backing the underlying Handler. (#5588)

  • NewHandler now accepts a name string as the first argument. This parameter is used as a replacement of WithInstrumentationScope to specify the name of the logger backing the returned Handler. (#5588)

  • Upgrade all dependencies of go.opentelemetry.io/otel/semconv/v1.24.0 to go.opentelemetry.io/otel/semconv/v1.25.0. (#5605)

Removed

  • The WithInstrumentationScope option function in go.opentelemetry.io/contrib/bridges/otelslog is removed. Use the name parameter added to NewHandler and NewLogger as well as WithVersion and WithSchema as replacements. (#5588)

Deprecated

  • The InterceptorFilter type in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc is deprecated. (#5196)

What's Changed

  • build(deps): bump lycheeverse/lychee-action from 1.9.3 to 1.10.0 by @dependabot in #5436
  • build(deps): bump github.com/aws/aws-sdk-go from 1.51.25 to 1.51.30 in /detectors/aws/ec2 by @dependabot in #5435
  • Add update-all-otel-deps target in Makefile by @XSAM in #5434
  • build(deps): bump github.com/golangci/golangci-lint from 1.57.2 to 1.58.0 in /tools by @dependabot in #5441
  • build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 by @dependabot in #5445
  • autoexport: Add OTEL_METRICS_PRODUCERS environment variable support by @gouthamve in #5281
  • Fix changelog for #5281 by @pellared in #5450
  • processors/baggage: add baggage span processor by @codeboten in #5404
  • Configure Renovate by @renovate in #4579
  • chore(deps): update module github.com/gabriel-vasile/mimetype to v1.4.3 by @renovate in #5462
  • [chore] Renovate to add Skip Changelog label by @pellared in #5464
  • chore(deps): update module github.com/golang/snappy to v0.0.4 by @renovate in #5465
  • chore(deps): update module github.com/mattn/go-isatty to v0.0.20 by @renovate in #5467
  • chore(deps): update module github.com/klauspost/cpuid/v2 to v2.2.7 by @renovate in #5466
  • chore(deps): update module google.golang.org/appengine to v1.6.8 by @renovate in #5470
  • chore(deps): update module github.com/go-macaron/inject to v0.0.0-20200308113650-138e5925c53b by @renovate in #5471
  • chore(deps): update module github.com/tklauser/go-sysconf to v0.3.14 by @renovate in #5468
  • chore(deps): update module github.com/ugorji/go/codec to v1.2.12 by @renovate in #5469
  • chore(deps): update module github.com/golang/groupcache to v0.0.0-20210331224755-41bb18bfe9da by @renovate in #5472
  • chore(deps): update module google.golang.org/genproto to v0.0.0-20240506185236-b8a5c65736ae by @renovate in #5476
  • chore(deps): update module github.com/lufia/plan9stats to v0.0.0-20240408141607-282e7b5d6b74 by @renovate in #5473
  • chore(deps): update module github.com/power-devops/perfstat to v0.0.0-20240221224432-82ca36839d55 by @renovate in #5474
  • chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240506185236-b8a5c65736ae by @renovate in #5477
  • build(deps): bump go.opentelemetry.io/contrib/bridges/prometheus from 0.50.0 to 0.51.0 in /exporters/autoexport by @dependabot in #5460
  • chore(deps): update module k8s.io/kube-openapi to v0.0.0-20240430033511-f0e62f92d13f by @renovate in #5478
  • chore(deps): update module github.com/bytedance/sonic to v1.11.6 by @renovate in #5479
  • fix(deps): update module github.com/shirou/gopsutil/v3 to v3.24.4 by @renovate in #5482
  • build(deps): bump golang.org/x/tools from 0.20.0 to 0.21.0 in /tools by @dependabot in #5458
  • fix(deps): update opentelemetry-go monorepo to v1.26.0 by @renovate in #5486
  • chore(deps): update module k8s.io/utils to v0.0.0-20240502163921-fe8a2dddb1d0 by @renovate in #5480
  • fix(deps): update module golang.org/x/exp to v0.0.0-20240506185415-9bf2ced13842 by @renovate in #5487
  • fix(deps): update module github.com/brunoscheufler/aws-ecs-metadata-go to v0.0.0-20221221133751-67e37ae746cd by @renovate in #5481
  • fix(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240506185236-b8a5c65736ae by @renovate in #5488
  • build(deps): bump go.opentelemetry.io/collector/pdata from 1.5.0 to 1.7.0 in /exporters/autoexport by @dependabot in #5459
  • chore(deps): update go-openapi packages by @renovate in #5489
  • chore(deps): update golang docker tag to v1.22 by @renovate in #5490
  • chore(deps): update module github.com/go-ole/go-ole to v1.3.0 by @renovate in #5492
  • chore(deps): update module github.com/cespare/xxhash/v2 to v2.3.0 by @renovate in #5491
  • chore(deps): update module github.com/go-playground/validator/v10 to v10.20.0 by @renovate in #5495
  • chore(deps): update module github.com/google/uuid to v1.6.0 by @renovate in #5497
  • chore(deps): update module github.com/klauspost/compress to v1.17.8 by @renovate in #5498
  • chore(deps): update module github.com/pelletier/go-toml/v2 to v2.2.2 by @renovate in #5500
  • fix(deps): update module github.com/gin-gonic/gin to v1.10.0 by @renovate in #5518
  • chore(deps): update module github....
Read more

Release v1.26.0/v0.51.0/v0.20.0/v0.6.0/v0.1.0

24 Apr 16:40
v1.26.0
8c7c4de
Compare
Choose a tag to compare

Added

  • NewSDK in go.opentelemetry.io/contrib/config now returns a configured SDK with a valid MeterProvider. (#4804)

Changed

  • Change the scope name for the prometheus bridge to go.opentelemetry.io/contrib/bridges/prometheus to match the package. (#5396)

Fixed

  • Fix bug where an empty exemplar was added to counters in go.opentelemetry.io/contrib/bridges/prometheus. (#5395)
  • Fix bug where the last histogram bucket was missing in go.opentelemetry.io/contrib/bridges/prometheus. (#5395)

Full Changelog: v1.25.0...v1.26.0