This Splunk OpenTelemetry Collector release includes changes from the opentelemetry-collector v0.121.0 and the opentelemetry-collector-contrib v0.121.0 releases where appropriate.
🛑 Breaking changes 🛑
- (Splunk) Support for Oracle Linux 7 has been dropped (#5974)
- (Core)
confighttp
: Make the client config optionsmax_idle_conns
,max_idle_conns_per_host
,max_conns_per_host
, andidle_conn_timeout
integers (#9478)
All four options can be set to0
where they were previously set tonull
- (Contrib)
awss3exporter
: Replaced thes3_partition
option withs3_partition_format
to provide more flexibility to users. (#37915, #37503)
Users can provide custom file partitions using strftime formatting.
The default value ofyear=%Y/month=%m/day=%d/hour=%H/minute=%M
matches the older pattern (withs3_partition: minute
)
If users do not provide a value fors3_prefix
, the exporter will not create a/
folder in the bucket. - (Contrib)
processor/k8sattributes
: Move k8sattr.fieldExtractConfigRegex.disallow feature gate to stable (#25128) - (Contrib)
signalfxexporter
: Remove the deprecated configuration optiontranslation_rules
(#35332)
Please use processors to handle desired metric transformations instead. Find migration guidance in the
translation rules migration guide.
🚩 Deprecations 🚩
- (Core)
exporterhelper
: Deprecatemin_size_items
andmax_size_items
in favor ofmin_size
andmax_size
. (#12486) - (Contrib)
prometheusreceiver
: Deprecate metric start time adjustment in the prometheus receiver. It is being replaced by the metricstarttime processor. (#37186)
Start time adjustment is still enabled by default. To disable it, enable the | receiver.prometheusreceiver.RemoveStartTimeAdjustment feature gate.
💡 Enhancements 💡
- (Core)
pipeline
: output pipeline name with signal as signal[/name] format in logs. (#12410) - (Core)
memorylimiter
: Add support to configure min GC intervals for soft and hard limits. (#12450) - (Core)
otlpexporter
: Update the stability level for logs, it has been as stable as traces and metrics for some time. (#12423) - (Core)
service
: Create a new subcommand to dump the initial configuration after resolving/merging. (#11479)
To use theprint-initial-config
subcommand, invoke the Collector with the subcommand and corresponding feature gate:otelcol print-initial-config --feature-gates=otelcol.printInitialConfig --config=config.yaml
.
Note that the feature gate enabling this flag is currently in alpha stability, and the subcommand may
be changed in the future. - (Core)
memorylimiterprocessor
: Add support for profiles. (#12453) - (Core)
otelcol
: Converters are now available in thecomponents
command. (#11900, #12385) - (Core)
confmap
: Surface YAML parsing errors when they happen at the top-level. (#12180)
This adds context to some instances of the error "retrieved value (type=string) cannot be used as a Conf", which typically happens because of invalid YAML documents - (Core)
pprofile
: Add LinkIndex attribute to the generated Sample type (#12485) - (Core)
exporterhelper
: Stabilize exporter.UsePullingBasedExporterQueueBatcher and remove old batch sender (#12425) - (Contrib)
processor/resourcedetection
: Introduce retry logic for failed resource detection. (#34761) - (Contrib)
pkg/ottl
: Support dynamic indexing of math expressions in maps and slices (#37644) - (Contrib)
receiver/sqlquery
: Add support for SapASE (sybase) database connections (#36328) - (Contrib)
iisreceiver
: Added state and uptime metrics for application pools (#34924) - (Contrib)
pkg/stanza
: Add entry's timestamp and attributes to errors logs from log transformers processors (#37285)
When a log transformer processor fails to process an log entry it will include entry's timestamp and attributes in its own logs.
With this information the user can more easily identify the log file and find the entry that's having issues. - (Contrib)
kafkareceiver
: Add error backoff configuration to kafka receiver which allows to wait and retry a failed message when the next consumer returns some errors. (#37009) - (Contrib)
receiver/kafkametricsreceiver
: Addrefresh_frequency
config tokafkametricsreceiver
, to configure custom duration for cluster metadata refresh (#37896)- Helps fine tuning the refresh_frequency, and enables custom cluster metadata refresh intervals
- Default refresh_frequency is set 10 minutes from Sarama library defaults
- (Contrib)
processor/resourcedetection
: Add k8s.cluster.uid to kubeadm detector (#38207) - (Contrib)
mongodbreceiver
: Added mongodb replica metrics and routing logic for multiple mongodb instances (#37517) - (Contrib)
pkg/ottl
: Addevent_index
to the available paths of the span event context (#35778) - (Contrib)
pkg/ottl
: Introduce Weekday() converter function (#38126) - (Contrib)
prometheusreceiver
: Make use of creation timestamp from prometheus (#36473) - (Contrib)
processor/redaction
: Introduce 'blocked_key_patterns' parameter (#35830) - (Contrib)
awss3exporter
: Addedacl
option (#37935) - (Contrib)
receiver/sqlserverreceiver
: Addserver.address
andserver.port
resource attributes to SQL server receiver. (#35183)
The new resource attributes are added to the SQL server receiver to distinguish metrics coming from different SQL server instances.- (Contrib)
server.address
: The address of the SQL server host, disabled by default. - (Contrib)
server.port
: The port of the SQL server host, disabled by default.
- (Contrib)
🧰 Bug fixes 🧰
- (Core)
service
: Fix crash at startup when converting from v0.2.0 to v0.3.0 (#12438) - (Core)
service
: fix bug in parsing service::telemetry configuration (#12437) - (Core)
exporterhelper
: Fix bug where the error logged when conversion of data fails is always nil (#12510) - (Contrib)
ecsobserver
: Fixed ecs task tags not being included in metadata labels (#38278) - (Contrib)
redactionprocessor
: Fix redaction processor to redact span event attributes (#36633) - (Contrib)
azuremonitorreceiver
: Fix bug where the time grain wasn't honored (#37337) - (Contrib)
exporter/splunk_hec
: Do not pass errors from draining the response body to the pipeline as a export failure. (#38118) - (Contrib)
kafkametricsreceiver
: Fix incorrect cluster admin initialization in consumer scraper (#36818) - (Contrib)
pkg/ottl
: Change theottlmetric
context to properly display theTransformContext
value in debug logs (#38103) - (Contrib)
redisreceiver
: Collect keyspace metrics even if reported dbs are nonsequential (#38135)
If a redis instance has no activity on a db, the db number is not reported in the keyspace metrics.
This change ensures that the keyspace metrics are collected even if the reported dbs have gaps. - (Splunk)
telegraf/win_services
: Consume latest sfx telegraf fork. Fix service read permission (#5939)
Docker Image Manifests:
- Linux (amd64, arm64, ppc64le) and Windows (2019 amd64, 2022 amd64):
quay.io/signalfx/splunk-otel-collector:0.121.0
- digest:
sha256:f2820fbf8c565271738ddd23b1b9a4a75e7073f4e933f1109e7ce49a3420aad2
- Windows (2019 amd64, 2022 amd64):
quay.io/signalfx/splunk-otel-collector-windows:0.121.0
- digest:
sha256:ee5c2d47b686e3605e2b7d82f271a70a21328ddaefa4dd15e20a8f3edcfbc83c