-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⬆️ Update module go.opentelemetry.io/collector/confmap to v0.107.0 #121
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #121 +/- ##
=======================================
Coverage 73.39% 73.39%
=======================================
Files 2 2
Lines 109 109
=======================================
Hits 80 80
Misses 20 20
Partials 9 9 ☔ View full report in Codecov by Sentry. |
9141e47
to
d9c79b4
Compare
cd076ff
to
5c75e52
Compare
ccdbc95
to
65721ec
Compare
1b4ad75
to
d3c3aea
Compare
c424925
to
7180682
Compare
Quality Gate passedIssues Measures |
7180682
to
f522b4a
Compare
f522b4a
to
ecd820d
Compare
0842442
to
82bd58f
Compare
82bd58f
to
df77bf8
Compare
df77bf8
to
df08717
Compare
df08717
to
2a610a7
Compare
2a610a7
to
17df9a6
Compare
17df9a6
to
d77ac80
Compare
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
d77ac80
to
d19bbb6
Compare
d19bbb6
to
9ecb1d1
Compare
9ecb1d1
to
4f45426
Compare
562410f
to
3a00c20
Compare
3a00c20
to
d0a6cc6
Compare
d0a6cc6
to
36bd8e2
Compare
36bd8e2
to
643b5e2
Compare
643b5e2
to
c8a439c
Compare
This PR contains the following updates:
v0.91.0
->v0.107.0
Release Notes
open-telemetry/opentelemetry-collector (go.opentelemetry.io/collector/confmap)
v0.107.0
Compare Source
🛑 Breaking changes 🛑
service
: Remove OpenCensus bridge completely, mark feature gate as stable. (#10414)confmap
: Set theconfmap.unifyEnvVarExpansion
feature gate to Stable. Expansion of$FOO
env vars is no longer supported. Use${FOO}
or${env:FOO}
instead. (#10508)service
: Removeotelcol
from Prometheus configuration. This means that any metric that isn't explicitly prefixed withotelcol_
no longer have that prefix. (#9759)💡 Enhancements 💡
mdatagen
: export ScopeName in internal/metadata package (#10845)This can be used by components that need to set their scope name manually. Will save component owners from having to store a variable, which may diverge from the scope name used by the component for emitting its own telemetry.
semconv
: Add v1.26.0 semantic conventions package (#10249, #10829)mdatagen
: Expose a setting on tests::host to set up your own host initialization code (#10765)Some receivers require a host that has additional capabilities such as exposing exporters.
For those, we can expose a setting that allows them to place a different host in the generated code.
confmap
: Allow using any YAML structure as a string when loading configuration. (#10800)Previous to this change, slices could not be used as strings in configuration.
ocb
: migrate build and release of ocb binaries to opentelemetry-collector-releases repository (#10710)ocb binaries will now be released under open-telemetry/opentelemetry-collector-releases tagged as "cmd/builder/vX.XXX.X"
semconv
: Add semantic conventions version v1.27.0 (#10837)client
: Mark module as stable. (#10775)🧰 Bug fixes 🧰
configtelemetry
: Add 10s read header timeout on the configtelemetry Prometheus HTTP server. (#5699)service
: Allow users to disable the tracer provider via the feature gateservice.noopTracerProvider
(#10858)The service is returning an instance of a SDK tracer provider regardless of whether there were any processors configured causing resources to be consumed unnecessarily.
processorhelper
: Fix processor metrics not being reported initially with 0 values. (#10855)service
: Implement thetemporality_preference
setting for internal telemetry exported via OTLP (#10745)configauth
: Fix unmarshaling of authentication in HTTP servers. (#10750)confmap
: If loading an invalid YAML string through a provider, use it verbatim instead of erroring out. (#10759)This makes the ${env:ENV} syntax closer to how ${ENV} worked before unifying syntaxes.
component
: Allow component names of up to 1024 characters in length. (#10816)confmap
: Remove original string representation if invalid. (#10787)v0.106.1
Compare Source
🧰 Bug fixes 🧰
configauth
: Fix unmarshaling of authentication in HTTP servers. (#10750)v0.106.0
Compare Source
🛑 Breaking changes 🛑
service
: Update all metrics to includeotelcol_
prefix to ensure consistency across OTLP and Prometheus metrics (#9759)This change is marked as a breaking change as anyone that was using OTLP for metrics will
see the new prefix which was not present before. Prometheus generated metrics remain
unchanged.
confighttp
: DeleteClientConfig.CustomRoundTripper
(#8627)Set (*http.Client).Transport on the *http.Client returned from ToClient to configure this.
confmap
: When passing configuration for a string field using any provider, use the verbatim string representation as the value. (#10605, #10405)This matches the behavior of
${ENV}
syntax prior to the promotion of theconfmap.unifyEnvVarExpansion
feature gateto beta. It changes the behavior of the
${env:ENV}
syntax with escaped strings.component
: Adds restrictions on the character set for component.ID name. (#10673)processor/memorylimiter
: The memory limiter processor will no longer account for ballast size. (#10696)If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.
extension/memorylimiter
: The memory limiter extension will no longer account for ballast size. (#10696)If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.
service
: The service will no longer be able to get a ballast size from the deprecated ballast extension. (#10696)If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.
🚀 New components 🚀
client
: Create a new go modulego.opentelemetry.io/collector/client
(#9804)This module contains generic representations of clients connecting to different receivers.
💡 Enhancements 💡
exporterhelper
: Add data_type attribute tootelcol_exporter_queue_size
metric to report the type of data being processed. (#9943)confighttp
: Add option to include query params in auth context (#4806)configgrpc
: gRPC auth errors now return gRPC status code UNAUTHENTICATED (16) (#7646)httpprovider, httpsprovider
: Validate URIs in HTTP and HTTPS providers before fetching. (#10468)🧰 Bug fixes 🧰
processorhelper
: update units for internal telemetry (#10647)confmap
: Increase the amount of recursion and URI expansions allowed in a single line (#10712)exporterhelper
: There is no guarantee that after the exporterhelper sends the plog/pmetric/ptrace data downstream that the data won't be mutated in some way. (e.g by the batch_sender) This mutation could result in the proceeding call to req.ItemsCount() to provide inaccurate information to be logged. (#10033)exporterhelper
: Update units for internal telemetry (#10648)receiverhelper
: Update units for internal telemetry (#10650)scraperhelper
: Update units for internal telemetry (#10649)service
: Use Command/Version to populate service name/version attributes (#10644)v0.105.0
Compare Source
🛑 Breaking changes 🛑
service
: addservice.disableOpenCensusBridge
feature gate which is enabled by default to remove the dependency on OpenCensus (#10414)confmap
: Promoteconfmap.strictlyTypedInput
feature gate to beta. (#10552)This feature gate changes the following:
field: ${env:ENV}
) for string-typed fields will use the value passed inENV
verbatim without intermediate type casting.💡 Enhancements 💡
configtls
: Mark module as stable. (#9377)confmap
: Remove extra closing parenthesis in sub-config error (#10480)configgrpc
: Update the default load balancer strategy to round_robin (#10319)To restore the behavior that was previously the default, set
balancer_name
topick_first
.cmd/builder
: Add go module info the builder generated code. (#10570)otelcol
: Add go module to components subcommand. (#10570)confmap
: Add explanation to errors related toconfmap.strictlyTypedInput
feature gate. (#9532)confmap
: Allow usingmap[string]any
values in string interpolation (#10605)🧰 Bug fixes 🧰
builder
: provide context when a module in the config is missing its gomod value (#10474)confmap
: Fixes issue where confmap could not escape$$
whenconfmap.unifyEnvVarExpansion
is enabled. (#10560)mdatagen
: fix generated comp test for extensions and unused imports in templates (#10477)otlpreceiver
: Fixes a bug where the otlp receiver's http response was not properly translating grpc error codes to http status codes. (#10574)exporterhelper
: Fix incorrect deduplication of otelcol_exporter_queue_size and otelcol_exporter_queue_capacity metrics if multiple exporters are used. (#10444)service/telemetry
: Add ability to set service.name for spans emitted by the Collector (#10489)internal/localhostgate
: Correctly log info message whencomponent.UseLocalHostAsDefaultHost
is enabled (#8510)v0.104.0
Compare Source
This release includes 2 very important breaking changes.
otlpreceiver
will now uselocalhost
by default instead of0.0.0.0
. This may break the receiver in containerized environments like Kubernetes. If you depend on0.0.0.0
disable thecomponent.UseLocalHostAsDefaultHost
feature gate or explicitly set the endpoint to0.0.0.0
.$FOO
will no longer be supported by default. If you depend on this syntax, disable theconfmap.unifyEnvVarExpansion
feature gate, but know that the feature will be removed in the future in favor of${env:FOO}
.🛑 Breaking changes 🛑
filter
: Remove deprecatedfilter.CombinedFilter
(#10348)otelcol
: By default,otelcol.NewCommand
andotelcol.NewCommandMustSetProvider
will set theDefaultScheme
toenv
. (#10435)expandconverter
: By default expandconverter will now error if it is about to expand$FOO
syntax. Update configuration to use${env:FOO}
instead or disable theconfmap.unifyEnvVarExpansion
feature gate. (#10435)otlpreceiver
: Switch tolocalhost
as the default for all endpoints. (#8510)Disable the
component.UseLocalHostAsDefaultHost
feature gate to temporarily get the previous default.💡 Enhancements 💡
confighttp
: Add support for cookies in HTTP clients withcookies::enabled
. (#10175)The method
confighttp.ToClient
will return a client with acookiejar.Jar
which will reuse cookies from server responses in subsequent requests.exporter/debug
: Innormal
verbosity, display one line of text for each telemetry record (log, data point, span) (#7806)exporter/debug
: Add optionuse_internal_logger
(#10226)configretry
: Mark module as stable. (#10279)debugexporter
: Print Span.TraceState() when present. (#10421)Enables viewing sampling threshold information (as by OTEP 235 samplers).
processorhelper
: Add "inserted" metrics for processors. (#10353)This includes the following metrics for processors:
processor_inserted_spans
processor_inserted_metric_points
processor_inserted_log_records
🧰 Bug fixes 🧰
otlpexporter
: Update validation to support both dns:// and dns:/// (#10449)service
: Fixed a bug that caused otel-collector to fail to start with ipv6 metrics endpoint service telemetry. (#10011)v0.103.0
Compare Source
🛑 Breaking changes 🛑
exporter/debug
: Disable sampling by default (#9921)To restore the behavior that was previously the default, set
sampling_thereafter
to500
.💡 Enhancements 💡
cmd/builder
: Allow settingotelcol.CollectorSettings.ResolverSettings.DefaultScheme
via the builder'sconf_resolver.default_uri_scheme
configuration option (#10296)mdatagen
: add support for optional internal metrics (#10316)otelcol/expandconverter
: Addconfmap.unifyEnvVarExpansion
feature gate to allow enabling Collector/Configuration SIG environment variable expansion rules. (#10391)When enabled, this feature gate will:
$FOO
)${FOO}
will be expanded as if it was `${env:FOO}See https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/env-vars.md for more details.
confmap
: Addconfmap.unifyEnvVarExpansion
feature gate to allow enabling Collector/Configuration SIG environment variable expansion rules. (#10259)When enabled, this feature gate will:
$FOO
)${FOO}
will be expanded as if it was `${env:FOO}See https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/env-vars.md for more details.
confighttp
: Allow the compression list to be overridden (#10295)Allows Collector administrators to control which compression algorithms to enable for HTTP-based receivers.
configgrpc
: Revert the zstd compression for gRPC to the third-party library we were using previously. (#10394)We switched back to our compression logic for zstd when a CVE was found on the third-party library we were using. Now that the third-party library has been fixed, we can revert to that one. For end-users, this has no practical effect. The reproducers for the CVE were tested against this patch, confirming we are not reintroducing the bugs.
confmap
: Adds alphaconfmap.strictlyTypedInput
feature gate that enables strict type checks during configuration resolution (#9532)When enabled, the configuration resolution system will:
confighttp
: Useconfighttp.ServerConfig
as part of zpagesextension. See server configuration options. (#9368)🧰 Bug fixes 🧰
exporterhelper
: Fix potential deadlock in the batch sender (#10315)expandconverter
: Fix bug where an warning was logged incorrectly. (#10392)exporterhelper
: Fix a bug when the retry and timeout logic was not applied with enabled batching. (#10166)exporterhelper
: Fix a bug where an unstarted batch_sender exporter hangs on shutdown (#10306)exporterhelper
: Fix small batch due to unfavorable goroutine scheduling in batch sender (#9952)confmap
: Fix issue where structs with only yaml tags were not marshaled correctly. (#10282)v0.102.1
Compare Source
This release addresses GHSA-c74f-6mfw-mm4v for
configgrpc
.🧰 Bug fixes 🧰
configrpc
: Use own compressors for zstd. Before this change, the zstd compressor we used didn't respect the max message size. This addresses GHSA-c74f-6mfw-mm4v forconfiggrpc
(#10323)v0.102.0
Compare Source
This release addresses GHSA-c74f-6mfw-mm4v for
confighttp
.🛑 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. This addresses GHSA-c74f-6mfw-mm4v forconfighttp
(#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.
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)v0.101.0
Compare Source
💡 Enhancements 💡
mdatagen
: generate documentation for internal telemetry (#10170)mdatagen
: add ability to use metadata.yaml to automatically generate instruments for components (#10054)The
telemetry
section in metadata.yaml is used to generateinstruments for components to measure telemetry about themselves.
confmap
: Allow Converters to write logs during startup (#10135)otelcol
: Enable logging during configuration resolution (#10056)🧰 Bug fixes 🧰
mdatagen
: Run package tests when goleak is skipped (#10125)v0.100.0
Compare Source
🛑 Breaking changes 🛑
service
: Thevalidate
sub-command no longer validates that each pipeline's type is the same as its component types (#10031)💡 Enhancements 💡
semconv
: Add support for v1.25.0 semantic convention (#10072)builder
: remove the need to go get a module to address ambiguous import paths (#10015)pmetric
: Support parsing metric.metadata from OTLP JSON. (#10026)🧰 Bug fixes 🧰
exporterhelper
: Fix enabled config option for batch sender (#10076)v0.99.0
Compare Source
🛑 Breaking changes 🛑
builder
: Add strict version checking when using the builder. Add the temporary flag--skip-strict-versioning
for skipping this check. (#9896)Strict version checking will error on major and minor version mismatches
between the
otelcol_version
configured and the builder version or versionsin the go.mod. This check can be temporarily disabled by using the
--skip-strict-versioning
flag. This flag will be removed in a future minor version.
telemetry
: Distributed internal metrics across different levels. (#7890)The internal metrics levels are updated along with reported metrics:
basic
tonormal
, which can be overridden withservice::telmetry::metrics::level
configuration.normal
level:processor_batch_batch_send_size
processor_batch_metadata_cardinality
processor_batch_timeout_trigger_send
processor_batch_size_trigger_send
detailed
level:💡 Enhancements 💡
confighttp
: Disable concurrency in zstd compression (#8216)cmd/builder
: Allow configuringconfmap.Provider
s in the builder. (#4759)If no providers are specified, the defaults are used.
The default providers are: env, file, http, https, and yaml.
To configure providers, use the
providers
key in your OCB buildmanifest with a list of Go modules for your providers.
The modules will work the same as other Collector components.
mdatagen
: enable goleak tests by default via mdatagen (#9959)cmd/mdatagen
: support excluding some metrics based on string and regexes in resource_attributes (#9661)cmd/mdatagen
: Generate config and factory tests covering their requirements. (#9940)The tests are moved from cmd/builder.
confmap
: AddProviderSettings
,ConverterSettings
,ProviderFactories
, andConverterFactories
fields toconfmap.ResolverSettings
(#9516)This allows configuring providers and converters, which are instantiated by
NewResolver
using the given factories.🧰 Bug fixes 🧰
exporter/otlp
: Allow DNS scheme to be used in endpoint (#4274)service
: fix record sampler configuration (#9968)service
: ensure the tracer provider is configured via go.opentelemetry.io/contrib/config (#9967)otlphttpexporter
: Fixes a bug that was preventing the otlp http exporter from propagating status. (#9892)confmap
: Fix decoding negative configuration values into uints (#9060)v0.98.0
Compare Source
🛑 Breaking changes 🛑
service
: emit internal collector metrics with _ instead of / with OTLP export (#9774)This is addressing an issue w/ the names of the metrics generated by the Collector for its
internal metrics. Note that this change only impacts users that emit telemetry using OTLP, which
is currently still in experimental support. The prometheus metrics already replaced
/
with_
and they will do the same with
_
.💡 Enhancements 💡
mdatagen
: Adds unsupported platforms to the README header (#9794)confmap
: Clarify the use of embedded structs to make unmarshaling composable (#7101)nopexporter
: Promote the nopexporter to beta (#7316)nopreceiver
: Promote the nopreceiver to beta (#7316)otlpexporter
: Checks for port in the config validation for the otlpexporter (#9505)service
: Validate pipeline type against component types (#8007)🧰 Bug fixes 🧰
configtls
: Fix issue whereIncludeSystemCACertsPool
was not consistently used betweenServerConfig
andClientConfig
. (#9835)component
: Fix issue where thecomponents
command wasn't properly printing the component type. (#9856)otelcol
: Fix issue where thevalidate
command wasn't properly printing valid component type. (#9866)receiver/otlp
: Fix bug where the otlp receiver did not properly respond with a retryable error code when possible for http (#9357)v0.97.0
Compare Source
🛑 Breaking changes 🛑
telemetry
: Remove telemetry.useOtelForInternalMetrics stable feature gate (#9752)🚀 New components 🚀
exporter/nop
: Add thenopexporter
to serve as a placeholder exporter in a pipeline (#7316)This is primarily useful for starting the Collector with only extensions enabled
or to test Collector pipeline throughput.
receiver/nop
: Add thenopreceiver
to serve as a placeholder receiver in a pipeline (#7316)This is primarily useful for starting the Collector with only extensions enabled.
💡 Enhancements 💡
configtls
: Validates TLS min_version and max_version (#9475)Introduces
Validate()
method in TLSSetting.configcompression
: Mark module as Stable. (#9571)cmd/mdatagen
: Use go package name for the scope name by default and add an option to provide the scope name in metadata.yaml. (#9693)cmd/mdatagen
: Generate the lifecycle tests for components by default. (#9683)It's encouraged to have lifecycle tests for all components enadled, but they can be disabled if needed
in metadata.yaml with
skip_lifecycle: true
andskip_shutdown: true
undertests
section.cmd/mdatagen
: optimize the mdatagen for the case like batchprocessor which use a common struct to implement consumer.Traces, consumer.Metrics, consumer.Logs in the meantime. (#9688)🧰 Bug fixes 🧰
exporterhelper
: Fix persistent queue size backup on reads. (#9740)processor/batch
: Prevent starting unnecessary goroutines. (#9739)otlphttpexporter
: prevent error on empty response body when content type is application/json (#9666)confmap
: confmap honorsUnmarshal
methods on config embedded structs. (#6671)otelcol
: Respect telemetry configuration when running as a Windows service (#5300)v0.96.0
Compare Source
🛑 Breaking changes 🛑
configgrpc
: Remove deprecatedGRPCClientSettings
,GRPCServerSettings
, andServerConfig.ToListenerContext
. (#9616)confighttp
: Remove deprecatedHTTPClientSettings
,NewDefaultHTTPClientSettings
, andCORSSettings
. (#9625)confignet
: Removes deprecatedNetAddr
andTCPAddr
(#9614)💡 Enhancements 💡
configtls
: Addinclude_system_ca_certs_pool
to configtls, allowing to load system certs and additional custom certs. (#7774)otelcol
: AddConfigProviderSettings
toCollectorSettings
(#4759)This allows passing a custom list of
confmap.Provider
s tootelcol.NewCommand
.pdata
: Update to OTLP v1.1.0 (#9587)Introduces Span and SpanLink flags.
confmap
: Update mapstructure to use a maintained fork, github.com/go-viper/mapstructure/v2. (#9634)https://github.com/mitchellh/mapstructure/issues/349/349 for context.
🧰 Bug fixes 🧰
configretry
: Allow max_elapsed_time to be set to 0 for indefinite retries (#9641)client
: MakeMetadata.Get
thread safe (#9595)v0.95.0
Compare Source
🛑 Breaking changes 🛑
all
: scope name for all generated Meter/Tracer funcs now includes full package name (#9494)💡 Enhancements 💡
confighttp
: Adds support for Snappy decompression of HTTP requests. (#7632)configretry
: Validatemax_elapsed_time
, ensure it is larger thanmax_interval
andinitial_interval
respectively. (#9489)configopaque
: Mark module as stable (#9167)otlphttpexporter
: Add support for json content encoding when exporting telemetry (#6945)confmap/converter/expandconverter, confmap/provider/envprovider, confmap/provider/fileprovider, confmap/provider/httprovider, confmap/provider/httpsprovider, confmap/provider/yamlprovider
: Split confmap.Converter and confmap.Provider implementation packages out of confmap. (#4759, #9460)v0.94.1
Compare Source
This patch release reverts a dependency update that caused intermittent test failures.
v0.94.0
Compare Source
🛑 Breaking changes 🛑
receiver/otlp
: Update gRPC code fromcodes.InvalidArgument
tocodes.Internal
when a permanent error doesn't contain a gRPC status (#9415)🚩 Deprecations 🚩
configgrpc
: Deprecate GRPCClientSettings, use ClientConfig instead (#6767)💡 Enhancements 💡
mdatagen
: Add a generated test that checks the config struct usingcomponenttest.CheckConfigStruct
(#9438)component
: Addcomponent.UseLocalHostAsDefaultHost
feature gate that changes default endpoints from 0.0.0.0 to localhost (#8510)The only component in this repository affected by this is the OTLP receiver.
confighttp
: Add support of Host header (#9395)mdatagen
: Remove use of ReportFatalError in generated tests (#9439)🧰 Bug fixes 🧰
service
: fix opencensus bridge configuration in periodic readers (#9361)otlpreceiver
: Fix goroutine leak when GRPC server is started but HTTP server is unsuccessful (#9165)otlpexporter
: PartialSuccess is treated as success, logged as warning. (#9243)v0.93.0
Compare Source
🛑 Breaking changes 🛑
exporterhelper
: remove deprecated exporterhelper.RetrySettings and exporterhelper.NewDefaultRetrySettings (#9256)configopaque
: configopaque.String implementsfmt.Stringer
andfmt.GoStringer
, outputting [REDACTED] when formatted with the %s, %q or %#v verbs(#​9213) This may break applications that rely on the previous behavior of opaque strings with
fmt.Sprintfto e.g. build URLs or headers. Explicitly cast the opaque string to a string before using it in
fmt.Sprintf` to restore the previous behavior.🚀 New components 🚀
extension/memory_limiter
: Introduce amemory_limiter
extension which receivers can use to reject incoming requests when collector doesn't have enough memory (#8632)The extension has the same configuration interface and behavior as the existing
memory_limiter
processor, which potentially can be deprecated and removed in the future💡 Enhancements 💡
configtls
: addcipher_suites
to configtls. (#8105)Users can specify a list of cipher suites to pick from. If left blank, a safe default list is used.
service
: marktelemetry.useOtelForInternalMetrics
as stable (#816)exporters
: Cleanup log messages for export failures (#9219)Keep the "dropped" wording for failures happened after the enabled queue.
🧰 Bug fixes 🧰
configgrpc
: Update dependency to address a potential crash in the grpc instrumentation (#9296)otlpreceiver
: Ensure OTLP receiver handles consume errors correctly (#4335)Make sure OTLP receiver returns correct status code and follows the receiver contract (gRPC)
zpagesextension
: Remove mention of rpcz page from zpages extension (#9328)v0.92.0
Compare Source
🛑 Breaking changes 🛑
exporters/sending_queue
: Do not re-enqueue failed batches, rely on the retry_on_failure strategy instead. (#8382)The current re-enqueuing behavior is not obvious and cannot be configured. It takes place only for persistent queue
and only if
retry_on_failure::enabled=true
even ifretry_on_failure
is a setting for a different backoff retrystrategy. This change removes the re-enqueuing behavior. Consider increasing
retry_on_failure::max_elapsed_time
to reduce chances of data loss or set it to 0 to keep retrying until requests succeed.
confmap
: Make the optionWithErrorUnused
enabled by default when unmarshaling configuration (#7102)The option
WithErrorUnused
is now enabled by default, and a new optionWithIgnoreUnused
is introduced to ignoreerrors about unused fields.
status
: DeprecateReportComponentStatus
in favor ofReportStatus
. This new function does not return an error. (#9148)🚩 Deprecations 🚩
connectortest
: Deprecate connectortest.New[Metrics|Logs|Traces]Router in favour of connector.New[Metrics|Logs|Traces]Router (#9095)exporterhelper
: Deprecate exporterhelper.RetrySettings in favor of configretry.BackOffConfig (#9091)extension/ballast
: Deprecatememory_ballast
extension. (#8343)Use
GOMEMLIMIT
environment variable instead.connector
: Deprecate [Metrics|Logs|Traces]Router in favour of [Metrics|Logs|Traces]RouterAndConsumer (#9095)💡 Enhancements 💡
exporterhelper
: Add RetrySettings validation function (#9089)Validate that time.Duration, multiplier values in configretry are non-negative, and randomization_factor is between 0 and 1
service
: Enabletelemetry.useOtelForInternalMetrics
by updating the flag to beta (#7454)The metrics generated should be consistent with the metrics generated
previously with OpenCensus. Users can disable the behaviour
by setting
--feature-gates -telemetry.useOtelForInternalMetrics
atcollector start.
mdatagen
: move component from contrib to core (#9172)semconv
: Generated Semantic conventions 1.22.0. (#8686)confignet
: Adddialer_timeout
config option. (#9066)processor/memory_limiter
: Update config validation errors (#9059)exporterhelper
: Add config Validate for TimeoutSettings (#9104)🧰 Bug fixes 🧰
memorylimiterprocessor
: Fixed leaking goroutines from memorylimiterprocessor (#9099)cmd/otelcorecol
: Fix the code detecting if the collector is running as a service on Windows. (#7350)Removed the
NO_WINDOWS_SERVICE
environment variable given it is not needed anymore.otlpexporter
: remove dependency of otlphttpreceiver on otlpexporter (#6454)Configuration
📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.