This Splunk OpenTelemetry Collector release includes changes from the opentelemetry-collector v0.166.0
and the opentelemetry-collector-contrib v0.166.0 releases where appropriate.
🛑 Breaking changes 🛑
- (Splunk)
receiver/gnmi: The receiver now treats an omitted gNMI origin asopenconfig, so such updates matchorigin: openconfigsubscriptions instead of being silently dropped. (#8474)
Metric names for updates with empty origin now carry theopenconfig.prefix. For example
interfaces.interface.state.counters.in-octetsbecomesopenconfig.interfaces.interface.state.counters.in-octets.
Dashboards and detectors that use the old names need to be updated. - (Splunk)
installer: Remove the deprecated--hec-urland-hec_urlinstaller parameters. (#8465)
Use--ingest-urlor-ingest_urlto configure the ingest endpoint; the HEC endpoint is derived from it. - (Splunk)
receiver/smartagent: Remove the deprecated Smart Agentkubernetes-eventsmonitor. (#8454)
Use thek8s_eventsreceiver instead. - (Contrib)
cmd/opampsupervisor: Remove the deprecatedreports_remote_configcapability option. (#49763)
Supervisor configs that still setreports_remote_configfail to load. Useaccepts_remote_config, which enables both the AcceptsRemoteConfig and ReportsRemoteConfig OpAMP capabilities. - (Contrib)
exporter/signalfx: Exclude and deprecate metrics produced by the default translation rules that are not used by Splunk Observability Cloud built-in content. (#52847)
The following metrics are now excluded by default:memory.total,process.cpu_time_seconds,
system.disk.operations.total,system.network.io.total,system.network.packets.total.
They can be re-enabled withinclude_metrics, which logs a deprecation warning naming the replacement. - (Contrib)
extension/headers_setter: Change the type of the headervalueoption toconfigopaque.Stringso it is redacted when the configuration is printed. (#53263) - (Contrib)
processor/resource_detection: Thegcpdetector now emitsgcp.cloud_run.job.task_indexas an integer instead of a string. (#52807) - (Contrib)
receiver/azure_blob: Change the type of theconnection_stringandevent_hub.endpointoptions toconfigopaque.Stringso they are redacted when the configuration is printed. (#53196) - (Contrib)
receiver/azure_event_hub: Change the type of theconnectionand blob checkpoint storeconnectionoptions toconfigopaque.Stringso they are redacted when the configuration is printed. (#53195) - (Contrib)
receiver/azure_monitor: Convert Azure Monitor metric units to UCUM, for exampleBytestoBy. (#52325) - (Contrib)
receiver/azure_monitor: Change the type of theclient_secretoption toconfigopaque.Stringso it is redacted when the configuration is printed. (#53194) - (Contrib)
receiver/kafka: Remove the deprecatedpartition_processing.max_buffered_batchesoption. (#52922)
Usepartition_processing.max_prefetch.batchesinstead. - (Contrib)
receiver/oracledb: Change the type of thedatasourceandpasswordoptions toconfigopaque.Stringso they are redacted when the configuration is printed. (#53261) - (Contrib)
receiver/prometheus_remote_write: Enforce PRW 2.0 HTTP POST method,snappyblock-formatContent-Encoding(415withAccept-Encodingon unsupported encodings,400on framed streams), RFC 9110Content-Typeparsing withmodevalidation, and RFC 7694Acceptheaders on415responses. (#53273)
compression_algorithmsnow defaults to["snappy"], and thesnappydecoder rejects framed Snappy streams (400 Bad Request).
Configurecompression_algorithmsexplicitly for non-snappyencodings, or enablex-snappy-framedfor framed Snappy streams. - (Contrib)
receiver/snmp: Change the type of thecommunityoption toconfigopaque.Stringso it is redacted when the configuration is printed. (#53319) - (Contrib)
receiver/sql_query: Change the type of thedatasourceoption toconfigopaque.Stringso it is redacted when the configuration is printed. (#53317) - (Contrib)
receiver/sql_query: Update the default scraping interval to 60s (from 10s) (#53345)
You can set the collection interval back to 10s with:receivers: sql_query: collection_interval: 10s - (Contrib)
receiver/sql_server: Change the type of thedatasourceoption toconfigopaque.Stringso it is redacted when the configuration is printed. (#53316) - (Contrib)
receiver/ssh_check: Change the type of thepasswordoption toconfigopaque.Stringso it is redacted when the configuration is printed. (#53315) - (Contrib)
receiver/windows_event_log: Change the type of theremote.passwordoption toconfigopaque.Stringso it is redacted when the configuration is printed. (#53312)
🚩 Deprecations 🚩
- (Splunk)
deployments/nomad: Deprecate HashiCorp Nomad deployment support. (#8423)
Nomad deployment files in this repository are scheduled for removal in February 2027. Use the OpenTelemetry Collector Nomad Pack for new deployments. - (Contrib)
extension/basic_auth: Rename the 'basicauth' extension to 'basic_auth'. The old 'basicauth' type remains available as a deprecated alias. (#45339) - (Contrib)
receiver/docker_stats: Deprecatecontainer_labels_to_metric_labelsin favor ofcontainer_labels_to_resource_attributes, which follows the container resource semantic conventions. (#38131) - (Contrib)
receiver/solace: Mark component as unmaintained (#53398)
💡 Enhancements 💡
- (Splunk)
receiver/gnmi: Promote the gNMI receiver stability fromdevelopmenttoalpha. (#8466) - (Splunk)
splunk_ta: Make the access token, realm, and config file optional in the Splunk TA input scheme. (#8457) - (Splunk)
collector: Re-enable the experimental TA runner components and theenableTARunnerfeature gate, reverting their removal. (#8469) - (Splunk)
otelcollauncher: Add support-bundle CLI commandotelcollauncherfor collecting troubleshooting data. (#8444)
The command is intended to replace the support bundle scripts, which are still shipped with the collector.
Checkotelcollauncher support-bundle helpfor details on how to use the command. - (Splunk)
Splunk_TA_otel: Expand environment variable references such as$SPLUNK_HOMEin the*_cmd_argsparameters of the Splunk TA modular input. (#8468) - (Splunk)
packaging: Update Splunk OpenTelemetry .NET agent to v1.18.0 (#8502)
This agent version drops support for applications running on .NET 8 and .NET 9. - (Splunk)
packaging: Update Splunk OpenTelemetry Java agent to v2.34.0 (#8485) - (Splunk)
packaging: Update Splunk OpenTelemetry Node.js agent to v4.14.0 (#8486) - (Core)
pkg/configgrpc: Add thepick_first.shuffle_address_listoption to shuffle the resolved address list for gRPC clients that use thepick_firstbalancer. (#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. - (Core)
pkg/configmiddleware: allow listener middleware extensions to create HTTP and gRPC server listeners (#16029) - (Core)
pkg/service: Log whether the Collector runs in FIPS 140-3 mode in the startup log line. (#16346)
TheStarting ...log line gets aFIPS140field with the value ofcrypto/fips140.Enabled(),
so operators can confirm from the Collector's own logs thatGODEBUG=fips140=onis in effect. - (Core)
pkg/xscraperhelper: Report receiver telemetry for profiles scraped byNewProfilesController, as is done for the other signals. (#16399) - (Core)
receiver/otlp: Addreceiver.otlp.sanitizeInvalidUTF8feature gate to replace invalid UTF-8 in OTLP requests with U+FFFD instead of forwarding invalid data downstream (#11449)
This behavior is behind thereceiver.otlp.sanitizeInvalidUTF8feature 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.
Ifreceiver.otlp.rejectInvalidUTF8is also enabled, it takes precedence and invalid items are rejected instead. - (Contrib)
cmd/opampsupervisor: Add an opt-in setting to include the Supervisor instance ID in Collector telemetry (#50760)
Setagent.description.include_supervisor_instance_idtotrueto add the
Supervisor'sservice.instance.idassupervisor.service.instance.id.
The setting defaults tofalse. - (Contrib)
connector/span_metrics: Add an optionalduration_self_timehistogram metric that reports span self time (exclusive time) (#50029)
Disabled by default. Whenhistogram::self_timeis set totrue, the connector emits
traces.span.metrics.duration_self_time, which is the duration of a span minus the merged duration of its
direct children. The metric uses the same unit, buckets, and dimensions as the duration metric, and
calls,duration, andeventsare unchanged.
Self time is computed from the parent-child tree of each consumed batch, so a batch must hold
complete traces. Placegroupbytracebefore the connector in the traces pipeline. Traces that are
only partially present in a batch produce no self-time value. - (Contrib)
exporter/awskinesis: Make the HTTP client's idle connection timeout configurable viaidle_conn_timeout. (#52798) - (Contrib)
exporter/google_cloud_storage: Add metrics exporting support to googlecloudstorageexporter. (#53079)
Metrics can now be exported to Google Cloud Storage. Unmarshaled metrics default to pmetric.JSONMarshaler, and custom encoding extensions implementing pmetric.Marshaler can be configured. - (Contrib)
exporter/prometheus_remote_write: Keep a bounded set of buffers per exporter to serialize and compress requests, instead of a pool shared by all the exporters. (#52820)
Each exporter keeps a buffer for every worker that can encode a request at the same time, at most
GOMAXPROCS of them, and a request waits for a free buffer to be encoded. - (Contrib)
exporter/splunk_hec: Split and resend a batch that Splunk rejects as too large (HTTP 413) instead of dropping it (#51393)
When Splunk rejects a batch with HTTP 413 (request entity too large) - for
example when its configured limit is smaller than the exporter's
max_content_length - the exporter now splits the rejected logs in half and
resends each half, repeating until the batches are accepted. A single log
record that is still rejected cannot be split further and is dropped as a
permanent error, mirroring Splunk's own behavior of disregarding events larger
than its maximum event size. This applies to the logs signal. - (Contrib)
exporter/splunk_hec: Count requests that Splunk accepts but reports as approaching queue or ack capacity (#51393)
On a 200 response Splunk may report codes 24 or 25, meaning the data was
accepted but the HEC queue or ack channel is approaching its capacity limit.
The exporter previously discarded the response body and ignored these signals.
It now inspects the body and increments the
otelcol_exporter_splunkhec_approaching_capacitycounter, with a
splunk_response_codeattribute, so operators can alert on the pressure.
Each occurrence is also logged at Debug level.
The data is not resent (it was accepted, so retrying would duplicate it); the
at-capacity codes 26/27 already surface as retryable 429 responses. - (Contrib)
pkg/stanza: Pre-validate the tokens read from the file to determine if they are already utf-8, and skip transcoding if so. (#53082)
This will reduce CPU usage when reading data from files already encoded in utf-8. - (Contrib)
pkg/stanza: Adddrop_fieldfunctionality to all parser operators. (#50362)
This allows all parser operators to delete a field after the data is parsed out of it. - (Contrib)
processor/k8s_attributes: Add support for extracting labels and annotations from HorizontalPodAutoscalers. (#50682) - (Contrib)
processor/resource_detection: Use the upstreamgo.opentelemetry.io/contrib/detectors/consulSDK detector for theconsuldetector. (#48159)
An unreadabletoken_fileor invalidaddressno longer fails processor startup, and is only an error withfail_on_missing_metadata.
A missing node name, datacenter or node ID now gives a partial result instead of an error. - (Contrib)
processor/resource_detection: Add optional EC2 host metadata lookup through AWS APIs to the ECS detector when host attributes are enabled. (#52549) - (Contrib)
processor/resource_detection: Use the upstream OpenTelemetry Go SDK detector for theazuredetector. (#48159)
Azure IMDS requests now use api-version2021-12-13and bypass any configured HTTP proxy. - (Contrib)
processor/resource_detection: Use the upstreamazureaksSDK detector for theaksdetector. (#48159)
Metadata requests no longer go through a proxy configured withHTTP_PROXY/HTTPS_PROXYand time out after 2 seconds.
k8s.cluster.nameis omitted instead of empty when the metadata response has no resource group name. - (Contrib)
processor/tail_sampling: Take all traces due a decision from tail storage in one call when the storage supports it. (#52890)
Adds the optionalBatchTailStorageinterface withTakeManyininternal/tailstorageextension.
Storages that do not implement it keep being read with oneTakeper trace. - (Contrib)
processor/tail_sampling: Reduce allocations when splitting incoming batches by trace ID by moving resources, scopes and spans instead of copying them where possible. (#52768) - (Contrib)
processor/transform: Add theprocessor.transform.enableProfilesfeature gate, enabled by default, to control profiles support. (#52564) - (Contrib)
receiver/aws_cloudwatch: Addlogs.delayto end each logs poll window that long before now, so events that CloudWatch Logs makes visible late are not skipped. (#52886) - (Contrib)
receiver/aws_cloudwatch: Add optionalk8s_leader_electorsupport so several collector replicas can share one CloudWatch receiver configuration without duplicating API calls (#51596)
Logs collection withk8s_leader_electorrequires a sharedstorageextension, such asredis_storage. - (Contrib)
receiver/azure_monitor: Log the delay between Azure metric data point timestamps and collection time at debug level. (#51297) - (Contrib)
receiver/docker_stats: Addcontainer_labels_to_resource_attributesto record matching container labels ascontainer.label.<key>resource attributes. (#38131) - (Contrib)
receiver/docker_stats: Declare Windows a supported platform and document which metrics are unavailable there. (#52645) - (Contrib)
receiver/fluent_forward: Addmax_connectionsto configure the connection limit. (#51518)
max_connectionsdefaults to 100, the previous hardcoded limit. - (Contrib)
receiver/k8s_cluster: Add opt-in collection ofk8s.containermetrics for sidecar, init and ephemeral containers. (#42571) - (Contrib)
receiver/kafka: Add partition data-wait, in-flight record, and processing-stage duration metrics for independent processing. (#53176) - (Contrib)
receiver/kubelet_stats: Promotek8s.pod.cpu.timeandk8s.node.cpu.timeto beta stability and align them with Semantic Conventions v1.44.0. (#50728) - (Contrib)
receiver/kubelet_stats: Addreceiver.kubelet_stats.cpuUtilizationRoundingalpha feature gate that removes excessive float64 precision from pod and container CPU utilization metrics. (#47988)
When enabled,k8s.{pod,container}.cpu.node.utilization,k8s.{pod,container}.cpu_limit_utilization
andk8s.{pod,container}.cpu_request_utilizationare computed from integer nanocore values and rounded
to the significant digits justified by the inputs. - (Contrib)
receiver/kubelet_stats: Emitcontainer.memory.usage,container.memory.available,container.memory.rssandcontainer.memory.working_setas UpDownCounters following the release candidate semantic conventions, behind feature gates. (#50728)
Enable with thereceiver.kubelet_stats.EmitV1K8sConventionsandreceiver.kubelet_stats.DontEmitV0K8sConventionsfeature gates. - (Contrib)
receiver/mysql: Addmysql.blocking.blocker.detailsandmysql.blocking.blocker.countattributes todb.server.query_sample, surfacing concurrent InnoDB row-lock blockers for a sampled session. (#51307) - (Contrib)
receiver/mysql: Addmysql.table.auto_increment.limit,mysql.table.auto_increment.usage, andmysql.table.auto_increment.utilizationmetrics to track how close a table's auto-increment column is to its integer range limit. (#52287) - (Contrib)
receiver/prometheus: Add experimental OpenMetrics 2.0 scraping support behind thereceiver.prometheus.EnableOpenMetrics2alpha feature gate and addOpenMetricsText2.0.0to supportedscrape_protocols. (#53280) - (Contrib)
receiver/prometheus_remote_write: Adds an alpha feature gatereceiver.prometheus_remote_write.disableJobSplitto map thejoblabel directly toservice.namewithout splitting, aligning with theprometheusreceiver. (#52626) - (Contrib)
receiver/snmp: Add optional UDP SNMP trap reception as logs. (#32358)
Logs support is in development. SNMPv3 informs are not supported. - (Contrib)
receiver/sql_server: Addsqlserver.workload_group.nameattribute tosqlserver.lock.wait.countandsqlserver.resource_pool.nameattribute tosqlserver.memory.usage, so data points reported per Resource Governor workload group/resource pool are distinguishable. (#52680) - (Contrib)
receiver/sql_server: Addsqlserver.thread_pool.task.countmetric, reporting scheduler task-queueing state. (#52413)
This metric is disabled by default. - (Contrib)
receiver/sql_server: Addsqlserver.wait.start_timeattribute todb.server.query_sampleevent to capture the timestamp when the current wait started. (#52460) - (Contrib)
receiver/statsd: Reduce allocations when parsing metrics (#53285) - (Contrib)
receiver/syslog: Addallow_rfc3339_timestampandallow_second_fractionsoptions for parsing RFC 3339 and fractional-second timestamps in RFC 3164 messages. (#49040) - (Contrib)
receiver/vcenter: Add host, datastore and virtual machine state metrics (#47176)
The following metrics are added and disabled by default:vcenter.host.power.statusvcenter.host.connection.statusvcenter.host.uptimevcenter.host.alarm.countvcenter.datastore.maintenance.statusvcenter.datastore.alarm.countvcenter.vm.power.status
- (Contrib)
scraper/hardware: Add hardwarescraper -- adds Linux hardware temperature metrics from hwmon (#41269)
🧰 Bug fixes 🧰
- (Splunk)
receiver/gnmi: gNMI receiver shutdown no longer blocks while a device holds a tunnel or gnmireverse stream open. (#8487)
After a 5-second grace period, any remaining gRPC connections are closed forcibly. - (Core)
exporter/otlp_grpc: Limiting logging of theerror_messageof a partial success response to 1 KiB. (#16415) - (Core)
exporter/otlp_grpc: Bound the response headers and trailers accepted from the backend to 64 KiB. (#16415) - (Core)
exporter/otlp_http: Limit response size parsed by the exporter from upstream errors. (#16407) - (Core)
exporter/otlp_http: Do not read the body of aHTTP 101response, which blocked the export forever. (#16460) - (Core)
pkg/confighttp: SetServerNameon the internal telemetry generated instead of the request'sHostheader. (#16433) - (Core)
pkg/confighttp: Bound the cookie jar used by clients withcookiesenabled. (#16421) - (Core)
pkg/confighttp: Limit the response headers accepted by clients created byClientConfig.ToClientto 1 MiB (http.DefaultMaxHeaderBytes). (#16423) - (Core)
pkg/configtls: Updatetpm::authandtpm::owner_authfields as opaque so they are redacted likekey_pem. (#16435) - (Core)
pkg/confmap: Honor context cancellation and deadlines when retrieving configuration over HTTP and HTTPS. (#16351) - (Core)
pkg/exporterhelper: Limit retry backoff delay to themax_intervalconfigured. (#16417) - (Core)
pkg/otelcol: Redact values below sections disabled withenabled: falsein the unexpanded configuration snapshot reported by the OpAMP extension whenreports_raw_configis enabled (#16441)
ConfigSnapshot.Unexpanded()learns which leaves are opaque from the marshaled configuration.
A section disabled withenabled: falseand anomitemptyfield 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. - (Core)
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 asotlp, keeps serving the others. (#16260) - (Core)
provider/http: Redact password in URI when it is being logged. (#16418) - (Core)
receiver/otlp: Limit response size parsed by the receiver from the exporter when it receives upstream errors. (#16407) - (Core)
receiver/otlp: Addreceiver.otlp.rejectInvalidUTF8feature gate to reject invalid UTF-8 in OTLP requests instead of forwarding invalid data downstream (#11449)
This behavior is behind thereceiver.otlp.rejectInvalidUTF8feature 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. - (Core)
receiver/otlp: Bound the timeShutdownwaits for in-flight requests so that a peer holding an incomplete request open cannot block collector shutdown or config reload indefinitely. (#16462) - (Contrib)
cmd/opampsupervisor: Report an interrupted remote configuration application as FAILED with its original hash after a Supervisor restart. (#52300)
With automatic_config_rollback enabled, a last working configuration is used on restart if available. - (Contrib)
cmd/opampsupervisor: Regenerate persistent state instead of panicking when the state file is empty,null, or{}(#52720) - (Contrib)
connector/span_metrics: Start new cumulativedurationhistogram series at zero, ascallsalready does, sorate()andincrease()count a series' first batch of spans. (#52354)
On the first cumulative flush of a new explicit or exponential histogram series the connector now reports
a zero count, sum and bucket counts. The accumulated values are reported from the next flush on.
Series that come back aftermetrics_expirationorseries_expirationremoved them are new series and start at zero again.
Exemplars collected before the first flush are no longer attached to the zero point. They are reported
with the next data point, which holds the observations they belong to. This also applies tocalls.
A new series is not removed byseries_expirationbefore it has reported its accumulated values once.
Delta temporality is not affected. - (Contrib)
exporter/file: Applycompression_params.levelwhen theexporter.file.nativeCompressionfeature gate is disabled; an unset level now uses the zstd default level under the feature gate. (#51516) - (Contrib)
exporter/file: Writetext_encodingoutput newline-delimited instead of length-prefixed when native compression is enabled, so the decompressed file is plain text. (#49328)
Applies under theexporter.file.nativeCompressionfeature gate to encodings that support stream decoding.
Other encodings keep length-prefix framing. - (Contrib)
exporter/load_balancing: Route metrics withoutservice.nameby a hash of their resource attributes withrouting_key: service, instead of dropping them. (#52505) - (Contrib)
exporter/load_balancing: Keep routing data while exporters for new backends are created and started. (#8843)
Bound each exporter start with a 5s timeout, and leave backends that failed to start out of the hash ring.
Shutdown can still block on a hanging exporter. - (Contrib)
exporter/prometheus_remote_write: Release the encoding buffers and translated time series of a request before it is sent, so that a request waiting for the endpoint or between retries holds only its compressed payload. (#52809) - (Contrib)
exporter/prometheus_remote_write: Sort native histograms by timestamp in ascending order when assembling remote-write v1 and v2 requests. (#52944) - (Contrib)
exporter/prometheus_remote_write: Drop a write-ahead log batch rejected by the remote endpoint whenretry_on_failureis enabled, instead of re-sending it forever. (#53040) - (Contrib)
exporter/prometheus_remote_write: Drop explicit histogram data points without a sum instead of converting them to NHCB with a zero sum whenconvert_explicit_histograms_to_nhcbis enabled. (#53042) - (Contrib)
extension/k8s_leader_elector: Reject invalid lease timing settings during configuration validation. (#52966) - (Contrib)
extension/k8s_observer: Fix goroutine and ticker leak in EndpointsWatcher on shutdown (#52292) - (Contrib)
pkg/fileconsumer: Return an error for apoll_intervalof zero or less instead of panicking at startup in thefilelogandotlp_json_filereceivers. (#53095) - (Contrib)
pkg/stanza: Limit memory used by the TCP input withone_log_per_packetenabled tomax_log_sizeper connection. (#53022) - (Contrib)
pkg/translator/prometheusremotewrite: Preserve the zero threshold when converting exponential histograms to Prometheus remote-write v1 and v2 native histograms. (#52834) - (Contrib)
pkg/translator/prometheusremotewrite: Align Exponential Histogram NoRecordedValue staleness marker with the specification. (#52939)
Exponential histogram staleness markers (NoRecordedValue) now leaveCount,ZeroCount, and
bucket spans/deltas empty instead of settingCountInttovalue.StaleNaNand populating
buckets. - (Contrib)
pkg/translator/prometheusremotewrite: Exportotel_scope_schema_urland enforce OpenTelemetry specification rules for scope attribute collisions. (#52938) - (Contrib)
pkg/translator/prometheusremotewrite: Attach exemplars to classic histogram _bucket series in FromMetricsV2 to align with the OpenTelemetry specification and FromMetrics. (#52941) - (Contrib)
pkg/translator/prometheusremotewrite: Enforce trace_id and span_id precedence over colliding filtered_attributes on exemplars in FromMetrics. (#52941) - (Contrib)
pkg/translator/prometheusremotewrite: Drop exemplars on Gauges and non-monotonic Sums in FromMetricsV2 to align with the OpenTelemetry specification and FromMetrics. (#52941) - (Contrib)
processor/k8s_attributes: Evict stale cache entries when a Kubernetes object is deleted and recreated with the same name and the informer delivers it as a single update event. (#53160)
Previously the entry for the old UID stayed in the Pod, ReplicaSet, Deployment, StatefulSet, DaemonSet, Job,
CronJob and HorizontalPodAutoscaler caches until the collector restarted. Old pods still go through the
delete grace period. - (Contrib)
processor/resource_detection: Theenvdetector keeps a literal+inOTEL_RESOURCE_ATTRIBUTESvalues instead of decoding it as a space. (#53094) - (Contrib)
processor/resource_detection: Fix theibmcloud_vpcdetector returning no attributes on IBM Cloud VPC instances, whose metadata service answers the token request with HTTP 201. (#50895) - (Contrib)
processor/transform: Fixset_semconv_span_namehandling of_OTHERHTTP and RPC methods and of a fully-qualifiedrpc.methodcombined with a deprecatedrpc.grpc.service. (#52567)
An_OTHERhttp.request.methodnow produces theHTTPmethod in the span name.
ForsemconvVersion1.39.0and later, an_OTHERor missingrpc.methodnow produces{rpc.system.name}as the span name, and a fully-qualifiedrpc.methodis no longer prefixed with the service. - (Contrib)
receiver/aws_cloudwatch: Fix a crash in the logs receiver when the STS call that looks up the AWS account ID fails (#50961)
Logs are still collected without thecloud.account.idresource attribute if the lookup fails. - (Contrib)
receiver/azure_event_hub: Retry with backoff instead of failing startup when the Event Hub is misconfigured and distributed consumption is disabled. (#51217) - (Contrib)
receiver/azure_monitor: Avoid invalid metric namespace discovery requests when multiple services are configured. (#50658) - (Contrib)
receiver/azure_monitor: Use the correct Azure cloud endpoint when scraping Azure Monitor with the Batch API. (#53306) - (Contrib)
receiver/docker_stats: Fix container.state.status metric to report all container states including paused and non-running containers. (#52591)
Enabling this metric adds a fullContainerList(All: true)call per scrape, which may have non-trivial cost on hosts with very high container counts. - (Contrib)
receiver/host_metrics: Include the invalid scraper key and validation reason in configuration errors. (#52963) - (Contrib)
receiver/journald: Do not lose journal entries when the collector shuts down while an entry is being delivered. (#51794) - (Contrib)
receiver/k8s_events: Avoid closing storage client and telemetry on temporary leader election loss (#53088) - (Contrib)
receiver/k8s_events: Restart the watch with backoff when the watch channel closes instead of stopping permanently, keep the persisted resourceVersion unless it expired, and log non-410 watch error events instead of forwarding them as events. (#43928) - (Contrib)
receiver/k8s_objects: Restart the watch with backoff when the watch channel closes instead of stopping permanently, and keep the persisted resourceVersion unless it expired. (#43928)
ERRORwatch events other than 410 Gone are no longer emitted as log records; they are logged by the collector at warn level. - (Contrib)
receiver/memcached: Fixmemcached.operation_hit_ratioreporting the miss ratio instead of the hit ratio (#49470)
The arguments passed to the hit-ratio helper were swapped relative to its
parameters, so the metric emitted misses / (hits + misses) rather than
hits / (hits + misses). - (Contrib)
receiver/mongodb:mongodb.flushes.ratenow reads the WiredTiger checkpoint count on MongoDB 7.0 and earlier instead of failing every scrape. (#51193) - (Contrib)
receiver/oracledb: Report errors that occur while reading query results instead of returning partial metrics, and always close the query results. (#49705) - (Contrib)
receiver/prometheus_remote_write: Fix data race and panic when accessing metrics after ConsumeMetrics (#52819)
Calculate dataPointCount prior to ConsumeMetrics to adhere to the consumer ownership contract. - (Contrib)
receiver/prometheus_remote_write: Drop labels with empty values instead of turning them into empty attributes. (#52829)
A series that carries a label with an empty value is still accepted: the label is treated as
absent, so it no longer becomes an attribute with an empty value. - (Contrib)
receiver/prometheus_remote_write: Reject remote-write 2.0 series and exemplars referencing non-UTF-8 symbols with400 Bad Request. (#53274) - (Contrib)
receiver/prometheus_remote_write: Reject metadata-onlyTimeSeriesentries with400 Bad Requestand skip metric translation for sample-lesstarget_infoand non-histogram series, as well as histogram-less histogram series. (#53274) - (Contrib)
receiver/prometheus_remote_write: Reject remote-write 2.0 requests containing invalid exemplar label references with400 Bad Requestand attach exemplars to gauge data points. (#50340) - (Contrib)
receiver/prometheus_remote_write: Refuse series whose label set carries an empty label name, and stop emitting attributes with an empty key. (#52864)
An empty label name cannot become an attribute key: a series carrying one is refused, and an
exemplar label carrying one is dropped. - (Contrib)
receiver/prometheus_remote_write: Forward valid translated metrics when a remote-write 2.0 request contains partially invalid data and do not count exemplars on refused series or dropped native histograms inX-Prometheus-Remote-Write-Exemplars-Written. (#50340) - (Contrib)
receiver/prometheus_remote_write: Fail the request with HTTP 400 for native histograms whose first bucket span starts at the minimum int32 offset, which were previously accepted although Prometheus considers them invalid. (#52948) - (Contrib)
receiver/prometheus_remote_write: Report zero items written in response headers on decode and downstream consumer errors, and defer resource cache updates until downstream consumption succeeds. (#50340) - (Contrib)
receiver/prometheus_simple: Re-read the Kubernetes service account token on each scrape whenuse_service_accountis enabled, so rotated tokens keep working. (#52601) - (Contrib)
receiver/prometheus_simple: Use the same scrape defaults as theprometheusreceiver instead of zero values. (#42031)
Scrapes now fall back to the Prometheus text format for targets that send no Content-Type,
follow redirects, request gzip compression, and enable HTTP/2. - (Contrib)
receiver/prometheus_simple: Reject anendpointthat contains a scheme or path at configuration validation instead of failing collector start with "is not a valid hostname". (#52617) - (Contrib)
receiver/saphana: Fixsaphana.backup.latestreporting a negative age due to reversedseconds_betweenarguments. (#51459) - (Contrib)
receiver/sql_server: Fixsqlserver.memory.page.countnever recording itstargetdata point. (#52699)
Caused by aTarget pagescounter name casing mismatch. - (Contrib)
receiver/statsd: Fixotelcol_receiver_received_statsd_metrics{parse_success="false"}reporting 1 per 100 parse failures instead of the actual count. (#53344)
Pending parse success and failure counts are now also reported on every aggregation interval.
Before, counts below 100 waited for the next 100th line and were lost on shutdown. - (Contrib)
receiver/statsd: Fix collector shutdown hanging when the receiver uses the TCP transport. (#53232)
The TCP server reported its normal stop as a fatal error, which blocks collector shutdown. - (Contrib)
receiver/vcenter: Report hosts in standby withpower_stateset tostandbyinstead ofunknown(#50933)
vSphere reports this power state asstandBy, which was not matched, so hosts in standby were counted asunknown
invcenter.datacenter.host.count. - (Contrib)
receiver/vcenter: Reuse the vSphere session when the user cannot validate sessions or the endpoint is an ESXi host, instead of logging in again on every scrape. (#52202)
Docker Image Manifests:
- Linux (amd64, arm64, ppc64le) and Windows (2019 amd64, 2022 amd64):
quay.io/signalfx/splunk-otel-collector:0.166.0- digest:
sha256:0d936787760a3b7163c91a8019df12a57f186633268f6b4d62adf7d4e2594986