-
Couldn't load subscription status.
- Fork 0
⬆️ Update module go.opentelemetry.io/collector to v0.138.0 #119
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
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 #119 +/- ##
=======================================
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. |
dc38103 to
be9dafb
Compare
1d47f98 to
e2113bc
Compare
8f5edea to
4b7078d
Compare
cd5b205 to
e151877
Compare
647f157 to
9ccfd9c
Compare
f8ae82c to
4dd5a5a
Compare
4dd5a5a to
286a059
Compare
b4817fc to
0806699
Compare
0806699 to
ae187a1
Compare
ae187a1 to
7a5252f
Compare
7a5252f to
1b0a297
Compare
1b0a297 to
10b7cf7
Compare
10b7cf7 to
4129772
Compare
4129772 to
cee3ffb
Compare
cee3ffb to
0cf22ac
Compare
0cf22ac to
bcd7f88
Compare
bcd7f88 to
6b3ae5c
Compare
6b3ae5c to
ad2a509
Compare
ad2a509 to
08f8354
Compare
08f8354 to
eeada42
Compare
eeada42 to
6b79b35
Compare

This PR contains the following updates:
v0.91.0->v0.138.0Release Notes
open-telemetry/opentelemetry-collector (go.opentelemetry.io/collector)
v0.138.0Compare Source
🛑 Breaking changes 🛑
all: Remove deprecated typeTracesConfig(#14036)pkg/exporterhelper: Add default values forsending_queue::batchconfiguration. (#13766)Setting
sending_queue::batchto an empty value now results in the same setup as the default batch processor configuration.all: Add unified print-config command with mode support (redacted, unredacted), json support (unstable), and validation support. (#11775)This replaces the
print-initial-configcommand. See theservicepackage README for more details. The original command nameprint-initial-configremains an alias, to be retired with the feature flag.💡 Enhancements 💡
all: Addkeep_alives_enabledoption to ServerConfig to control HTTP keep-alives for all components that create an HTTP server. (#13783)pkg/otelcol: Avoid unnecessary mutex in collector logs, replace by atomic pointer (#14008)cmd/mdatagen: Add lint/ordering validation for metadata.yaml (#13781)pdata/xpdata: Refactor JSON marshaling and unmarshaling to usepcommon.Valueinstead ofAnyValue. (#13837)pkg/exporterhelper: ExposeMergeCtxin exporterhelper's queue batch settings` (#13742)🧰 Bug fixes 🧰
all: Fix zstd decoder data corruption due to decoder pooling for all components that create an HTTP server. (#13954)pkg/otelcol: Remove UB when taking internal logs and move them to the final zapcore.Core (#14009)This can happen because of a race on accessing
logsTaken.pkg/confmap: Fix a potential race condition in confmap by closing the providers first. (#14018)v0.137.0Compare Source
💡 Enhancements 💡
cmd/mdatagen: Improve validation for resource attributeenabledfield in metadata files (#12722)Resource attributes now require an explicit
enabledfield in metadata.yaml files, while regular attributesare prohibited from having this field. This improves validation and prevents configuration errors.
all: Changelog entries will now have their component field checked against a list of valid components. (#13924)This will ensure a more standardized changelog format which makes it easier to parse.
pkg/pdata: Mark featuregate pdata.useCustomProtoEncoding as stable (#13883)v0.136.0Compare Source
💡 Enhancements 💡
xpdata: Add Serialization and Deserialization of AnyValue (#12826)debugexporter: add support for batching (#13791)The default queue size is 1
configtls: Add early validation for TLS server configurations to fail fast when certificates are missing instead of failing at runtime. (#13130, #13245)mdatagen: Expose stability level in generated metric documentation (#13748)internal/tools: Add support for modernize in Makefile (#13796)🧰 Bug fixes 🧰
otelcol: Fix a potential deadlock during collector shutdown. (#13740)otlpexporter: fix the validation of unix socket endpoints (#13826)v0.135.0Compare Source
💡 Enhancements 💡
exporterhelper: Add newexporter_queue_batch_send_sizeandexporter_queue_batch_send_size_bytesmetrics, showing the size of telemetry batches from the exporter. (#12894)v0.134.0Compare Source
💡 Enhancements 💡
pdata: Add custom grpc/encoding that replaces proto and calls into the custom marshal/unmarshal logic in pdata. (#13631)This change should not affect other gRPC calls since it fallbacks to the default grpc/proto encoding if requests are not pdata/otlp requests.
pdata: Avoid copying the pcommon.Map when same origin (#13731)This is a very large improvement if using OTTL with map functions since it will avoid a map copy.
exporterhelper: Respectnum_consumerswhen batching and partitioning are enabled. (#13607)🧰 Bug fixes 🧰
pdata: Correctly parse OTLP payloads containing non-packed repeated primitive fields (#13727, #13730)This bug prevented the Collector from ingesting most Histogram, ExponentialHistogram,
and Profile payloads.
v0.133.0Compare Source
🛑 Breaking changes 🛑
all: Increase minimum Go version to 1.24 (#13627)💡 Enhancements 💡
otlphttpexporter: Addprofiles_endpointconfiguration option to allow custom endpoint for profiles data export (#13504)The
profiles_endpointconfiguration follows the same pattern astraces_endpoint,metrics_endpoint, andlogs_endpoint.When specified, profiles data will be sent to the custom URL instead of the default
{endpoint}/v1development/profiles.pdata: Add support for local memory pooling for data objects. (#13678)This is still an early experimental (alpha) feature. Do not recommended to be used production. To enable use "--featuregate=+pdata.useProtoPooling"
pdata: Optimize CopyTo messages to avoid any copy when same source and destination (#13680)receiverhelper: New feature flag to make receiverhelper distinguish internal vs. downstream errors using newotelcol_receiver_failed_xandotelcol_receiver_requestsmetrics (#12207, #12802)This is a breaking change for the semantics of the otelcol_receiver_refused_metric_points, otelcol_receiver_refused_log_records and otelcol_receiver_refused_spans metrics.
These new metrics and semantics are enabled through the
receiverhelper.newReceiverMetricsfeature gate.debugexporter: Add support for entity references in debug exporter output (#13324)pdata: Fix unnecessary allocation of a new state when adding new values to pcommon.Map (#13634)service: Implement refcounting for pipeline data owned memory. (#13631)This feature is protected by
--featuregate=+pdata.useProtoPooling.service: Add a debug-level log message when a consumer returns an error. (#13357)xpdata: Optimize xpdata/context for persistent queue when only one value for key (#13636)otlpreceiver: Log the listening addresses of the receiver, rather than the configured endpoints. (#13654)pdata: Use the newly added proto marshaler/unmarshaler for the official proto Marshaler/Unmarshaler (#13637)If any problems observed with this consider to disable the featuregate
--feature-gates=-pdata.useCustomProtoEncodingconfigtls: Enable X25519MLKEM768 as per draft-ietf-tls-ecdhe-mlkem (#13670)🧰 Bug fixes 🧰
exporterhelper: Prevent uncontrolled goroutines in batcher due to a incorrect worker pool behaviour. (#13689)service: Ensure the insecure configuration is accounted for when normalizing the endpoint. (#13691)configoptional: Allow validating nested types (#13579)configoptional.Optionalnow implementsxconfmap.Validatorbatchprocessor: Fix UB in batch processor when trying to read bytes size after adding request to pipeline (#13698)This bug only happens id detailed metrics are enabled and also an async (sending queue enabled) exporter that mutates data is configure.
v0.132.0Compare Source
🛑 Breaking changes 🛑
componentstatus: Change the signature of the componentstatus.NewEvent to accept multiple options. (#13210)Changes the signature of the component.NewEvent to accept multiple EventBuilderOption,
like the new WithAttributes constructor.
🚩 Deprecations 🚩
service: move service.noopTraceProvider feature gate to deprecated stage (#13492)The functionality of the feature gate is available via configuration with the following telemetry settings:
mdatagen: Remove the deletion ofgenerated_component_telemetry_test.go. (#12067)This file used to be generated by mdatagen. Starting with 0.122.0, the code deletes that file.
It is no longer necessary to delete the file, as code has had time to upgrade to mdatagen and delete the file.
service: Thetelemetry.disableHighCardinalityMetricsfeature gate is deprecated (#13537)The feature gate is now deprecated since metric views can be configured.
The feature gate will be removed in v0.134.0.
The metric attributes removed by this feature gate are no longer emitted
by the Collector by default, but if needed, you can achieve the same
functionality by configuring the following metric views:
Note that this requires setting
service::telemetry::metrics::level: detailed.If you have a strong use case for using views in combination with a different
level, please show your interest in
#10769.
💡 Enhancements 💡
pdata: Generate Logs/Traces/Metrics/Profiles and p[log|trace|metric|profile]ExportResponse with pdatagen. (#13597)This change brings consistency on how these structs are written and remove JSON marshaling/unmarshaling hand written logic.
confighttp: Add option to configure ForceAttemptHTTP2 to support HTTP/1 specific transport settings. (#13426)pdata: Avoid unnecessary buffer copy when JSON marshal fails. (#13598)cmd/mdatagen: Use a custom host implementation for lifecycle tests (#13589)Use a custom noop host implementation that implements all non-deprecated, publicly-accessible interfaces implemented by the Collector service.
processorhelper: Add processor internal duration metric. (#13231)pdata: Improve RemoveIf for slices to not reference anymore the removed memory (#13522)🧰 Bug fixes 🧰
pdata: Fix null pointer access when copying into a slice with larger cap but smaller len. (#13523)confighttp: Fix middleware configuration field name from "middleware" to "middlewares" for consistency with configgrpc (#13444)memorylimiterextension, memorylimiterprocessor: Memory limiter extension and processor shutdown don't throw an error if the component was not started first. (#9687)The components would throw an error if they were shut down before being started.
With this change, they will no longer return an error, conforming to the lifecycle of components expected.
confighttp: Reuse zstd Reader objects (#11824)v0.131.0Compare Source
🛑 Breaking changes 🛑
confighttp: Moveconfighttp.framedSnappyfeature gate to beta. (#10584)💡 Enhancements 💡
exporter/debug: Move to alpha stability except profiles (#13487)exporterhelper: Enableexporter.PersistRequestContextfeature gate by default. (#13437)Request context is now preserved by default when using persistent queues.
Note that Auth extensions context is not propagated through the persistent queue.
pdata: Use pdatagen to generate marshalJSON without using gogo proto jsonpb. (#13450)otlpreceiver: Remove usage of gogo proto which uses reflect.Value.MethodByName. Removes one source of disabling DCE. (#12747)exporterhelper: Fix metrics split logic to consider metrics description into the size. (#13418)service: New pipeline instrumentation now differentiates internal failures from downstream errors (#13234)With the telemetry.newPipelineTelemetry feature gate enabled, the "received" and "produced"
metrics related to a component now distinguish between two types of errors:
error coming from a downstream component processing that data.
pdata: Remove usage of text/template from pdata, improves DCE. (#12747)architecture: New Tier 3 platform riscv64 allowing the collector to be built and distributed for this platform. (#13462)🧰 Bug fixes 🧰
exporterhelper: Prevents the exporter for being stuck when telemetry data is bigger than batch.max_size (#12893)mdatagen: Fix import paths for mdatagen component (#13069)otlpreceiver: Error handler correctly fallbacks to content type (#13414)pdata/pprofiles: Fix profiles JSON unmarshal logic for originalPayload. The bytes have to be base64 encoded. (#13483)xpdata: Fix unmarshaling JSON for entities, add e2e tests to avoid this in the future. (#13480)service: Downgrade dependency of prometheus exporter in OTel Go SDK (#13429)This fixes the bug where collector's internal metrics are emitted with an unexpected suffix in their names when users configure the service::telemetry::metrics::readers with Prometheus
service: Revert Default internal metrics config now enablesotel_scope_labels (#12939, #13344)Reverting change temporarily due to prometheus exporter downgrade. This unfortunately re-introduces the bug that instrumentation scope attributes cause errors in Prometheus exporter. See #12939 for details.
builder: Remove undocumented handling ofDIST_*environment variables replacements (#13335)v0.130.1Compare Source
🧰 Bug fixes 🧰
service: Fixes bug where internal metrics are emitted with an unexpected suffix in their names when users configureservice::telemetry::metrics::readerswith Prometheus. (#13449)See more details on open-telemetry/opentelemetry-go#7039
v0.130.0Compare Source
❗ Known Issues ❗
Due to a bug in the prometheus exporter, if you are configuring a prometheus exporter, the collector's internal metrics will be emitted with an unexpected suffix in its name. For example, the metric
otelcol_exporter_sent_spans__spans__totalinstead ofotelcol_exporter_sent_spans_total. The workaround is to manually configurewithout_units: truein your prometheus exporter configIf you are using the collector's default Prometheus exporter for exporting internal metrics you are unaffected.
🛑 Breaking changes 🛑
exporter/otlp: Remove deprecated batcher config from OTLP, use queuebatch (#13339)💡 Enhancements 💡
exporterhelper: Enable items and bytes sizers for persistent queue (#12881)exporterhelper: Refactor persistent storage size backup to always record it. (#12890)exporterhelper: Add support to configure a different Sizer for the batcher than the queue (#13313)yaml: Replacedsigs.k8s.io/yamlwithgo.yaml.in/yamlfor improved support and long-term maintainability. (#13308)🧰 Bug fixes 🧰
exporterhelper: Fix exporter.PersistRequestContext feature gate (#13342)exporterhelper: Preserve all metrics metadata when batch splitting. (#13236)Previously, when large batches of metrics were processed, the splitting logic in
metric_batch.gocouldcause the
namefield of some metrics to disappear. This fix ensures that all metric fields areproperly preserved when
metricRequestobjects are split.service: Default internal metrics config now enablesotel_scope_labels (#12939, #13344)By default, the Collector exports its internal metrics using a Prometheus
exporter from the opentelemetry-go repository. With this change, the Collector
no longer sets "without_scope_info" to true in its configuration.
This means that all exported metrics will have
otel_scope_name,otel_scope_schema_url, andotel_scope_versionlabels corresponding to theinstrumentation scope metadata for that metric.
This notably prevents an error when multiple metrics are only distinguished
by their instrumentation scopes and end up aliased during export.
If this is not desired behavior, a Prometheus exporter can be explicitly
configured with this option enabled.
v0.129.0Compare Source
🛑 Breaking changes 🛑
exporterhelper: Remove deprecated sending_queue::blocking options, use sending_queue::block_on_overflow. (#13211)💡 Enhancements 💡
mdatagen: Taught mdatagen to print thego liststderr output on failures, and to rungo listwhere the metadata file is. (#13205)service: Support settingsamplerandlimitsunderservice::telemetry::traces(#13201)This allows users to enable sampling and set span limits on internal Collector traces using the
OpenTelemetry SDK declarative configuration.
pdata/pprofile: Add new helper methodsFromLocationIndicesandPutLocationto read and modify the content of locations. (#13150)exporterhelper: Preserve request span context and client information in the persistent queue. (#11740, #13220, #13232)It allows internal collector spans and client information to propagate through the persistent queue used by
the exporters. The same way as it's done for the in-memory queue.
Currently, it is behind the exporter.PersistRequestContext feature gate, which can be enabled by adding
--feature-gates=exporter.PersistRequestContextto the collector command line. An exporter buffer stored bya previous version of the collector (or by a collector with the feature gate disabled) can be read by a newer
collector with the feature enabled. However, the reverse is not supported: a buffer stored by a newer collector with
the feature enabled cannot be read by an older collector (or by a collector with the feature gate disabled).
🧰 Bug fixes 🧰
pdata: Fix copying of optional fields when the source is unset. (#13268)service: Only allocate one set of internal log sampling counters (#13014)The case where logs are only exported to stdout was fixed in v0.126.0;
this new fix also covers the case where logs are exported through OTLP.
v0.128.0Compare Source
🛑 Breaking changes 🛑
service/telemetry: Mark "telemetry.disableAddressFieldForInternalTelemetry" as stable (#13152)💡 Enhancements 💡
confighttp: Update the HTTP server span naming to use the HTTP method and route pattern instead of the path. (#12468)The HTTP server span name will now be formatted as
<http.request.method> <http.route>.If a route pattern is not available, it will fall back to
<http.request.method>.service: Use configured loggers to log errors as soon as it is available (#13081)service: Remove stabilized featuregate useOtelWithSDKConfigurationForInternalTelemetry (#13152)🧰 Bug fixes 🧰
telemetry: Add generated resource attributes to the printed log messages. (#13110)If service.name, service.version, or service.instance.id are not specified in the config, they will be generated automatically.
This change ensures that these attributes are also included in the printed log messages.
mdatagen: Fix generation when there are no events in the metadata. (#13123)confmap: Do not panic on assigning nil maps to non-nil maps (#13117)pdata: Fix event_name skipped when unmarshalling LogRecord from JSON (#13127)v0.127.0Compare Source
🚩 Deprecations 🚩
semconv: Deprecating the semconv package in favour of go.opentelemetry.io/otel/semconv (#13012)💡 Enhancements 💡
exporter/debug: Display resource and scope innormalverbosity (#10515)service: Add size metrics defined in Pipeline Component Telemetry RFC (#13032)See Pipeline Component Telemetry RFC for more details:
otelcol.receiver.produced.sizeotelcol.processor.consumed.sizeotelcol.processor.produced.sizeotelcol.connector.consumed.sizeotelcol.connector.produced.sizeotelcol.exporter.consumed.sizev0.126.0Compare Source
🛑 Breaking changes 🛑
configauth: Removes deprecatedconfigauth.Authenticationandextensionauthtest.NewErrorClient(#12992)The following have been removed:
configauth.Authenticationuseconfigauth.Configinsteadextensionauthtest.NewErrorClientuseextensionauthtest.NewErrinstead💡 Enhancements 💡
service: Replacego.opentelemetry.io/collector/semconvusage withgo.opentelemetry.io/otel/semconv(#12991)confmap: Update the behavior of the confmap.enableMergeAppendOption feature gate to merge only component lists. (#12926)service: Add item count metrics defined in Pipeline Component Telemetry RFC (#12812)See Pipeline Component Telemetry RFC for more details:
otelcol.receiver.produced.itemsotelcol.processor.consumed.itemsotelcol.processor.produced.itemsotelcol.connector.consumed.itemsotelcol.connector.produced.itemsotelcol.exporter.consumed.itemstls: Add trusted platform module (TPM) support to TLS authentication. (#12801)Now the TLS allows the use of TPM for loading private keys (e.g. in TSS2 format).
🧰 Bug fixes 🧰
exporterhelper: Add validation error for batch config if min_size is greater than queue_size. (#12948)telemetry: Allocate less memory per component when OTLP exporting of logs is disabled (#13014)confmap: Use reflect.DeepEqual to avoid panic when confmap.enableMergeAppendOption feature gate is enabled. (#12932)internal telemetry: Add resource attributes from telemetry.resource to the logger (#12582)Resource attributes from telemetry.resource were not added to the internal
console logs.
Now, they are added to the logger as part of the "resource" field.
confighttp and configcompression: Fix handling ofsnappycontent-encoding in a backwards-compatible way (#10584, #12825)The collector used the Snappy compression type of "framed" to handle the HTTP
content-encoding "snappy". However, this encoding is typically used to indicate
the "block" compression variant of "snappy". This change allows the collector to:
at the first bytes of the payload to determine if it is "framed" or "block" snappy,
and will decompress accordingly. This is a backwards-compatible change.
If the feature-gate "confighttp.framedSnappy" is enabled, you'll see new behavior for both client and server:
instead of "framed". Client compression type "x-snappy-framed" will now compress to the "framed" variant of snappy.
tlsconfig: Disable TPM tests on MacOS/Darwin (#12964)v0.125.0Compare Source
🛑 Breaking changes 🛑
service: Lowercase values for 'otelcol.component.kind' attributes. (#12865)service: Restrict thetelemetry.newPipelineTelemetryfeature gate to metrics. (#12856, #12933)The "off" state of this feature gate introduced a regression, where the Collector's internal logs were missing component attributes. See issue #12870 for more details on this bug.
On the other hand, the "on" state introduced an issue with the Collector's default internal metrics, because the Prometheus exporter does not currently support instrumentation scope attributes.
To solve both of these issues, this change turns on the new scope attributes for logs and traces by default regardless of the feature gate.
However, the new scope attributes for metrics stay locked behind the feature gate, and will remain off by default until the Prometheus exporter is updated to support scope attributes.
Please understand that enabling the
telemetry.newPipelineTelemetryfeature gate may break the export of Collector metrics through, depending on your configuration.Having a
batchprocessor in multiple pipelines is a known trigger for this.This comes with a breaking change, where internal logs exported through OTLP will now use instrumentation scope attributes to identify the source component instead of log attributes.
This does not affect the Collector's stderr output. See the changelog for v0.123.0 for a more detailed description of the gate's effects.
💡 Enhancements 💡
mdatagen: Add support for attributes for telemetry configuration in metadata. (#12919)configmiddleware: Add extensionmiddleware interface. (#12603, #9591)configgrpc: Add gRPC middleware support. (#12603, #9591)confighttp: Add HTTP middleware support. (#12603, #9591, #7441)configmiddleware: Add configmiddleware struct. (#12603, #9591)🧰 Bug fixes 🧰
exporterhelper: Do not ignore thenum_consumerssetting when batching is enabled. (#12244)exporterhelper: Reject elements larger than the queue capacity (#12847)mdatagen: Add time and plog package imports (#12907)confmap: Maintain nil values when marshaling or unmarshaling nil slices (#11882)Previously, nil slices were converted to empty lists, which are semantically different
than a nil slice. This change makes this conversion more consistent when encoding
or decoding config, and these values are now maintained.
v0.124.0Compare Source
💡 Enhancements 💡
exporterhelper: Add support for bytes-based batching for profiles in the exporterhelper package. (#3262)otelcol: Enhance config validation using command to capture all validation errors that prevents the collector from starting. (#8721)exporterhelper: Link batcher context to all batched request's span contexts. (#12212, #8122)🧰 Bug fixes 🧰
confighttp: Ensure http authentication server failures are handled by the provided error handler (#12666)v0.123.0Compare Source
❗ Known Issues ❗
initialized for each component. The issue is partially fixed in v0.126.0 for users who write logs to stdout, but do
not export logs via OTLP. See #13014 for more details.
🛑 Breaking changes 🛑
service/telemetry: Marktelemetry.disableAddressFieldForInternalTelemetryas beta, usage of deprecated service::telemetry::address are ignored (#25115)To restore the previous behavior disable
telemetry.disableAddressFieldForInternalTelemetryfeature gate.exporterbatch: Remove deprecated fieldsmin_size_itemsandmax_size_itemsfrom batch config. (#12684)🚩 Deprecations 🚩
otlpexporter: Mark BatcherConfig as deprecated, usesending_queue::batchinstead (#12726)exporterhelper: Deprecateblockingin favor ofblock_on_overflow. (#12710)exporterhelper: Deprecate configuring exporter batching separately. Usesending_queue::batchinstead. (#12772)Moving the batching configuration to
sending_queue::batchrequires settingsending_queue::sizertoitemswhich means that
sending_queue::queue_sizeneeds to be also increased by the average batch size number (roughlyx5000 for the default batching configuration).
See https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/exporterhelper#configuration
💡 Enhancements 💡
exporterhelper: Add support to configure batching in the sending queue. (#12746)exporterhelper: Add support for wait_for_result, remove disabled_queue (#12742)This has a side effect for users of the experimental BatchConfig with the queue disabled, since not this is | uses only NumCPU() consumers.
exporterhelper: Allow exporter memory queue to use different type of sizers. (#12708)service: Add "telemetry.newPipelineTelemetry" feature gate to inject component-identifying attributes in internal telemetry (#12217)With the feature gate enabled, all internal telemetry (metrics/traces/logs) will include some of
the following instrumentation scope attributes:
otelcol.component.kindotelcol.component.idotelcol.pipeline.idotelcol.signalotelcol.signal.outputThese attributes are defined in the Pipeline Component Telemetry RFC,
and identify the component instance from which the telemetry originates.
They are added automatically without changes to component code.
These attributes were already included in internal logs as regular log attributes, starting from
v0.120.0. For consistency with other signals, they have been switched to scope attributes (with
the exception of logs emitted to standard output), and are now enabled by the feature gate.
Please make sure that the exporter / backend endpoint you use has support for instrumentation
scope attributes before using this feature. If the internal telemetry is exported to another
Collector, a transform processor could be used to turn them into other kinds of attributes if
necessary.
exporterhelper: Enable support to do batching usingbytessizer (#12751)service: Add config key to set metric views used for internal telemetry (#10769)The
service::telemetry::metrics::viewsconfig key can now be used to explicitly set the list ofmetric views used for internal telemetry, mirroring
meter_provider::viewsin the SDK config.This can be used to disable specific internal metrics, among other uses.
This key will cause an error if used alongside other features which would normally implicitly create views, such as:
service::telemetry::metrics::leveltodetailed;telemetry.disableHighCardinalityMetricsfeature flag.🧰 Bug fixes 🧰
exporterhelper: Fix order of starting between queue and batch. (#12705)v0.122.1Compare Source
🧰 Bug fixes 🧰
confmap: Ensure slices with defaults containing struct values are correctly set. (#12661)This reverts the changes made in #11882.
v0.122.0Compare Source
🛑 Breaking changes 🛑
service: Batch processor telemetry is no longer emitted at "basic" verbosity level (#7890)According to the guidelines, basic-level telemetry should be reserved for core Collector APIs.
Components such as the batch processor should emit telemetry starting from the "normal" level
(which is also the default level).
Migration: If your Collector telemetry was set to
level: basicand you want to keep seeingbatch processor-related metrics, consider switching to
level: normalinstead.💡 Enhancements 💡
service: Addservice.AllowNoPipelinesfeature gate to allow starting the Collector without pipelines. (#12613)This can be used to start with only extensions.
mdatagen: Delete generated_status.go if the component type doesn't require it. (#12346)componenttest: Improve config struct mapstructure field tag checks (#12590)remaintags andomitemptytags without a custom field name will now pass validation.service: include component id/type in start error (#10426)mdatagen: Add deprecation date and migration guide fields as part of component metadata (#12359)confmap: Introduce a new feature flag to allow for merging lists instead of discarding the existing ones. (#8394, #8754, #10370)You can enable this option via the command line by running following command:
otelcol --config=main.yaml --config=extra_config.yaml --feature-gates=-confmap.enableMergeAppendOption
zpagesextension: Add expvar handler to zpages extension. (#11081)🧰 Bug fixes 🧰
confmap: Maintain nil values when marshaling or unmarshaling nil slices (#11882)Previously, nil slices were converted to empty lists, which are semantically different
than a nil slice. This change makes this conversion more consistent when encoding
or decoding config, and these values are now maintained.
service: do not attempt to register process metrics if they are disabled (#12098)v0.121.0Compare Source
🛑 Breaking changes 🛑
confighttp: Make the client config optionsmax_idle_conns,max_idle_conns_per_host,max_conns_per_host, andidle_conn_timeoutintegers (#9478)All four options can be set to
0where they were previously set tonull🚩 Deprecations 🚩
exporterhelper: Deprecatemin_size_itemsandmax_size_itemsin favor ofmin_sizeandmax_size. (#12486)💡 Enhancements 💡
mdatagen: Addconverterandprovidermodule classes (#12467)pipeline: output pipeline name with signal as signal[/name] format in logs. (#12410)memorylimiter: Add support to configure min GC intervals for soft and hard limits. (#12450)otlpexporter: Update the stability level for logs, it has been as stable as traces and metrics for some time. (#12423)service: Create a new subcommand to dump the initial configuration after resolving/merging. (#11479)To use the
print-initial-configsubcommand, invoke the Collector with the subcommand and corresponding feature gate:otelcol print-initial-config --feature-gates=otelcol.printInitialConfig --config=config.yaml.Note that the feature gate enabling this flag is currently in alpha stability, and the subcommand may
be changed in the future.
memorylimiterprocessor: Add support for profiles. (#12453)otelcol: Converters are now available in thecomponentscommand. (#11900, #12385)component: Mark module as stable (#9376)confmap: Surface YAML parsing errors when they happen at the top-level. (#12180)This adds context to some instances of the error "retrieved value (type=string) cannot be used as a Conf", which typically happens because of invalid YAML documents
pprofile: Add LinkIndex attribute to the generated Sample type (#12485)exporterhelper: Stabilize exporter.UsePullingBasedExporterQueueBatcher and remove old batch sender (#12425)mdatagen: Update metadata schema with new fields without enforcing them (#12359)🧰 Bug fixes 🧰
service: Fix crash at startup when converting from v0.2.0 to v0Configuration
📅 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.