github signalfx/splunk-otel-collector v0.166.0

53 minutes ago

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 as openconfig, so such updates match origin: openconfig subscriptions instead of being silently dropped. (#8474)
    Metric names for updates with empty origin now carry the openconfig. prefix. For example
    interfaces.interface.state.counters.in-octets becomes openconfig.interfaces.interface.state.counters.in-octets.
    Dashboards and detectors that use the old names need to be updated.
  • (Splunk) installer: Remove the deprecated --hec-url and -hec_url installer parameters. (#8465)
    Use --ingest-url or -ingest_url to configure the ingest endpoint; the HEC endpoint is derived from it.
  • (Splunk) receiver/smartagent: Remove the deprecated Smart Agent kubernetes-events monitor. (#8454)
    Use the k8s_events receiver instead.
  • (Contrib) cmd/opampsupervisor: Remove the deprecated reports_remote_config capability option. (#49763)
    Supervisor configs that still set reports_remote_config fail to load. Use accepts_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 with include_metrics, which logs a deprecation warning naming the replacement.
  • (Contrib) extension/headers_setter: Change the type of the header value option to configopaque.String so it is redacted when the configuration is printed. (#53263)
  • (Contrib) processor/resource_detection: The gcp detector now emits gcp.cloud_run.job.task_index as an integer instead of a string. (#52807)
  • (Contrib) receiver/azure_blob: Change the type of the connection_string and event_hub.endpoint options to configopaque.String so they are redacted when the configuration is printed. (#53196)
  • (Contrib) receiver/azure_event_hub: Change the type of the connection and blob checkpoint store connection options to configopaque.String so they are redacted when the configuration is printed. (#53195)
  • (Contrib) receiver/azure_monitor: Convert Azure Monitor metric units to UCUM, for example Bytes to By. (#52325)
  • (Contrib) receiver/azure_monitor: Change the type of the client_secret option to configopaque.String so it is redacted when the configuration is printed. (#53194)
  • (Contrib) receiver/kafka: Remove the deprecated partition_processing.max_buffered_batches option. (#52922)
    Use partition_processing.max_prefetch.batches instead.
  • (Contrib) receiver/oracledb: Change the type of the datasource and password options to configopaque.String so they are redacted when the configuration is printed. (#53261)
  • (Contrib) receiver/prometheus_remote_write: Enforce PRW 2.0 HTTP POST method, snappy block-format Content-Encoding (415 with Accept-Encoding on unsupported encodings, 400 on framed streams), RFC 9110 Content-Type parsing with mode validation, and RFC 7694 Accept headers on 415 responses. (#53273)
    compression_algorithms now defaults to ["snappy"], and the snappy decoder rejects framed Snappy streams (400 Bad Request).
    Configure compression_algorithms explicitly for non-snappy encodings, or enable x-snappy-framed for framed Snappy streams.
  • (Contrib) receiver/snmp: Change the type of the community option to configopaque.String so it is redacted when the configuration is printed. (#53319)
  • (Contrib) receiver/sql_query: Change the type of the datasource option to configopaque.String so 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 the datasource option to configopaque.String so it is redacted when the configuration is printed. (#53316)
  • (Contrib) receiver/ssh_check: Change the type of the password option to configopaque.String so it is redacted when the configuration is printed. (#53315)
  • (Contrib) receiver/windows_event_log: Change the type of the remote.password option to configopaque.String so 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: Deprecate container_labels_to_metric_labels in favor of container_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 from development to alpha. (#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 the enableTARunner feature gate, reverting their removal. (#8469)
  • (Splunk) otelcollauncher: Add support-bundle CLI command otelcollauncher for collecting troubleshooting data. (#8444)
    The command is intended to replace the support bundle scripts, which are still shipped with the collector.
    Check otelcollauncher support-bundle help for details on how to use the command.
  • (Splunk) Splunk_TA_otel: Expand environment variable references such as $SPLUNK_HOME in the *_cmd_args parameters 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 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.
  • (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)
    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.
  • (Core) pkg/xscraperhelper: Report receiver telemetry for profiles scraped by NewProfilesController, as is done for the other signals. (#16399)
  • (Core) 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.
  • (Contrib) cmd/opampsupervisor: Add an opt-in setting to include the Supervisor instance ID in Collector telemetry (#50760)
    Set agent.description.include_supervisor_instance_id to true to add the
    Supervisor's service.instance.id as supervisor.service.instance.id.
    The setting defaults to false.
  • (Contrib) connector/span_metrics: Add an optional duration_self_time histogram metric that reports span self time (exclusive time) (#50029)
    Disabled by default. When histogram::self_time is set to true, 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, and events are unchanged.
    Self time is computed from the parent-child tree of each consumed batch, so a batch must hold
    complete traces. Place groupbytrace before 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 via idle_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_capacity counter, with a
    splunk_response_code attribute, 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: Add drop_field functionality 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 upstream go.opentelemetry.io/contrib/detectors/consul SDK detector for the consul detector. (#48159)
    An unreadable token_file or invalid address no longer fails processor startup, and is only an error with fail_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 the azure detector. (#48159)
    Azure IMDS requests now use api-version 2021-12-13 and bypass any configured HTTP proxy.
  • (Contrib) processor/resource_detection: Use the upstream azureaks SDK detector for the aks detector. (#48159)
    Metadata requests no longer go through a proxy configured with HTTP_PROXY/HTTPS_PROXY and time out after 2 seconds.
    k8s.cluster.name is 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 optional BatchTailStorage interface with TakeMany in internal/tailstorageextension.
    Storages that do not implement it keep being read with one Take per 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 the processor.transform.enableProfiles feature gate, enabled by default, to control profiles support. (#52564)
  • (Contrib) receiver/aws_cloudwatch: Add logs.delay to 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 optional k8s_leader_elector support so several collector replicas can share one CloudWatch receiver configuration without duplicating API calls (#51596)
    Logs collection with k8s_leader_elector requires a shared storage extension, such as redis_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: Add container_labels_to_resource_attributes to record matching container labels as container.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: Add max_connections to configure the connection limit. (#51518)
    max_connections defaults to 100, the previous hardcoded limit.
  • (Contrib) receiver/k8s_cluster: Add opt-in collection of k8s.container metrics 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: Promote k8s.pod.cpu.time and k8s.node.cpu.time to beta stability and align them with Semantic Conventions v1.44.0. (#50728)
  • (Contrib) receiver/kubelet_stats: Add receiver.kubelet_stats.cpuUtilizationRounding alpha 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
    and k8s.{pod,container}.cpu_request_utilization are computed from integer nanocore values and rounded
    to the significant digits justified by the inputs.
  • (Contrib) receiver/kubelet_stats: Emit container.memory.usage, container.memory.available, container.memory.rss and container.memory.working_set as UpDownCounters following the release candidate semantic conventions, behind feature gates. (#50728)
    Enable with the receiver.kubelet_stats.EmitV1K8sConventions and receiver.kubelet_stats.DontEmitV0K8sConventions feature gates.
  • (Contrib) receiver/mysql: Add mysql.blocking.blocker.details and mysql.blocking.blocker.count attributes to db.server.query_sample, surfacing concurrent InnoDB row-lock blockers for a sampled session. (#51307)
  • (Contrib) receiver/mysql: Add mysql.table.auto_increment.limit, mysql.table.auto_increment.usage, and mysql.table.auto_increment.utilization metrics 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 the receiver.prometheus.EnableOpenMetrics2 alpha feature gate and add OpenMetricsText2.0.0 to supported scrape_protocols. (#53280)
  • (Contrib) receiver/prometheus_remote_write: Adds an alpha feature gate receiver.prometheus_remote_write.disableJobSplit to map the job label directly to service.name without splitting, aligning with the prometheusreceiver. (#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: Add sqlserver.workload_group.name attribute to sqlserver.lock.wait.count and sqlserver.resource_pool.name attribute to sqlserver.memory.usage, so data points reported per Resource Governor workload group/resource pool are distinguishable. (#52680)
  • (Contrib) receiver/sql_server: Add sqlserver.thread_pool.task.count metric, reporting scheduler task-queueing state. (#52413)
    This metric is disabled by default.
  • (Contrib) receiver/sql_server: Add sqlserver.wait.start_time attribute to db.server.query_sample event to capture the timestamp when the current wait started. (#52460)
  • (Contrib) receiver/statsd: Reduce allocations when parsing metrics (#53285)
  • (Contrib) receiver/syslog: Add allow_rfc3339_timestamp and allow_second_fractions options 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.status
    • vcenter.host.connection.status
    • vcenter.host.uptime
    • vcenter.host.alarm.count
    • vcenter.datastore.maintenance.status
    • vcenter.datastore.alarm.count
    • vcenter.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 the error_message of 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 a HTTP 101 response, which blocked the export forever. (#16460)
  • (Core) pkg/confighttp: Set ServerName on the internal telemetry generated instead of the request's Host header. (#16433)
  • (Core) pkg/confighttp: Bound the cookie jar used by clients with cookies enabled. (#16421)
  • (Core) pkg/confighttp: Limit the response headers accepted by clients created by ClientConfig.ToClient to 1 MiB (http.DefaultMaxHeaderBytes). (#16423)
  • (Core) pkg/configtls: Update tpm::auth and tpm::owner_auth fields as opaque so they are redacted like key_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 the max_interval configured. (#16417)
  • (Core) 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.
  • (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 as otlp, 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: 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.
  • (Core) 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)
  • (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 cumulative duration histogram series at zero, as calls already does, so rate() and increase() 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 after metrics_expiration or series_expiration removed 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 to calls.
    A new series is not removed by series_expiration before it has reported its accumulated values once.
    Delta temporality is not affected.
  • (Contrib) exporter/file: Apply compression_params.level when the exporter.file.nativeCompression feature gate is disabled; an unset level now uses the zstd default level under the feature gate. (#51516)
  • (Contrib) exporter/file: Write text_encoding output newline-delimited instead of length-prefixed when native compression is enabled, so the decompressed file is plain text. (#49328)
    Applies under the exporter.file.nativeCompression feature gate to encodings that support stream decoding.
    Other encodings keep length-prefix framing.
  • (Contrib) exporter/load_balancing: Route metrics without service.name by a hash of their resource attributes with routing_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 when retry_on_failure is 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 when convert_explicit_histograms_to_nhcb is 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 a poll_interval of zero or less instead of panicking at startup in the filelog and otlp_json_file receivers. (#53095)
  • (Contrib) pkg/stanza: Limit memory used by the TCP input with one_log_per_packet enabled to max_log_size per 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 leave Count, ZeroCount, and
    bucket spans/deltas empty instead of setting CountInt to value.StaleNaN and populating
    buckets.
  • (Contrib) pkg/translator/prometheusremotewrite: Export otel_scope_schema_url and 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: The env detector keeps a literal + in OTEL_RESOURCE_ATTRIBUTES values instead of decoding it as a space. (#53094)
  • (Contrib) processor/resource_detection: Fix the ibmcloud_vpc detector returning no attributes on IBM Cloud VPC instances, whose metadata service answers the token request with HTTP 201. (#50895)
  • (Contrib) processor/transform: Fix set_semconv_span_name handling of _OTHER HTTP and RPC methods and of a fully-qualified rpc.method combined with a deprecated rpc.grpc.service. (#52567)
    An _OTHER http.request.method now produces the HTTP method in the span name.
    For semconvVersion 1.39.0 and later, an _OTHER or missing rpc.method now produces {rpc.system.name} as the span name, and a fully-qualified rpc.method is 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 the cloud.account.id resource 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 full ContainerList(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)
    ERROR watch events other than 410 Gone are no longer emitted as log records; they are logged by the collector at warn level.
  • (Contrib) receiver/memcached: Fix memcached.operation_hit_ratio reporting 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.rate now 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 with 400 Bad Request. (#53274)
  • (Contrib) receiver/prometheus_remote_write: Reject metadata-only TimeSeries entries with 400 Bad Request and skip metric translation for sample-less target_info and 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 with 400 Bad Request and 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 in X-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 when use_service_account is enabled, so rotated tokens keep working. (#52601)
  • (Contrib) receiver/prometheus_simple: Use the same scrape defaults as the prometheus receiver 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 an endpoint that contains a scheme or path at configuration validation instead of failing collector start with "is not a valid hostname". (#52617)
  • (Contrib) receiver/saphana: Fix saphana.backup.latest reporting a negative age due to reversed seconds_between arguments. (#51459)
  • (Contrib) receiver/sql_server: Fix sqlserver.memory.page.count never recording its target data point. (#52699)
    Caused by a Target pages counter name casing mismatch.
  • (Contrib) receiver/statsd: Fix otelcol_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 with power_state set to standby instead of unknown (#50933)
    vSphere reports this power state as standBy, which was not matched, so hosts in standby were counted as unknown
    in vcenter.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

Don't miss a new splunk-otel-collector release

NewReleases is sending notifications on new releases.