Release v1.28.0/v0.53.0/v0.22.0/v0.8.0/v0.3.0/v0.1.0
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
) ingo.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 ofgo.opentelemetry.io/contrib/processors/baggage/baggagetrace
. (#5824)
Changed
- Improve performance of
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
with the usage ofWithAttributeSet()
instead ofWithAttribute()
. (#5664) - Improve performance of
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
with the usage ofWithAttributeSet()
instead ofWithAttribute()
. (#5664) - Update
go.opentelemetry.io/contrib/config
to latest released configuration schema which introduces breaking changes whereAttributes
is now amap[string]interface{}
. (#5758) - Upgrade all dependencies of
go.opentelemetry.io/otel/semconv/v1.25.0
togo.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 ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
when the response writer is flushed. (#5634) - Use
c.FullPath()
method to sethttp.route
attribute ingo.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 addedgo.opentelemetry.io/contrib/processors/baggagecopy
package instead. (#5824)- Use
baggagecopy.NewSpanProcessor
as a replacement forbaggagetrace.New
.NewSpanProcessor
accepts aFitler
function type that selects which baggage members are added to a span.NewSpanProcessor
returns a*baggagecopy.SpanProcessor
instead of atrace.SpanProcessor
interface.
The returned type still implements the interface.
- Use
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 @renovate in #5675
- otelzap: Implement methods on
arrayEncoder
by @khushijain21 in #5652 - fix(deps): update module github.com/emicklei/go-restful/v3 to v3.12.1 by @renovate in #5679
- fix: custom attributes are ignored - #5084 by @zailic in #5129
- Use more efficient
WithAttributeSet()
by @ash2k in #5664 - fix(deps): update golang.org/x/tools digest to e229045 by @renovate in #5674
- fix(deps): update golang.org/x/exp digest to 23cca88 by @renovate in #5677
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to v1.32.6 by @renovate in #5678
- Use passthrough resolver when bufnet is used by @ash2k in #5676
- Add link to codeowners policy in codeowners file by @dmathieu in #5680
- [chore] ensure codecov uses token by @codeboten in #5687
- fix(deps): update golang.org/x/tools digest to 8d54ca1 by @renovate in #5685
- fix(deps): update module github.com/aws/aws-sdk-go to v1.53.12 by @renovate in #5684
- fix(deps): update golang.org/x/tools digest to 2e977dd by @renovate in #5689
- fix: OTEL_TRACES_EXPORTER typo by @sysulq in #5686
- Add otelhttp Handler.ServeHTTP and Transport.RoundTrip benchmarks by @dmathieu in #5681
- Add codespell to CI by @SequoiaGod in #5683
- [chore] Fix renovate config by @pellared in #5694
- otelzap: Implement With method by @khushijain21 in #5653
- fix(deps): update module github.com/aws/aws-sdk-go to v1.53.13 by @renovate in #5691
- otelzap: Implement methods on encoder by @khushijain21 in #5665
- chore(deps): update module github.com/prometheus/procfs to v0.15.1 by @renovate in #5696
- fix(deps): update golang.org/x/exp digest to 404ba88 by @renovate in #5695
- Add @pyohannes as owner of EC2/ECS/EKS AWS detectors by @MrAlias in #5656
- fix(deps): update golang.org/x/exp digest to fd00a4e by @renovate in #5697
- fix(deps): update golang.org/x/tools digest to 2f8e378 by @renovate in #5690
- fix(deps): update golang.org/x/tools digest to cc29c91 by @renovate in #5698
- fix(deps): update golang.org/x/tools digest to 58cc8a4 by @renovate in #5708
- fix(deps): update module github.com/shirou/gopsutil/v3 to v3.24.5 by @renovate in #5701
- fix(deps): update golang.org/x/tools digest to 018d3b2 by @renovate in #5710
- chore(deps): update module github.com/go-playground/validator/v10 to v10.21.0 by @renovate in #5705
- fix(deps): update module github.com/aws/aws-sdk-go to v1.53.14 by @renovate in #5699
- chore(deps): update module github.com/prometheus/common to v0.54.0 by @renovate in #5709
- fix(deps): update golang.org/x/tools digest to 4478db0 by @renovate in #5711
- fix(deps): update module github.com/aws/aws-sdk-go to v1.53.15 by @renovate in #5713
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #5714
- fix(deps): update golang.org/x/tools digest to cc29c91 by @renovate in #5715
- otelzap: Allow context injection via fields by @khushijain21 in #5707
- fix(deps): update golang.org/x/tools digest to 5e43887 by @renovate in #5716
- chore(deps): update module golang.org/x/net to v0.26.0 by @renovate in #5725
- Add support to configure views with config.NewSdk by @bogdandrutu in #5654
- otelzap: Implement Reflect method by @khushijain21 in #5703
- Add @akats7 as a Code Owner by @MrAlias in #5712
- Bump Go version used in CI by @MrAlias in #5735
- fix(deps): update golang.org/x/exp digest to fc45aab by @renovate in #5727
- chore(deps): update module golang.org/x/crypto to v0.24.0 by @renovate in #5722
- chore(deps): update module golang.org/x/sys to v0.21.0 by @renovate in #5731
- chore(deps): update module golang.org/x/mod to v0.18.0 by @renovate in #5723
- fix(deps): update module github.com/aws/aws-sdk-go to v1.53.16 by @renovate in #5724
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to ef581f9 by @renovate in #5726
- chore(deps): update module golang.org/x/oauth2 to v0.21.0 by @renovate in #5729
- fix(deps): update google.golang.org/genproto/googleapis/api digest to ef581f9 by @renovate in #5728
- fix(deps): update module golang.org/x/tools to v0.22.0 by @renovate in #5738
- otelgin: Using
c.FullPath()
to sethttp.route
attribute by @NeoCN in #5734 - baggagetrace: Add baggage key predicate by @MikeGoldsmith in #5619
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #5740
- fix(deps): update module github.com/aws/aws-sdk-go to v1.53.18 by @renovate in #5739
- fix(deps): update module github.com/googlecloudplatform/opentelemetry-operations-go/detectors/gcp to v1.24.0 by @renovate in #5744
- fix(deps): update module golang.org/x/vuln to v1.1.2 by @renovate in #5742
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #5745
- fix(deps): update module github.com/aws/aws-sdk-go to v1.53.20 by @renovate in #5746
- fix(deps): update module github.com/golangci/golangci-lint to v1.59.1 by @renovate in #5748
- chore(deps): update module github.com/klauspost/cpuid/v2 to v2.2.8 by @renovate in #5750
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to a8a6208 by @renovate in #5751
- fix(deps): update google.golang.org/genproto/googleapis/api digest to a8a6208 by @renovate in #5752
- chore(deps): update module google.golang.org/protobuf to v1.34.2 by @renovate in #5755
- feat: add log support for autoexport by @sysulq in #5733
- Fix otelhttptrace example to avoid duplicating the generated data by @dmathieu in #5564
- Prepare for migration to new runtime metrics by @dashpole in #5747
- HTTP Semconv migration Part3 Server - v1.24.0 support by @MadVikingGod in #5401
- Fix broken link by @MrAlias in #5767
- Add a resource detector for Azure VMs by @pyohannes in #5422
- chore(deps): update codecov/codecov-action action to v4.5.0 by @renovate in #5763
- fix(deps): update module github.com/aws/aws-sdk-go to v1.54.2 by @renovate in #5756
- fix(deps): update module go.opentelemetry.io/proto/otlp to v1.3.1 by @renovate in #5757
- chore(deps): update module github.com/go-playground/validator/v10 to v10.22.0 by @renovate in #5759
- chore(deps): update module github.com/klauspost/compress to v1.17.9 by @renovate in #5760
- fix(deps): update golang.org/x/exp digest to 7f521ea by @renovate in #5764
- fix(deps): update module go.mongodb.org/mongo-driver to v1.15.1 by @renovate in #5766
- chore(deps): update module github.com/go-logr/logr to v1.4.2 by @renovate in #5768
- chore(deps): update module golang.org/x/sys to v0.21.0 by @renovate in #5770
- config: add support for logger provider configuration by @codeboten in #5427
- fix(deps): update module go.opentelemetry.io/otel/sdk to v1.27.0 by @renovate in #5772
- chore(deps): update module k8s.io/klog/v2 to v2.130.0 by @renovate in #5771
- fix(deps): update module github.com/shirou/gopsutil/v3 to v4 by @renovate in #5702
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 68d350f by @renovate in #5774
- fix(deps): update google.golang.org/genproto/googleapis/api digest to 68d350f by @renovate in #5775
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #5776
- fix(deps): update module github.com/aws/aws-sdk-go to v1.54.3 by @renovate in #5777
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.10.0 by @renovate in #5779
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #5783
- fix(deps): update module github.com/aws/aws-sdk-go to v1.54.4 by @renovate in #5781
- otelzap: Implement namespace method by @khushijain21 in #5721
- chore(deps): update module k8s.io/klog/v2 to v2.130.1 by @renovate in #5788
- chore(deps): update module github.com/bytedance/sonic to v1.11.9 by @renovate in #5785
- fix(deps): update module github.com/aws/aws-sdk-go to v1.54.5 by @renovate in #5786
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #5787
- chore(deps): update k8s.io/kube-openapi digest to b456828 by @renovate in #5791
- fix(deps): update module github.com/aws/aws-sdk-go to v1.54.6 by @renovate in #5792
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to v1.33.2 by @renovate in #5793
- Update project approvers by @MrAlias in #5778
- Do not fail CI on codecov create report by @MrAlias in #5794
- Remove pdata dependency and use proto-go instead by @dmathieu in #5789
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to dc46fd2 by @renovate in #5798
- fix(deps): update google.golang.org/genproto/googleapis/api digest to dc46fd2 by @renovate in #5799
- otelzap: Add severity text to log record by @thomasgouveia in #5797
- otelzap: Add Benchmarks by @khushijain21 in #5784
- Add unconvert linter by @dmathieu in #5802
- Add unparam linter by @dmathieu in #5803
- Add tenv linter by @dmathieu in #5801
- fix(deps): update module github.com/aws/aws-sdk-go to v1.54.8 by @renovate in #5800
- chore(deps): update module github.com/prometheus/common to v0.55.0 by @renovate in #5806
- Fix panic caused by invalid spanId with b3 propagator by @Cirilla-zmh in #5754
- config: update schema to v0.2.0 by @codeboten in #5758
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #5814
- fix(deps): update module github.com/aws/aws-sdk-go to v1.54.9 by @renovate in #5815
- otelzap: add testable example and package documentation by @thomasgouveia in #5805
- Add errorlint linter by @dmathieu in #5804
- Rename BaggageKeyPredicate to Filter by @MrAlias in #5809
- Return
SpanProcessor
ptr nottrace.SpanProcessor
frombaggagetrace.New
by @MrAlias in #5810 - Do not panic for empty
baggagetrace.SpanProcessor
by @MrAlias in #5811 - Do not alias baggage import by @MrAlias in #5812
- Change BaggageKeyPredicate to filter baggage Members by @MrAlias in #5813
- fix(deps): update module go.mongodb.org/mongo-driver to v1.16.0 by @renovate in #5821
- fix(deps): update module github.com/aws/aws-sdk-go to v1.54.10 by @renovate in #5820
- fix(deps): update module github.com/aws/smithy-go to v1.20.3 by @renovate in #5822
- Add comment to the safety of the uint8 cast by @MadVikingGod in #5819
- fix(deps): update module github.com/shirou/gopsutil/v4 to v4.24.6 by @renovate in #5827
- exporters/autoexport: add support for signal-specific protocols environment variables by @thomasgouveia in #5816
- Replace and deprecate
baggagetrace
by @MrAlias in #5824 - Add the minsev package by @MrAlias in #5817
- chore(deps): update module github.com/go-logr/logr to v1.4.2 by @renovate in #5832
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to f6361c8 by @renovate in #5828
- fix(deps): update google.golang.org/genproto/googleapis/api digest to f6361c8 by @renovate in #5829
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #5825
- fix(deps): update module github.com/aws/aws-sdk-go to v1.54.11 by @renovate in #5826
- chore(deps): update module golang.org/x/sys to v0.21.0 by @renovate in #5833
- fix(deps): update go.opentelemetry.io/contrib/processors/baggagecopy digest to 6294bb1 by @renovate in #5831
- fix(deps): update module github.com/aws/aws-sdk-go to v1.54.12 by @renovate in #5834
- fix(deps): update module cloud.google.com/go/compute/metadata to v0.4.0 by @renovate in #5835
- Revert toolchain addition to autoexport by @MrAlias in #5841
- fix(deps): update module google.golang.org/grpc to v1.65.0 by @renovate in #5837
- Remove
otelmongo
deprecation while we onboard a Code Owner by @MrAlias in #5840 - fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.58.0 by @renovate in #5844
- Upgrade Go versions in CI by @MrAlias in #5845
- Add @XSAM and @dmathieu as repository maintainers by @MrAlias in #5838
- fix(deps): update module github.com/aws/aws-sdk-go to v1.54.13 by @renovate in #5843
- Release v1.28.0/v0.53.0/v0.22.0/v0.8.0/v0.3.0/v0.1.0 by @MrAlias in #5847
New Contributors
- @zailic made their first contribution in #5129
- @sysulq made their first contribution in #5686
- @SequoiaGod made their first contribution in #5683
- @NeoCN made their first contribution in #5734
- @pyohannes made their first contribution in #5422
- @thomasgouveia made their first contribution in #5797
- @Cirilla-zmh made their first contribution in #5754
Full Changelog: v1.27.0...v1.28.0