configrpc: Use own compressors for zstd (#10323)
Before this change, the zstd compressor we used didn't respect the max message size. This addresses CVE-2024-36129 (GHSA-c74f-6mfw-mm4v) on configgrpc.
This release addresses GHSA-c74f-6mfw-mm4v for confighttp. Use v0.102.1 instead to get the fix on configgrpc as well.
End User Changelog
π Breaking changes π
envprovider: Restricts Environment Variable names. Environment variable names must now be ASCII only and start with a letter or an underscore, and can only contain underscores, letters, or numbers. (#9531)
confighttp: Apply MaxRequestBodySize to the result of a decompressed body (#10289)
When using compressed payloads, the Collector would verify only the size of the compressed payload.
This change applies the same restriction to the decompressed content. As a security measure, a limit of 20 MiB was added, which makes this a breaking change. This addresses CVE-2024-36129 (GHSA-c74f-6mfw-mm4v) on confighttp.
For most clients, this shouldn't be a problem, but if you often have payloads that decompress to more than 20 MiB, you might want to either configure your
client to send smaller batches (recommended), or increase the limit using the MaxRequestBodySize option.
π‘ Enhancements π‘
mdatagen: auto-generate utilities to test component telemetry (#19783)
mdatagen: support setting an AttributeSet for async instruments (#9674)
mdatagen: support using telemetry level in telemetry builder (#10234)
This allows components to set the minimum level needed for them to produce telemetry. By default, this is set to configtelemetry.LevelBasic. If the telemetry level is below that minimum level, then the noop meter is used for metrics.
mdatagen: add support for bucket boundaries for histograms (#10218)
releases: add documentation in how to verify the image signatures using cosign (#9610)
π§° Bug fixes π§°
batchprocessor: ensure attributes are set on cardinality metadata metric (#9674)
batchprocessor: Fixing processor_batch_metadata_cardinality which was broken in v0.101.0 (#10231)
batchprocessor: respect telemetry level for all metrics (#10234)
exporterhelper: Fix potential deadlocks in BatcherSender shutdown (#10255)
Go API Changelog
π Breaking changes π
otelcol: Remove deprecated ConfigProvider field from CollectorSettings (#10281)
configrpc: Use own compressors for zstd (#10323)
Before this change, the zstd compressor we used didn't respect the max message size. This addresses CVE-2024-36129 (GHSA-c74f-6mfw-mm4v) on configgrpc.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the otel group with 2 updates in the / directory: go.opentelemetry.io/collector/consumer and go.opentelemetry.io/collector/semconv.
Updates
go.opentelemetry.io/collector/consumer
from 0.101.0 to 0.102.1Release notes
Sourced from go.opentelemetry.io/collector/consumer's releases.
Changelog
Sourced from go.opentelemetry.io/collector/consumer's changelog.
Commits
7218b4c
prepare release 0.102.1 (#10326)10e89bd
[configgrpc] Use own compressors for zstd (#10323) (#10324)0ab388b
[chore] update go to 1.21.11/1.22.4 (#10321) (#10325)5cbf8be
[chore] Prepare release v1.9.0/v0.102.0 (#10293)7dbaebb
[confighttp] Apply MaxRequestBodySize to the result of a decompressed body (#...ed767dc
[service] remove deprecated Telemetry struct and New func (#10285)e07b297
[chore] remove deprecated LoadTLSConfigContext methods (#10284)c30b294
[chore] remove deprecated types (#10283)b6510d0
[otelcol] Removed deprecatedConfigProvider
field from settings (#10281)d55d042
[chore] remove TODO from confmap code (#10278)Updates
go.opentelemetry.io/collector/pdata
from 1.8.0 to 1.9.0Release notes
Sourced from go.opentelemetry.io/collector/pdata's releases.
... (truncated)
Changelog
Sourced from go.opentelemetry.io/collector/pdata's changelog.
Commits
5cbf8be
[chore] Prepare release v1.9.0/v0.102.0 (#10293)7dbaebb
[confighttp] Apply MaxRequestBodySize to the result of a decompressed body (#...ed767dc
[service] remove deprecated Telemetry struct and New func (#10285)e07b297
[chore] remove deprecated LoadTLSConfigContext methods (#10284)c30b294
[chore] remove deprecated types (#10283)b6510d0
[otelcol] Removed deprecatedConfigProvider
field from settings (#10281)d55d042
[chore] remove TODO from confmap code (#10278)4bbb604
[chore] Remove redundant wait group from a test (#10269)1749a8f
Revert "[chore] use mdatagen to generate service metrics (#10160)" (#10271)ff6f029
[exporterhelper] Fix potential deadlocks in BatcherSender shutdown (#10258)Updates
go.opentelemetry.io/collector/semconv
from 0.101.0 to 0.102.1Release notes
Sourced from go.opentelemetry.io/collector/semconv's releases.
Changelog
Sourced from go.opentelemetry.io/collector/semconv's changelog.
Commits
7218b4c
prepare release 0.102.1 (#10326)10e89bd
[configgrpc] Use own compressors for zstd (#10323) (#10324)0ab388b
[chore] update go to 1.21.11/1.22.4 (#10321) (#10325)5cbf8be
[chore] Prepare release v1.9.0/v0.102.0 (#10293)7dbaebb
[confighttp] Apply MaxRequestBodySize to the result of a decompressed body (#...ed767dc
[service] remove deprecated Telemetry struct and New func (#10285)e07b297
[chore] remove deprecated LoadTLSConfigContext methods (#10284)c30b294
[chore] remove deprecated types (#10283)b6510d0
[otelcol] Removed deprecatedConfigProvider
field from settings (#10281)d55d042
[chore] remove TODO from confmap code (#10278)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show