Skip to content

v0.94.0

Compare
Choose a tag to compare
@srv-gh-o11y-gdi srv-gh-o11y-gdi released this 02 Mar 00:13
· 1083 commits to main since this release
v0.94.0
c605cad

This Splunk OpenTelemetry Collector release includes changes from the opentelemetry-collector v0.94.1 and the opentelemetry-collector-contrib v0.94.0 releases where appropriate.

🛑 Breaking changes 🛑

  • (Splunk) The Splunk OpenTelemetry Collector Windows install script
    now installs the Splunk Distribution of OpenTelemetry .NET
    instead of the SignalFx Instrumentation for .NET
    when the parameter -with_dotnet_instrumentation is set to $true (#4343)
  • (Core) receiver/otlp: Update gRPC code from codes.InvalidArgument to codes.Internal when a permanent error doesn't contain a gRPC status (#9415)
  • (Contrib) kafkareceiver: standardizes the default topic name for metrics and logs receivers to the same topic name as the metrics and logs exporters of the kafkaexporter (#27292)
    If you are using the Kafka receiver in a logs and/or a metrics pipeline
    and you are not customizing the name of the topic to read from with the topic property,
    the receiver will now read from otlp_logs or otlp_metrics topic instead of otlp_spans topic.
    To maintain previous behavior, set the topic property to otlp_spans.
  • (Contrib) pkg/stanza: Entries are no longer logged during error conditions. (#26670)
    This change is being made to ensure sensitive information contained in logs are never logged inadvertently.
    This change is a breaking change because it may change user expectations. However, it should require
    no action on the part of the user unless they are relying on logs from a few specific error cases.
  • (Contrib) pkg/stanza: Invert recombine operator's 'overwrite_with' default value. (#30783)
    Previously, the default value was oldest, meaning that the recombine operator should emit the
    first entry from each batch (with the recombined field). However, the actual behavior was inverted.
    This fixes the bug but also inverts the default setting so as to effectively cancel out the bug fix
    for users who were not using this setting. For users who were explicitly setting overwrite_with,
    this corrects the intended behavior.

🚩 Deprecations 🚩

  • (Core) configgrpc: Deprecate GRPCClientSettings, use ClientConfig instead (#6767)

💡 Enhancements 💡

  • (Splunk) Add a resource attribute to internal metrics to track discovery usage (#4323)
  • (Splunk) Create a multi-architecture Windows docker image for the collector (#4296)
  • (Splunk) Bump splunk-otel-javaagent to v1.30.2 (#4300)
  • (Core) mdatagen: Add a generated test that checks the config struct using componenttest.CheckConfigStruct (#9438)
  • (Core) component: Add component.UseLocalHostAsDefaultHost feature gate that changes default endpoints from 0.0.0.0 to localhost (#8510)
    The only component in this repository affected by this is the OTLP receiver.
  • (Core) confighttp: Add support of Host header (#9395)
  • (Core) mdatagen: Remove use of ReportFatalError in generated tests (#9439)
  • (Contrib) receiver/journald: add a new config option "all" that turns on full output from journalctl, including lines that are too long. (#30920)
  • (Contrib) pkg/stanza: Add support in a header configuration for json array parser. (#30321)
  • (Contrib) awss3exporter: Add the ability to export trace/log/metrics in OTLP ProtoBuf format. (#30682)
  • (Contrib) dockerobserver: Upgrading Docker API version default from 1.22 to 1.24 (#30900)
  • (Contrib) filterprocessor: move metrics from OpenCensus to OpenTelemetry (#30736)
  • (Contrib) groupbyattrsprocessor: move metrics from OpenCensus to OpenTelemetry (#30763)
  • (Contrib) loadbalancingexporter: Optimize metrics and traces export (#30141)
  • (Contrib) all: Add component.UseLocalHostAsDefaultHost feature gate that changes default endpoints from 0.0.0.0 to localhost (#30702)
    This change affects the following components:
    • extension/health_check
    • receiver/jaeger
    • receiver/sapm
    • receiver/signalfx
    • receiver/splunk_hec
    • receiver/zipkin
  • (Contrib) processor/resourcedetectionprocessor: Detect Azure cluster name from IMDS metadata (#26794)
  • (Contrib) processor/transform: Add copy_metric function to allow duplicating a metric (#30846)

🧰 Bug fixes 🧰

  • (Splunk) Fixes the value of a default environment variable used by Windows msi. (#4361)
  • (Core) service: fix opencensus bridge configuration in periodic readers (#9361)
  • (Core) otlpreceiver: Fix goroutine leak when GRPC server is started but HTTP server is unsuccessful (#9165)
  • (Core) otlpexporter: PartialSuccess is treated as success, logged as warning. (#9243)
  • (Contrib) basicauthextension: Accept empty usernames. (#30470)
    Per https://datatracker.ietf.org/doc/html/rfc2617#section-2, username and password may be empty strings ("").
    The validation used to enforce that usernames cannot be empty.
  • (Contrib) pkg/ottl: Fix parsing of string escapes in OTTL (#23238)
  • (Contrib) pkg/stanza: Recombine operator should always recombine partial logs (#30797)
    Previously, certain circumstances could result in partial logs being emitted without any
    recombiniation. This could occur when using is_first_entry, if the first partial log from
    a source was emitted before a matching "start of log" indicator was found. This could also
    occur when the collector was shutting down.
  • (Contrib) pkg/stanza: Fix bug where recombine operator's 'overwrite_with' condition was inverted. (#30783)
  • (Contrib) exporter/signalfx: Use "unknown" value for the environment correlation calls as fallback. (#31052)
    This fixed the APM/IM correlation in the Splunk Observability UI for the users that send traces with no "deployment.environment" resource attribute value set.

Docker Images:

  • quay.io/signalfx/splunk-otel-collector:0.94.0-amd64 (digest: sha256:6d89f4d866af70e3d83880b355c8c3a3cac0c9bdabaf3ea9312250cf7c917649)
  • quay.io/signalfx/splunk-otel-collector:0.94.0-arm64 (digest: sha256:15a090e07e61ec752471088e6db65f74540870c2942d162ecb866619fd7f9170)
  • quay.io/signalfx/splunk-otel-collector:0.94.0-ppc64le (digest: sha256:2e640ccd1e46b9e707de7e991073baf1376ea8b2b869ec75bec0045a08018dab)
  • quay.io/signalfx/splunk-otel-collector-windows:0.94.0 (digest: sha256:fd2683b996d6a0a79378576a705b0edc0a326df32c12cad87615307adf128a31)
  • quay.io/signalfx/splunk-otel-collector-windows:0.94.0-2019 (digest: sha256:dec27aad01f6991e0535c37555682ae697827af2461fd14c09bd5e3cc7184efd)
  • quay.io/signalfx/splunk-otel-collector-windows:0.94.0-2022 (digest: sha256:9b8cee1d6ba55bcbec2b280d1f23d6a69b556298d945618e62bca7e2fea6d22f)