stats/opentelemetry/csm: Get mesh_id local label from "CSM_MESH_ID" environment variable, rather than parsing from bootstrap file (#7740)
orca (experimental): if using an ORCA listener, it must now be registered only on a READY SubConn, and the listener will automatically be stopped when the connection is lost. (#7663)
client: ClientConn.Close() now closes transports simultaneously and waits for transports to be closed before returning. (#7666)
credentials: TLS credentials created via NewTLS that use tls.Config.GetConfigForClient will now have CipherSuites, supported TLS versions and ALPN configured automatically. These were previously only set for configs not using the GetConfigForClient option. (#7709)
Bug Fixes
transport: prevent deadlock in client transport shutdown when writing the GOAWAY frame hangs. (#7662)
mem: reuse buffers more accurately by using slice capacity instead of length (#7702)
status: Fix regression caused by #6919 in status.Details() causing it to return a wrapped type when getting proto messages generated with protoc-gen-go < v1. (#7724)
Dependencies
Bump minimum supported Go version to go1.22.7. (#7624)
Release 1.67.1
Bug Fixes
transport: Fix a bug causing stream failures due to miscalculation of the flow control window in both clients and servers. (#7667)
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)
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
v1.20.2
[BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #1596
[BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. #1587
v1.20.0
Thanks everyone for contributions!
:warning: In this release we remove one (broken anyway, given Go runtime changes) metric and add three new (representing GOGC, GOMEMLIMIT and GOMAXPROCS flags) to the default collectors.NewGoCollector() collector. Given its popular usage, expect your binary to expose two additional metric.
Changes
[CHANGE] :warning: go-collector: Remove go_memstat_lookups_total metric which was always 0; Go runtime stopped sharing pointer lookup statistics. #1577
[FEATURE] :warning: go-collector: Add 3 default metrics: go_gc_gogc_percent, go_gc_gomemlimit_bytes and go_sched_gomaxprocs_threads as those are recommended by the Go team. #1559
[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact runtime/metrics sourcing each metric (if relevant). #1568#1578
[BUGFIX] testutil: Reverted #1424; functions using compareMetricFamilies are (again) only failing if filtered metricNames are in the expected input.
1.20.4 / 2024-09-07
[BUGFIX] histograms: Fix possible data race when appending exemplars vs metrics gather. #1623
1.20.3 / 2024-09-05
[BUGFIX] histograms: Fix possible data race when appending exemplars. #1608
1.20.2 / 2024-08-23
[BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #1596
1.20.1 / 2024-08-20
[BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on linux machines. #1587
1.20.0 / 2024-08-14
[CHANGE] :warning: go-collector: Remove go_memstat_lookups_total metric which was always 0; Go runtime stopped sharing pointer lookup statistics. #1577
[FEATURE] :warning: go-collector: Add 3 default metrics: go_gc_gogc_percent, go_gc_gomemlimit_bytes and go_sched_gomaxprocs_threads as those are recommended by the Go team. #1559
[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact runtime/metrics sourcing each metric (if relevant). #1568#1578
[BUGFIX] promlint: Relax metric type in name linter rule. #1455
[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. #1480
[BUGFIX] breaking testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #1424 (reverted in 1.20.5)
1.19.0 / 2024-02-27
The module prometheus/common v0.48.0 introduced an incompatibility when used together with client_golang (See prometheus/client_golang#1448 for more details). If your project uses client_golang and you want to use prometheus/common v0.48.0 or higher, please update client_golang to v1.19.0.
[CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #1445#1449
[FEATURE] collectors: Add version collector. #1422#1427
1.18.0 / 2023-12-22
[FEATURE] promlint: Allow creation of custom metric validations. #1311
[FEATURE] Go programs using client_golang can be built in wasip1 OS. #1350
[BUGFIX] histograms: Add timer to reset ASAP after bucket limiting has happened. #1367
[BUGFIX] testutil: Fix comparison of metrics with empty Help strings. #1378
[ENHANCEMENT] Improved performance of MetricVec.WithLabelValues(...). #1360
... (truncated)
Commits
48e12a1 Merge pull request #1645 from prometheus/cut-1204-pr1424
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)
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)
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)
Add go.opentelemetry.io/otel/sdk/metric/exemplar.AlwaysOffFilter, which can be used to disable exemplar recording. (#5850)
Add go.opentelemetry.io/otel/sdk/metric.WithExemplarFilter, which can be used to configure the exemplar filter used by the metrics SDK. (#5850)
Add ExemplarReservoirProviderSelector and DefaultExemplarReservoirProviderSelector to go.opentelemetry.io/otel/sdk/metric, which defines the exemplar reservoir to use based on the aggregation of the metric. (#5861)
Add ExemplarReservoirProviderSelector to go.opentelemetry.io/otel/sdk/metric.Stream to allow using views to configure the exemplar reservoir to use for a metric. (#5861)
Add ReservoirProvider, HistogramReservoirProvider and FixedSizeReservoirProvider to go.opentelemetry.io/otel/sdk/metric/exemplar to make it convenient to use providers of Reservoirs. (#5861)
The go.opentelemetry.io/otel/semconv/v1.27.0 package.
The package contains semantic conventions from the v1.27.0 version of the OpenTelemetry Semantic Conventions. (#5894)
Add Attributes attribute.Set field to Scope in go.opentelemetry.io/otel/sdk/instrumentation. (#5903)
Add Attributes attribute.Set field to ScopeRecords in go.opentelemetry.io/otel/log/logtest. (#5927)
go.opentelemetry.io/otel/exporters/prometheus adds instrumentation scope attributes in otel_scope_info metric as labels. (#5932)
Changed
Support scope attributes and make them as identifying for Tracer in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/trace. (#5924)
Support scope attributes and make them as identifying for Meter in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/metric. (#5926)
Support scope attributes and make them as identifying for Logger in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/log. (#5925)
Make schema URL and scope attributes as identifying for Tracer in go.opentelemetry.io/otel/bridge/opentracing. (#5931)
Clear unneeded slice elements to allow GC to collect the objects in go.opentelemetry.io/otel/sdk/metric and go.opentelemetry.io/otel/sdk/trace. (#5804)
Fixed
Global MeterProvider registration unwraps global instrument Observers, the undocumented Unwrap() methods are now private. (#5881)
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc now keeps the metadata already present in the context when WithHeaders is used. (#5892)
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc now keeps the metadata already present in the context when WithHeaders is used. (#5911)
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc now keeps the metadata already present in the context when WithHeaders is used. (#5915)
Fix go.opentelemetry.io/otel/exporters/prometheus trying to add exemplars to Gauge metrics, which is unsupported. (#5912)
Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#5944)
Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#5944)
Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#5944)
Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#5944)
Fix incorrect metrics generated from callbacks when multiple readers are used in go.opentelemetry.io/otel/sdk/metric. (#5900)
Removed
Remove all examples under go.opentelemetry.io/otel/example as they are moved to Contrib repository. (#5930)
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-resizer/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
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.
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. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).
Bumps the github-dependencies group with 7 updates in the / directory:
0.22.0
0.24.0
0.23.0
0.26.0
1.65.0
1.68.0
1.19.1
1.20.5
0.55.0
0.60.1
0.53.0
0.57.0
0.6.0
0.8.0
Updates
golang.org/x/oauth2
from 0.22.0 to 0.24.0Commits
22134a4
README: don't recommend go get3e64809
x/oauth2: add Token.ExpiresIn16a9973
jwt: rename example to avoid vet errorb52af7d
endpoints: add GitLab DeviceAuthURLUpdates
golang.org/x/term
from 0.23.0 to 0.26.0Commits
b725e36
go.mod: update golang.org/x dependencies54df7da
README: don't recommend go get9d5441a
go.mod: update golang.org/x dependencies2f7b0dd
go.mod: update golang.org/x dependenciesf867b76
x/term: set missing VIRTUAL_TERMINAL_INPUT flag on WindowsUpdates
google.golang.org/grpc
from 1.65.0 to 1.68.0Release notes
Sourced from google.golang.org/grpc's releases.
... (truncated)
Commits
acba4d3
Change version to 1.68.0 (#7743)5363dca
credentials: Apply defaults to TLS configs provided through GetConfigForClien...056dc64
status: Fix status incompatibility introduced by #6919 and move non-regenerat...b79fb61
mem: use slice capacity instead of length, to determine whether to pool buffe...54841ef
stats/opentelemetry/csm: Get mesh_id local label from "CSM_MESH_ID" environme...ad81c20
pickfirstleaf: minor simplification to reconcileSubConnsLocked method (#7731)b850ea5
transport : wait for goroutines to exit before transport closes (#7666)00b9e14
pickfirst: New pick first policy for dualstack (#7498)18a4eac
testutils: add couple of log statements to the restartable listener type (#7716)fdc2ec2
xdsclient: deflake TestADS_ResourcesAreRequestedAfterStreamRestart (#7720)Updates
github.com/prometheus/client_golang
from 1.19.1 to 1.20.5Release notes
Sourced from github.com/prometheus/client_golang's releases.
... (truncated)
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
... (truncated)
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.1Release notes
Sourced from github.com/prometheus/common's releases.
... (truncated)
Commits
653e0fa
Update common Prometheus files (#701)0d2e2e5
Reload certificates even when no CA is used (#707)a9d2e3f
Merge pull request #705 from roidelapluie/sourcefilefdc50c7
promslog: Only log basename, not full pathdae848d
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_syncUpdates
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
from 0.53.0 to 0.57.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.
... (truncated)
Commits
519f10d
Release v1.32.0/v0.57.0/v0.26.0/v0.12.0/v0.7.0/v0.5.0/v0.4.0 (#6311)bb01131
fix(deps): update module google.golang.org/grpc to v1.68.0 (#6306)b559799
fix(deps): update aws-sdk-go-v2 monorepo (#6308)0beb27c
fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.15.0 ...4e7a11a
chore(deps): update module github.com/klauspost/cpuid/v2 to v2.2.9 (#6304)8e0db19
config: don't log an error on close (#6299)da04e2d
fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.15.0...f658e10
fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.15.0 (#...6b29ae8
chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.113...68e20fe
fix(deps): update aws-sdk-go-v2 monorepo (#6298)Updates
go.opentelemetry.io/otel
from 1.28.0 to 1.32.0Changelog
Sourced from go.opentelemetry.io/otel's changelog.
... (truncated)
Commits
7cfbd86
Release v1.32.0/v0.54.0/v0.8.0/v0.0.11 (#5960)2be617e
fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 51a56...6db18df
fix(deps): update module github.com/opentracing-contrib/go-grpc to v0.1.0 (#5...ef12bf8
chore(deps): update golang.org/x (#5957)85eb76f
Allow GC to collect unneeded slice elements (#5804)1492efa
Fix incorrect metrics getting generated from multiple readers ([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 msau42 for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
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.
@dependabot[bot]: The following test failed, say
/retest
to rerun all failed tests or/retest-required
to rerun all mandatory failed tests:/test pull-kubernetes-csi-external-resizer-unit
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.