-
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/connector to v0.112.0 #9
base: main
Are you sure you want to change the base?
Update module go.opentelemetry.io/collector/connector to v0.112.0 #9
Conversation
2407493
to
f8e1cfd
Compare
f8e1cfd
to
f147e32
Compare
f147e32
to
a1949bf
Compare
a1949bf
to
1363475
Compare
1363475
to
898ee1c
Compare
898ee1c
to
d02ea7c
Compare
d02ea7c
to
73df088
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: go.sum
|
73df088
to
e1c774f
Compare
e1c774f
to
b2f58bb
Compare
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
b2f58bb
to
43d1447
Compare
43d1447
to
429f301
Compare
429f301
to
52685ad
Compare
b382a69
to
532e8bb
Compare
532e8bb
to
5bdb727
Compare
5bdb727
to
60deb55
Compare
60deb55
to
805f3c3
Compare
805f3c3
to
47c29f2
Compare
47c29f2
to
d80f241
Compare
d80f241
to
dc62024
Compare
dc62024
to
c8181f3
Compare
|
c8181f3
to
1860236
Compare
1860236
to
89bcdf4
Compare
This PR contains the following updates:
v0.93.0
->v0.112.0
Release Notes
open-telemetry/opentelemetry-collector (go.opentelemetry.io/collector/connector)
v0.112.0
Compare Source
🛑 Breaking changes 🛑
consumer/consumererror
: Extract consumer/consumererror as a separate go module (#11440)exporter/expotertest
: Put expotertest into its own module (#11461)service
: Remove stable gate component.UseLocalHostAsDefaultHost (#11412)🚩 Deprecations 🚩
processortest
: Deprecated 'NewUnhealthyProcessorCreateSettings'. Use NewNopSettings instead. (#11307)💡 Enhancements 💡
mdatagen
: Added generated_package_name config field to support custom generated package name. (#11231)mdatagen
: Generate documentation for components with resource attributes only (#10705)confighttp
: Adding support for lz4 compression into the project (#9128)service
: Hide profiles support behind a feature gate while it remains alpha. (#11477)exporterhelper
: Retry sender will fail fast when the context timeout is shorter than the next retry interval. (#11183)🧰 Bug fixes 🧰
cmd/builder
: Fix default configuration for builder for httpprovider, httpsprovider, and yamlprovider. (#11357)processorhelper
: Fix issue where in/out parameters were not recorded when error was returned from consumer. (#11351)v0.111.0
Compare Source
🛑 Breaking changes 🛑
service/telemetry
: Change default metrics address to "localhost:8888" instead of ":8888" (#11251)This behavior can be disabled by disabling the feature gate 'telemetry.UseLocalHostAsDefaultMetricsAddress'.
loggingexporter
: Removed the deprecated logging exporter. Use the debug exporter instead. (#11037)🚩 Deprecations 🚩
service/telemetry
: Deprecate service::telemetry::metrics::address in favor of service::telemetry::metrics::readers. (#11205)processorhelper
: Deprecate BuildProcessorMetricName as it's no longer needed since introduction of mdatagen (#11302)💡 Enhancements 💡
ocb
: create docker images for OCB, per https://github.com/open-telemetry/opentelemetry-collector-releases/pull/671 (#5712)Adds standard Docker images for OCB to Dockerhub and GitHub, see hub.docker.com/r/otel/opentelemetry-collector-builder
confighttp
: Snappy compression to lazy read for memory efficiency (#11177)httpsprovider
: Mark the httpsprovider as stable. (#11191)httpprovider
: Mark the httpprovider as stable. (#11191)yamlprovider
: Mark the yamlprovider as stable. (#11192)confmap
: Allow using any YAML structure as a string when loading configuration including time.Time formats (#10659)Previously, fields with time.Time formats could not be used as strings in configurations
🧰 Bug fixes 🧰
processorhelper
: Fix data race condition, concurrent writes to the err variable, causes UB (Undefined Behavior) (#11350)cmd/builder
: re-adds function to properly set and view version number of OpenTelemetry Collector Builder (ocb) binaries (#11208)pdata
: Unmarshal Span and SpanLink flags from JSON (#11267)v0.110.0
Compare Source
🛑 Breaking changes 🛑
processorhelper
: Update incoming/outgoing metrics to a single metric with aotel.signal
attributes. (#11144)The following metrics were added in the previous version
They are being replaced with the following to more closely align with OTEP 259:
processorhelper
: Remove deprecated[Traces|Metrics|Logs]
Inserted funcs (#11151)config
: Mark UseLocalHostAsDefaultHostfeatureGate as stable (#11235)🚩 Deprecations 🚩
processorhelper
: deprecate accepted/refused/dropped metrics (#11201)The following metrics are being deprecated as they were only used in a single
processor:
otelcol_processor_accepted_log_records
otelcol_processor_accepted_metric_points
otelcol_processor_accepted_spans
otelcol_processor_dropped_log_records
otelcol_processor_dropped_metric_points
otelcol_processor_dropped_spans
otelcol_processor_refused_log_records
otelcol_processor_refused_metric_points
otelcol_processor_refused_spans
💡 Enhancements 💡
pdata
: Add support to MoveTo for Map, allow avoiding copies (#11175)mdatagen
: Add stability field to telemetry metrics, allowing the generated description to include a stability string. (#11160)confignet
: Mark module as Stable. (#9801)confmap/provider/envprovider
: Support default values when env var is empty (#5228)mdatagen
: mdatagenvalidateMetrics()
support validate metrics intelemetry.metric
(#10925)service/telemetry
: Mark useOtelWithSDKConfigurationForInternalTelemetry as stable (#7532)mdatagen
: Use cobra for the command, add version flag (#11196)🧰 Bug fixes 🧰
service
: Ensure process telemetry is registered when internal telemetry is configured with readers instead of an address. (#11093)mdatagen
: Fix incorrect generation of metric tests with boolean attributes. (#11169)otelcol
: Fix the Windows Event Log configuration when running the Collector as a Windows service. (#5297, #11051)builder
: Honor build_tags in config (#11156)builder
: Fix version for providers in the default config (#11123)cmd/builder
: Temporarily disable strict versioning checks (#11129, #11152)The strict versioning check may be enabled by default in a future version once all configuration providers are stabilized.
confmap
: Fix loading config of a component from a different source. (#11154)This issue only affected loading the whole component config, loading parts of a component config from a different source was working correctly.
v0.109.0
Compare Source
🛑 Breaking changes 🛑
scraperhelper
: Remove deprecatedObsReport
,ObsReportSettings
,NewObsReport
types/funcs (#11086)confmap
: Remove stableconfmap.strictlyTypedInput
gate (#11008)confmap
: Removes stableconfmap.unifyEnvVarExpansion
feature gate. (#11007)ballastextension
: Removes the deprecated ballastextension (#10671)service
: Removes stableservice.disableOpenCensusBridge
feature gate (#11009)🚩 Deprecations 🚩
processorhelper
: These funcs are not used anywhere, marking them deprecated. (#11083)🚀 New components 🚀
extension/experimental/storage
: Moveextension/experimental/storage
into a separate module (#11022)💡 Enhancements 💡
configtelemetry
: Add guidelines for each level of component telemetry (#10286)service
: moveuseOtelWithSDKConfigurationForInternalTelemetry
gate to beta (#11091)service
: implement a no-op tracer provider that doesn't propagate the context (#11026)The no-op tracer provider supported by the SDK incurs a memory cost of propagating the context no matter
what. This is not needed if tracing is not enabled in the Collector. This implementation of the no-op tracer
provider removes the need to allocate memory when tracing is disabled.
envprovider
: Mark module as stable (#10982)fileprovider
: Mark module as stable (#10983)processor
: Add incoming and outgoing counts for processors using processorhelper. (#10910)Any processor using the processorhelper package (this is most processors) will automatically report
incoming and outgoing item counts. The new metrics are:
🧰 Bug fixes 🧰
configgrpc
: Change the value of max_recv_msg_size_mib from uint64 to int to avoid a case where misconfiguration caused an integer overflow. (#10948)exporterqueue
: Fix a bug in persistent queue that Offer can becomes deadlocked when queue is almost full (#11015)v0.108.1
Compare Source
🧰 Bug fixes 🧰
mdatagen
: Fix a missing import in the generated test file (#10969)v0.108.0
Compare Source
🛑 Breaking changes 🛑
all
: Added support for go1.23, bumped the minimum version to 1.22 (#10869)otelcol
: Remove deprecatedConfmapProvider
interface. (#10934)confmap
: Markconfmap.strictlyTypedInput
as stable (#10552)💡 Enhancements 💡
exporter/otlp
: Add batching option to otlp exporter (#8122)builder
: Add a --skip-new-go-module flag to skip creating a module in the output directory. (#9252)component
: AddTelemetrySettings.LeveledMeterProvider
func to replace MetricsLevel in the near future (#10931)mdatagen
: AddLeveledMeter
method to mdatagen (#10933)service
: Addslevel
configuration option toservice::telemetry::trace
to allow users to disable the default TracerProvider (#10892)This replaces the feature gate
service.noopTracerProvider
introduced in v0.107.0componentstatus
: Add new Reporter interface to define how to report a status via acomponent.Host
implementation (#10852)mdatagen
: support using a different github project in mdatagen README issues list (#10484)mdatagen
: Updates mdatagen's usage to output a complete command line example, including the metadata.yaml file. (#10886)extension
: Add ModuleInfo to extension.Settings to allow extensions to access component go module information. (#10876)confmap
: Mark module as stable (#9379)🧰 Bug fixes 🧰
batchprocessor
: Update units for internal telemetry (#10652)confmap
: Fix bug where an unset env var used with a non-string field resulted in a panic (#10950)service
: Fix memory leaks during service package shutdown (#9165)mdatagen
: Update generated telemetry template to only include context import when there are async metrics. (#10883)mdatagen
: Fixed bug in which settingSkipLifecycle
&SkipShutdown
to true would result in a generated file with an unused importconfmaptest
(#10866)confmap
: Use string representation for field types where all primitive types are strings. (#10937)otelcol
: Preserve internal representation when unmarshaling component configs (#10552)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](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/973Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.