Apply the following changes to the Collector configuration files for specific version upgrades. For more details refer to the :new-page:`Upgrade guidelines <https://github.com/signalfx/splunk-otel-collector?tab=readme-ov-file#upgrade-guidelines>` in GitHub.
The gke
and gce
resource detectors in the resourcedetection
processor have been replaced with the gcp
resource detector. If you have gke
and gce
detectors configured in the resourcedetection
processor, update your configuration accordingly.
For more information, see :ref:`resourcedetection-processor`.
The Splunk Distribution of the OpenTelemetry Collector used to evaluate user configuration twice and this required escaping of each $
symbol with $$
to prevent unwanted environment variable expansion. The issue was fixed in the 0.42.0 version. Any occurrences of $$
in your configuration need to be replaced with $
.
Move the config parameter exporters -> otlp -> insecure
to exporters -> otlp -> tls -> insecure
.
The otlp
exporter configuration must look like this:
exporters:
otlp:
endpoint: "${SPLUNK_GATEWAY_URL}:4317"
tls:
insecure: true
Move the ballast_size_mib
parameter from the memory_limiter
processor to the memory_ballast
extension, and rename it to size_mib
.
extensions:
memory_ballast:
size_mib: ${SPLUNK_BALLAST_SIZE_MIB}