We decided to revert the testutil change that made our util functions less error-prone, but created a lot of work for our downstream users. Apologies for the pain! This revert should not cause any major breaking change, even if you already did the work--unless you depend on the exact error message.
Going forward, we plan to reinforce our release testing strategy [1],[2] and deliver an enhanced testutil package/module with more flexible and safer APIs.
[BUGFIX] testutil: Reverted #1424; functions using compareMetricFamilies are (again) only failing if filtered metricNames are in the expected input. #1645
v1.20.4
[BUGFIX] histograms: Fix a possible data race when appending exemplars vs metrics gather. #1623
v1.20.3
[BUGFIX] histograms: Fix possible data race when appending exemplars. #1608
In accordance with RFC 7540, clients and servers will now reject TLS connections that don't support ALPN. This can be disabled by setting the environment variable GRPC_ENFORCE_ALPN_ENABLED to false (case insensitive). Please file a bug if you encounter any issues with this behavior. The environment variable to revert this behavior will be removed in an upcoming release. (#7535)
Release 1.66.3
Bug Fixes
transport: Fix a bug causing stream failures due to miscalculation of the flow control window in both clients and servers. (#7667)
balancer/rls: Add metrics for data cache and picker internals (#7484, #7495)
xds: LRS load reports now include the total_issued_requests field. (#7544)
Bug Fixes
grpc: Clients now return status code INTERNAL instead of UNIMPLEMENTED when the server uses an unsupported compressor. This is consistent with the gRPC compression spec. (#7461)
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)
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)
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)
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)
Add go.opentelemetry.io/otel/sdk/metric/exemplar package which includes Exemplar, Filter, TraceBasedFilter, AlwaysOnFilter, HistogramReservoir, FixedSizeReservoir, Reservoir, Value and ValueType types. These will be used for configuring the exemplar reservoir for the metrics sdk. (#5747, #5862)
Add WithExportBufferSize option to log batch processor.(#5877)
Changed
Enable exemplars by default in go.opentelemetry.io/otel/sdk/metric. Exemplars can be disabled by setting OTEL_METRICS_EXEMPLAR_FILTER=always_off (#5778)
Logger.Enabled in go.opentelemetry.io/otel/log now accepts a newly introduced EnabledParameters type instead of Record. (#5791)
FilterProcessor.Enabled in go.opentelemetry.io/otel/sdk/log/internal/x now accepts EnabledParameters instead of Record. (#5791)
The Record type in go.opentelemetry.io/otel/log is no longer comparable. (#5847)
Performance improvements for the trace SDK SetAttributes method in Span. (#5864)
Reduce memory allocations for the Event and Link lists in Span. (#5858)
Performance improvements for the trace SDK AddEvent, AddLink, RecordError and End methods in Span. (#5874)
Deprecated
Deprecate all examples under go.opentelemetry.io/otel/example as they are moved to Contrib repository. (#5854)
Fixed
The race condition for multiple FixedSize exemplar reservoirs identified in #5814 is resolved. (#5819)
Fix log records duplication in case of heterogeneous resource attributes by correctly mapping each log record to it's resource and scope. (#5803)
Fix timer channel drain to avoid hanging on Go 1.23. (#5868)
Fix delegation for global meter providers, and panic when calling otel.SetMeterProvider. (#5827)
Change the reflect.TypeOf to use a nil pointer to not allocate on the heap unless necessary. (#5827)
[1.30.0/0.52.0/0.6.0/0.0.9] 2024-09-09
Added
Support OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environments in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#5739)
The WithResource option for NewMeterProvider now merges the provided resources with the ones from environment variables. (#5773)
The WithResource option for NewLoggerProvider now merges the provided resources with the ones from environment variables. (#5773)
Add UTF-8 support to go.opentelemetry.io/otel/exporters/prometheus. (#5755)
Fixed
Fix memory leak in the global MeterProvider when identical instruments are repeatedly created. (#5754)
Fix panic on instruments creation when setting meter provider. (#5758)
Fix an issue where SetMeterProvider in go.opentelemetry.io/otel might miss the delegation for instruments and registries. (#5780)
Add go.opentelemetry.io/otel/sdk/metric/exemplar package which includes Exemplar, Filter, TraceBasedFilter, AlwaysOnFilter, HistogramReservoir, FixedSizeReservoir, Reservoir, Value and ValueType types. These will be used for configuring the exemplar reservoir for the metrics sdk. (#5747, #5862)
Add WithExportBufferSize option to log batch processor.(#5877)
Changed
Enable exemplars by default in go.opentelemetry.io/otel/sdk/metric. Exemplars can be disabled by setting OTEL_METRICS_EXEMPLAR_FILTER=always_off (#5778)
Logger.Enabled in go.opentelemetry.io/otel/log now accepts a newly introduced EnabledParameters type instead of Record. (#5791)
FilterProcessor.Enabled in go.opentelemetry.io/otel/sdk/log/internal/x now accepts EnabledParameters instead of Record. (#5791)
The Record type in go.opentelemetry.io/otel/log is no longer comparable. (#5847)
Performance improvements for the trace SDK SetAttributes method in Span. (#5864)
Reduce memory allocations for the Event and Link lists in Span. (#5858)
Performance improvements for the trace SDK AddEvent, AddLink, RecordError and End methods in Span. (#5874)
Deprecated
Deprecate all examples under go.opentelemetry.io/otel/example as they are moved to Contrib repository. (#5854)
Fixed
The race condition for multiple FixedSize exemplar reservoirs identified in #5814 is resolved. (#5819)
Fix log records duplication in case of heterogeneous resource attributes by correctly mapping each log record to it's resource and scope. (#5803)
Fix timer channel drain to avoid hanging on Go 1.23. (#5868)
Fix delegation for global meter providers, and panic when calling otel.SetMeterProvider. (#5827)
Change the reflect.TypeOf to use a nil pointer to not allocate on the heap unless necessary. (#5827)
[1.30.0/0.52.0/0.6.0/0.0.9] 2024-09-09
Added
Support OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environments in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#5739)
The WithResource option for NewMeterProvider now merges the provided resources with the ones from environment variables. (#5773)
The WithResource option for NewLoggerProvider now merges the provided resources with the ones from environment variables. (#5773)
Add UTF-8 support to go.opentelemetry.io/otel/exporters/prometheus. (#5755)
Fixed
Fix memory leak in the global MeterProvider when identical instruments are repeatedly created. (#5754)
Fix panic on instruments creation when setting meter provider. (#5758)
Fix an issue where SetMeterProvider in go.opentelemetry.io/otel might miss the delegation for instruments and registries. (#5780)
I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
- **[OWNERS](https://github.com/kubernetes-csi/external-snapshotter/blob/master/OWNERS)**
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
Bumps the github-dependencies group with 7 updates in the / directory:
1.20.2
1.20.5
0.55.0
0.60.0
1.65.0
1.67.1
1.34.2
1.35.1
1.17.9
1.17.11
0.54.0
0.56.0
0.6.0
0.7.0
Updates
github.com/prometheus/client_golang
from 1.20.2 to 1.20.5Release notes
Sourced from github.com/prometheus/client_golang's releases.
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
Commits
48e12a1
Merge pull request #1645 from prometheus/cut-1204-pr1424504ad9b
Cut 1.20.5; update comments.584a7ce
Revert "testutil compareMetricFamilies: make less error-prone (#1424)"05fcde9
Merge pull request #1623 from krajorama/data-race-in-histogram-write209f4c0
Add changelog1e398cc
native histogram: Fix race between Write and addExemplaref2f87e
Merge pull request #1620 from prometheus/arthursens/prepare-1.20.3937ac63
Add changelog entry for 1.20.36e9914d
Merge pull request #1608 from krajorama/index-out-of-range-native-histogram-e...d6b8c89
Update comments with more explanationsUpdates
github.com/prometheus/common
from 0.55.0 to 0.60.0Release notes
Sourced from github.com/prometheus/common's releases.
... (truncated)
Commits
dae848d
Update supported Go versions (#700)63ff77e
Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0 (#698)b7aa68c
Bump golang.org/x/net from 0.28.0 to 0.29.0 (#699)4e3a6fd
feat: addpromslog.NewNopLogger()
convenience func (#697)d66e745
promslog: use UTC timestamps for go-kit log style (#696)14bac55
Merge pull request #695 from prometheus/repo_sync8bc4cd5
Update common Prometheus files40d6251
Merge pull request #694 from jkroepke/slog/writerfa21dfd
Update common Prometheus files (#692)5f9af24
slog: expose io.WriterUpdates
google.golang.org/grpc
from 1.65.0 to 1.67.1Release notes
Sourced from google.golang.org/grpc's releases.
... (truncated)
Commits
3f95b38
Update version to 1.67.1 (#7682)4f6c5f2
xds/server: Fix xDS Server leak (#7664) (#7681)935f8cb
transport: Fix reporting of bytes read while reading headers (#7660) (#7667)02bbb65
Change version to 1.67.1-dev (#7605)6f50403
Change version to 1.67.0 (#7604)3c3a025
mem: replace flate.Reader reference (#7595) (#7637)3ffb98b
.*: fix revive lintsredefines-builtin-id
(#7552)5666049
vet: enforce revive linter (#7589)c6ad07f
protoc: regenerate protos (#7590)70f19ee
credentials/tls: default GRPC_ENFORCE_ALPN_ENABLED to true (#7535)Updates
google.golang.org/protobuf
from 1.34.2 to 1.35.1Updates
github.com/klauspost/compress
from 1.17.9 to 1.17.11Release notes
Sourced from github.com/klauspost/compress's releases.
Commits
72cd4a9
zstd: Fix extra CRC written with multiple Close calls (#1017)dbd6c38
s2: Don't use stack for index tables (#1014)f73ab1e
Do not set the content-type when response has no body (#1013)f2a4f25
build(deps): bump github/codeql-action in the github-actions group (#1012)8e14b1b
No content-type on no body response code (#1011)13a1ce6
ci: Match goreleaser version (#1009)6c5a195
Update README.md2a46d6b
Update README.md4dafca9
ci: Upgrade Go & other (#1008)26519f8
zstd: Improve memory usage on small streaming encodes (#1007)Updates
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
from 0.54.0 to 0.56.0Release notes
Sourced from go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc's releases.
... (truncated)
Changelog
Sourced from go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc's changelog.
Commits
9cf5701
Release v1.31.0/v0.56.0/v0.25.0/v0.11.0/v0.6.0/v0.4.0/v0.3.0 (#6243)d6305c0
chore(deps): update module github.com/klauspost/compress to v1.17.11 (#6232)09cbf41
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.65.3 (...c3c8538
Update otel core to the latest release (#6233)79bb705
otelecho: Add Code Owner and remove deprecation (#6207)45ba204
config: support v0.3 of the config schema (#6126)20e45af
Revert "chore(deps): update lycheeverse/lychee-action action to v2" (#6229)5322670
Remove otelmacaron (#6186)87d0229
feat(instrumentation/http/otelhttp): move client metrics creation into intern...900fc4b
Run the test compatibility check even if tests failed (#6224)Updates
go.opentelemetry.io/otel
from 1.29.0 to 1.31.0Changelog
Sourced from go.opentelemetry.io/otel's changelog.
Commits
bc2fe88
Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883)a7d5c1a
Add an option to configure the exporter buffer of the BatchProcessor (#5877)eb9279b
fix(deps): update golang.org/x/exp digest to f66d83c (#5880)6441653
Performance improvements for the trace SDK inSpan
. (#5874)8e9baf2
chore(deps): update lycheeverse/lychee-action action to v2 (#5878)8fbaa97
ReducenewEvictedQueueLink
andnewEvictedQueueEvent
memory allocations (#...4a911f9
chore(deps): update googleapis to 5fefd90 (#5876)98cbdcb
fix(deps): update module google.golang.org/protobuf to v1.35.1 (#5875)3cbd967
Performance improvements forrecordingSpan
SetAttributes
and `addOverCapA...9e791a6
fix(deps): update golang.org/x (#5872)Updates
go.opentelemetry.io/otel/metric
from 1.29.0 to 1.31.0Changelog
Sourced from go.opentelemetry.io/otel/metric's changelog.
Commits
bc2fe88
Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883)a7d5c1a
Add an option to configure the exporter buffer of the BatchProcessor (#5877)eb9279b
fix(deps): update golang.org/x/exp digest to f66d83c (#5880)6441653
Performance improvements for the trace SDK inSpan
. (#5874)Hi @dependabot[bot]. Thanks for your PR.
I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with
/ok-to-test
on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.Once the patch is verified, the new status will be reflected by the
ok-to-test
label.I understand the commands that are listed here.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: dependabot[bot] Once this PR has been reviewed and has the lgtm label, please assign saad-ali for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Superseded by #1175.