NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #472 by repository stars
Latest stable
v0.166.0
Last release today
30 Nov 2026
Ships on a steady schedule
a new release about every 9 days
Nearly every release is documented
notes for 51 of 51 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
432 releases · first in 2025
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Module set beta, Version v0.166.0
Module set beta, Version v0.166.0
pkg/configgrpc: Add the pick_first.shuffle_address_list option to shuffle the resolved address list for gRPC clients that use the pick_first balancer. (#16235)
When enabled, clients that receive the same address list no longer all connect to the first address (gRFC A62).
The option is disabled by default.
pkg/configmiddleware: allow listener middleware extensions to create HTTP and gRPC server listeners (#16029)
pkg/service: Log whether the Collector runs in FIPS 140-3 mode in the startup log line. (#16346)
The Starting ... log line gets a FIPS140 field with the value of crypto/fips140.Enabled(),
so operators can confirm from the Collector's own logs that GODEBUG=fips140=on is in effect.
pkg/xscraperhelper: Report receiver telemetry for profiles scraped by NewProfilesController, as is done for the other signals. (#16399)
receiver/otlp: Add receiver.otlp.sanitizeInvalidUTF8 feature gate to replace invalid UTF-8 in OTLP requests with U+FFFD instead of forwarding invalid data downstream (#11449)
This behavior is behind the receiver.otlp.sanitizeInvalidUTF8 feature gate.
When enabled, the OTLP receiver replaces every run of invalid UTF-8 bytes in the string fields of incoming traces, metrics, logs and profiles with the Unicode replacement character U+FFFD.
Sanitized requests are forwarded whole, without partial success counts.
If receiver.otlp.rejectInvalidUTF8 is also enabled, it takes precedence and invalid items are rejected instead.
cmd/builder: Using invalid characters in dist.name (., /) now return an error. (#16416)
cmd/builder: The builder now fails with an error instead of following such a symlink. (#16401)
cmd/builder: Provide additional validation in processing templates. (#16402)
cmd/mdatagen: Fix telemetry metric stability schema and missing stability error message (#16363)
cmd/mdatagen: Ensure metadata values are escaped in templates (#16396)
cmd/mdatagen: Reject a generated_package_name that is not a valid Go identifier instead of using it as a directory and package name. (#16395)
exporter/otlp_grpc: Limiting logging of the error_message of a partial success response to 1 KiB. (#16415)
exporter/otlp_grpc: Bound the response headers and trailers accepted from the backend to 64 KiB. (#16415)
exporter/otlp_http: Limit response size parsed by the exporter from upstream errors. (#16407)
exporter/otlp_http: Do not read the body of a HTTP 101 response, which blocked the export forever. (#16460)
pkg/confighttp: Set ServerName on the internal telemetry generated instead of the request's Host header. (#16433)
pkg/confighttp: Bound the cookie jar used by clients with cookies enabled. (#16421)
pkg/confighttp: Limit the response headers accepted by clients created by ClientConfig.ToClient to 1 MiB (http.DefaultMaxHeaderBytes). (#16423)
pkg/configtls: Update tpm::auth and tpm::owner_auth fields as opaque so they are redacted like key_pem. (#16435)
pkg/confmap: Honor context cancellation and deadlines when retrieving configuration over HTTP and HTTPS. (#16351)
pkg/exporterhelper: Limit retry backoff delay to the max_interval configured. (#16417)
pkg/otelcol: Redact values below sections disabled with enabled: false in the unexpanded configuration snapshot reported by the OpAMP extension when reports_raw_config is enabled (#16441)
ConfigSnapshot.Unexpanded() learns which leaves are opaque from the marshaled configuration.
A section disabled with enabled: false and an omitempty field set to its zero value are not
marshaled, so inline secrets below them were reported verbatim.
Every leaf without a counterpart in the marshaled configuration is now masked; nulls, booleans
and plain ${...} provider references stay visible.
pkg/service: Rebuild a receiver for all of its signals when it is added, removed or rebuilt for one of them during a partial receiver reload, so that a receiver sharing one instance across signals, such as otlp, keeps serving the others. (#16260)
provider/http: Redact password in URI when it is being logged. (#16418)
receiver/otlp: Limit response size parsed by the receiver from the exporter when it receives upstream errors. (#16407)
receiver/otlp: Add receiver.otlp.rejectInvalidUTF8 feature gate to reject invalid UTF-8 in OTLP requests instead of forwarding invalid data downstream (#11449)
This behavior is behind the receiver.otlp.rejectInvalidUTF8 feature gate.
When enabled, the OTLP receiver validates incoming traces, metrics, logs, and profiles for invalid UTF-8.
Invalid items are rejected at the smallest supported signal unit and reported through OTLP partial success counts.
For profiles, an invalid string in the shared profiles dictionary rejects every profile in the request because the dictionary cannot be attributed to a single profile.
receiver/otlp: Bound the time Shutdown waits for in-flight requests so that a peer holding an incomplete request open cannot block collector shutdown or config reload indefinitely. (#16462)
pkg/exporterhelper: Change the storageID to use optional and use the new configstorage module (#13822)cmd/builder: Added ocbplugin package. (#16409)
This package will be used in the upcoming OCB hooks feature.
cmd/mdatagen: Add independent_value and emitted_name_config_key options to metric migrations. (#16318)
independent_value generates a separate Record function for the migration target, for metrics
whose new definition is calculated differently from the legacy one.
emitted_name_config_key configures and documents the migration target by its emitted name instead
of its @vN key, for renames where the legacy and target names map to the same Go identifier.
With emitted_name_config_key, generated config validation errors and log warnings also refer
to the target by its emitted name, so the @vN suffix is never shown to users.
cmd/mdatagen: Added new internal status.class (#16313)
pkg/configgrpc: Add the pick_first.shuffle_address_list option to shuffle the resolved address list for gRPC clients that use the pick_first balancer. (#16235)
When enabled, clients that receive the same address list no longer all connect to the first address (gRFC A62).
The option is disabled by default.
pkg/configopaque: Add an Equal method to configopaque.String that compares its contents with a string using subtle.ConstantTimeCompare. (#16463)
pkg/pdata: Add ValidateUTF8 and RejectInvalidUTF8 methods to the OTLP ExportRequest types (#11449)
The methods are available on ptraceotlp.ExportRequest, pmetricotlp.ExportRequest, plogotlp.ExportRequest and pprofileotlp.ExportRequest.
ValidateUTF8 reports whether every string in the request is valid UTF-8.
RejectInvalidUTF8 removes the smallest signal units (spans, data points, log records, profiles) that contain invalid UTF-8 and returns how many were removed.
pkg/pdata: Add SanitizeUTF8 to the OTLP ExportRequest types to replace invalid UTF-8 byte sequences in all string fields with U+FFFD (#11449)
pkg/processor: Added PipelineID to processor.Settings. (#16398)
The service graph will now populate this field so a processor will know what pipeline its current instance belongs to.
pkg/configtls: Update tpm::auth and tpm::owner_auth fields as opaque so they are redacted like key_pem. (#16435)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Module set beta, Version v0.165.0
Module set beta, Version v0.165.0
pkg/confighttp: Remove deprecated fields IdleConnTimeout, MaxIdleConns, MaxIdleConnsPerHost, DisableKeepAlives. (#15973)pkg/xreceiverhelper: Add xreceiverhelper with an ObsReport that reports profile sample metrics per sample type. (#16251)
ObsReport.EndProfilesOpBySampleType records the
otelcol_receiver_{accepted,refused,failed}_profile_samples metrics with an additional
sample_type attribute, formatted as "type:unit", as a single payload can hold multiple profiles
with different sample types. Use ProfileSampleCountsByType to compute the sample counts before
the profiles are passed to the next consumer, as the data may be mutated downstream.
The OTLP receiver now uses EndProfilesOpBySampleType.pkg/configmiddleware: allow to override the dialer used by confighttp.ToClient and configgrpc.ToClient (#16019)pkg/featuregate: Allow underscores in feature gate IDs. (#16243)pkg/pdata: Improve performance of pcommon.Map Get, Range, and All functions. (#16282, #16321)pkg/pdata: Reduce number of allocations when updating an oneof primitive (#16226)pkg/service: Service now supports configuring additional resource detectors for internal telemetry as per the update to otelconf v0.26.0. (#15869)pkg/service: Warn at startup when a pipeline combines the batch processor with exporterhelper batching. (#15965)
Detection does not cross connectors or inspect exporter wrappers that hide exporterhelper's batching capability.pkg/xprocessorhelper: Instrument xprocessorhelper.NewProfiles with otelcol_processor_incoming_items, otelcol_processor_outgoing_items, and otelcol_processor_internal_duration, consistent with the other signal constructors. (#15523)processor/memory_limiter: Add garbage_collector config section to allow disabling forced garbage collection via enabled field. (#15081)processor/queue_batch: Promote the queue_batch processor to beta for traces, metrics, and logs, and to alpha for profiles. (#12022)processor/queue_batch: Report queue and batch metrics as processor metrics (#14038)cmd/mdatagen: Fix panic in Attribute.TestValue() and Attribute.TestValueTwo() when handling single-element or empty enum attributes. (#15644)
cmd/mdatagen: Fix generated metrics tests failing when a metric migration's through_gates feature gates are promoted past alpha. (#16249)
The generated tests now explicitly set the migration feature gates for each test case and restore
their previous state on cleanup, instead of assuming the gates are disabled by default.
When a gate's stage forbids the state a case needs, such as disabling a stable gate, the metrics-builder
test skips only its gate-dependent count and warning assertions, and the per-combination versioned-metric
sub-tests for that combination are skipped.
cmd/mdatagen: Generate README configuration docs for exported_configs definitions. (#16164)
Object definitions and scalar type aliases under exported_configs are now rendered in the README after the config: table.
Packages that only declare exported_configs can now get generated docs once their README contains the config markers.
Components that only declare exported_configs no longer get an empty configuration table.
cmd/schemagen: Handle file-not-found errors when loading schemas (#15925)
pkg/configgrpc: Bound the zstd decoder window by the configured maximum receive message size instead of the library default. (#16280)
A zstd frame declares its window in the header and the decoder allocated it
before producing any output, so a small crafted message could drive a large
allocation regardless of max_recv_msg_size_mib. The decoder is also
returned to its pool as soon as gRPC is done with a message.
pkg/confighttp: Bound the zstd decoder window by max_request_body_size instead of the library default. (#16280)
A zstd frame declares its window in the header and the decoder allocated it
before producing any output, so a small crafted body could drive a large
allocation regardless of the configured request body size.
pkg/confighttp: Accept Content-Encoding: identity as equivalent to no encoding. (#15122)
pkg/exporterhelper: Fix a Cannot unref freed data panic when a persistent sending queue forwards requests into another pipeline (#15256)
pkg/exporterhelper: With wait_for_result, canceling a request that the sending queue already accepted no longer returns early (#16255)
Previously a canceled context made it return context.Canceled while the request was still
delivered, so callers could report a failure for data that had been sent. Canceling still takes
effect while nothing has been done with the request.
pkg/pdata: Add recursion depth limit (100) to proto unmarshalling of AnyValue, ArrayValue, KeyValueList, and KeyValue to prevent stack overflow from maliciously crafted deeply nested payloads. (#15301)
pkg/service: Skip graph nodes that have not been built during shutdown to prevent a panic when a partial receiver reload fails to build a receiver. (#16261)
<!-- previous-version -->
pkg/componentstatus: Deprecate componentstatus.Watcher in favour of extensioncapabilities.ComponentStatusWatcher (#16304)pkg/xreceiverhelper: Add xreceiverhelper with an ObsReport that reports profile sample metrics per sample type. (#16251)
ObsReport.EndProfilesOpBySampleType records the
otelcol_receiver_{accepted,refused,failed}_profile_samples metrics with an additional
sample_type attribute, formatted as "type:unit", as a single payload can hold multiple profiles
with different sample types. Use ProfileSampleCountsByType to compute the sample counts before
the profiles are passed to the next consumer, as the data may be mutated downstream.
The OTLP receiver now uses EndProfilesOpBySampleType.pkg/confighttp: Mark confighttp as stable (#9380)receiver/otlp: Migrate the OTLP receiver configuration to metadata.yaml and generate its config schema from the metadata. (#16212)<!-- previous-version -->
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Module set beta, Version v0.164.0
Module set beta, Version v0.164.0
cmd/mdatagen: Add support for supported_platforms in component metadata, allowing generated component tests to target explicitly supported platforms (#13319)cmd/mdatagen: Fix the generated dataPointKey function triggering gosec G115 (uint64 to int64 conversion) in components that use mdatagen. (#16176)
The generated hash values are unchanged.
exporter/otlp_http: Report the URL the request was actually sent to in HTTP status error messages when a middleware rewrites the request URL. (#14673)
Middleware RoundTrippers that clone the request before rewriting its URL left
the configured placeholder URL in 4xx/5xx error messages. The exporter now
reads the destination from the response instead.
pkg/otelcol: Redact non-empty literal defaults in unexpanded env provider references such as ${env:NAME:-literal} in the raw config reported by the OpAMP extension when reports_raw_config is enabled (#16141)
Empty defaults such as ${env:NAME:-} stay visible. Other provider schemes are unchanged.
<!-- previous-version -->
pkg/xpdata: Add xhash.WithUint64 to hash a uint64 value without converting it to int64. (#16176)
It produces the same hash as xhash.WithValue(pcommon.NewValueInt(int64(v))).pkg/exporterhelper: Expose PartitionConfig and NewDefaultPartitionConfig so that users can modify it. (#16197)<!-- previous-version -->
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Module set beta, Version v0.163.0
Module set beta, Version v0.163.0
cmd/builder: Add dist.resource.detection.detectors to the builder config, letting distributions opt into a smaller set of resourcedetectionprocessor detectors via generated go build tags. (#16075)cmd/mdatagen: Generate exporter queue/batch sender defaults from an opt-in sending_queue field in metadata.yaml. See the batching migration RFC. (#15963)
Declaring sending_queue is opt-in; an exporter that omits it is unaffected until it explicitly opts in one at a time during Phase 2 of the migration. Set MDATAGEN_SENDING_QUEUE_OPT_OUT=true to generate the standard default for every undeclared exporter while auditing a whole repository.pkg/pprofile: Implement Profiles development-version metadata in the OTLP receiver and exporters. (#16147, #16009)
The receiver rejects malformed, repeated, or unsupported versions before decoding.
OTLP exporters send the version associated with their compiled-in Profiles schema.
The version is not configurable, and existing clients without metadata identify
the initial development version.cmd/mdatagen: Replace the O(n) scan in generated recordDataPoint with an O(1) hash lookup, fixing an O(n²) cost per scrape when many data points land on one resource. (#15912)
cmd/mdatagen: When both migration gates are enabled, only the latest metric with its v1 attributes is emitted (legacy attributes are no longer included). (#15979)
pkg/exporterhelper: Fix sending queue deadlocks when blocked offers are cancelled with block_on_overflow enabled. (#15700)
pkg/exporterhelper: Drop only the oversized profile when splitting a profiles batch, instead of discarding every profile queued behind it (#16087)
Same fix as
pkg/exporterhelper: Drop only the oversized span when splitting a traces batch, instead of discarding every span queued behind it (#16087)
Same fix as
pkg/pprofile: Use the profiles dictionary for resource and scope attribute strings sent over OTLP/gRPC. (#15861)
The OTLP/gRPC profiles client now interns attribute strings before transmission, matching the OTLP/HTTP path. The server resolves the references before exposing pdata to consumers.
pkg/xpdata: Fix xhash producing the same hash for different maps by length-prefixing keys, strings and bytes. (#16048)
All hash values produced by xhash change.
<!-- previous-version -->
pkg/component: Document compatibility guidelines for adding fields to public structs in the component interface RFC. (#16069)pkg/pprofile: Implement Profiles development-version metadata in the OTLP receiver and exporters. (#16147, #16009)
The receiver rejects malformed, repeated, or unsupported versions before decoding.
OTLP exporters send the version associated with their compiled-in Profiles schema.
The version is not configurable, and existing clients without metadata identify
the initial development version.pkg/otelcol: Redact config opaque MapList values in unexpanded configuration snapshots (#15980)<!-- previous-version -->
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Module set beta, Version v0.162.0
Module set beta, Version v0.162.0
cmd/mdatagen: Generated processor lifecycle tests now assert that the processor propagates the incoming context unchanged to the next consumer by default. (#15994)
Disable with skip_context_propagation: true
processor/queue_batch: Rename queuebatch processor to queue_batch processor. (#14396)
extension/memory_limiter: Add otelcol_memorylimiter_refused_requests metric to record network request refusals in extension mode. (#15561)
pkg/confighttp: Enable keepalive configuration by default. (#16026)
Introduces the feature gate pkg.confighttp.PrioritizeNewKeepalive. When disabled, this flag
restores the old behaviour of removing the keepalive configuration in favour
of the deprecated fields IdleConnTimeout, MaxIdleConns, MaxIdleConnsPerHost,
DisableKeepAlives when the flag is disabled.
pkg/exporterhelper: Make the partition idle timeout configurable via batch::partition::idle_timeout and raise the default to 90s. (#15894)
pkg/exporterhelper: Make the multi-batcher partition LRU cache size configurable and export cache size metrics. (#14526)
Adds sending_queue::batch::partition::cache_size (default 10000) to cap the
number of active partition batchers. The value
must be positive. Current size and configured capacity are exported as
otelcol_exporter_queue_batch_partition_cache_size
and otelcol_exporter_queue_batch_partition_cache_capacity.
pkg/pprofile: Speed up profiles dictionary merging during exporter-queue batching by replacing the linear-scan dedup in switchDictionary with an indexed lookup, reducing per-merge cost from O(N*L^2) to O(N+L). (#15544)
No behavior change: merged dictionary contents and remapped indices are identical to before.
pkg/receiverhelper: Stop allocating a span link that is always discarded when a long-lived-context receiver starts an operation without a parent span context. (#15998)
Receivers created with LongLivedCtx: true no longer build a trace.Link when the
long-lived context carries no valid span context. The SDK already discarded such a link,
so behaviour is unchanged. This removes 3 of 7 allocations per receive operation.
pkg/xpdata: Reduce the time xhash.MapHash takes for maps with many entries. (#15990)
exporter/debug: Support known sync error handling on AIX (#15924)
Enable the debug exporter to handle known synchronous errors on AIX.
pkg/exporterhelper: Drop only the oversized item when splitting a batch, instead of discarding every item queued behind it (#15936)
Applied to logs only for now
pkg/exporterhelper: Add exporter and data_type attributes to exporter/enqueue spans. (#16022)
receiver/otlp: Error handler preserves the HTTP status code when the request Content-Type is not one a Status can be encoded in (#15995)
Extends the fix in #13414, which handled a missing Content-Type. A Content-Type that was
present but unsupported, or malformed, still fell through to
500 {"code": 13, "message": "failed to marshal error message"}, reporting client errors
such as 401 from a server auth extension or 400 from an unsupported Content-Encoding as
server faults.
<!-- previous-version -->
pkg/pprofile: Remove deprecated AggregationTemporality, Duration, SetDuration (#15855)pkg/scraperhelper/controller: Remove deprecated AddScraper func (#15934)pkg/service: Remove deprecated ZapOptions (#15935)pkg/xconfmap: Remove deprecated WithForceUnmarshaler func (#15932)pkg/pdata: avoid allocations in WriteInt64 and WriteUint64 (#15629)cmd/schemagen: Accept components written without a configuration body in the generated Collector configuration schema (#15728)
pkg/confmap: Fix bug where an escaped URI appearing before a valid URI prevented the subsequent URI from being expanded. (#15867)
URI scanning now continues after an escaped URI while preserving the escaped expression as literal text.
pkg/featuregate: Reject feature gate IDs with an empty dot-separated segment (leading, trailing, or consecutive dots), e.g. .foo, foo., foo..bar. (#15676)
pkg/pprofile: Stop erasing inline attribute keys when key_strindex is unset, and clear key_strindex once it is resolved. (#15793)
pkg/pprofile: Reference resource and scope attribute strings via the ProfilesDictionary string table when marshaling and unmarshaling OTLP profiles export requests. (#15792)
pkg/scraperhelper: Fix shutdown being delayed by extra scrapes when a scrape runs longer than the collection interval (#15736)
If a scrape was still running when the next tick fired, the pending tick and the shutdown
signal could both be ready when it finished and the controller chose between them at random.
cmd/mdatagen: Allow config metadata authors to choose configoptional.Some or configoptional.Default for generated optional fields (#15977)
Set go_struct.optional_mode: default to generate an optional object configuration
section with a fallback default while keeping it absent until configured. Omitting
optional_mode preserves the existing configoptional.Some behavior.
pkg/config/configgrpc: Migrate core types of common settings for a gRPC client to schema-based configuration generated by mdatagen. (#15967)
pkg/exporterhelper: Add NewDefaultBatchConfig to build a BatchConfig with default values, including the partition cache_size and idle_timeout defaults. (#14526, #15894)
pkg/exporterhelper: Make the partition idle timeout configurable via batch::partition::idle_timeout and raise the default to 90s. (#15894)
pkg/exporterhelper: Make the multi-batcher partition LRU cache size configurable and export cache size metrics. (#14526)
Adds sending_queue::batch::partition::cache_size (default 10000) to cap the
number of active partition batchers. The value
must be positive. Current size and configured capacity are exported as
otelcol_exporter_queue_batch_partition_cache_size
and otelcol_exporter_queue_batch_partition_cache_capacity.
pkg/xpdata: Move pdata hash APIs from the contrib repo (#15914)
cmd/schemagen: Fix RefResolver mutating shared, cached type definitions with per-occurrence annotations, which caused generated schemas to have incorrect (and run-to-run nondeterministic) description/x-optional/x-pointer values whenever multiple fields referenced the same type. (#15984)pkg/pdata: Fix pcommon.Value.CopyTo to deep-copy ValueTypeBytes values instead of sharing the backing array (#15621)
The bytes oneof field in CopyAnyValue was assigned directly, so the copy and source shared the same []byte.
This also affected Map.CopyTo and Slice.CopyTo, which delegate to CopyAnyValue.One column per month.