Skip to content

Conversation

@dhruv-shah-sumo
Copy link
Collaborator

@dhruv-shah-sumo dhruv-shah-sumo commented Oct 10, 2025

  • Upgraded version from 0.130.1 to 0.136.1
  • routing processor was removed in the latest otel version so routing processor was converted to routing connector in this patch.
  • Integration tests and config tests files were modified to consume "routing connector" changes.
  • No impact on the customer end as the values.yaml file is not changed in order to migrate to "routing connector" config. The existing charts will be used to migrate to newer config.

Checklist

  • Changelog updated or skip changelog label added
  • Template tests updated
  • Integration tests added or modified for major features

@dhruv-shah-sumo dhruv-shah-sumo force-pushed the dhruv-otel-version-update branch from 1a94d00 to 9d02eb5 Compare October 10, 2025 09:20
@dhruv-shah-sumo dhruv-shah-sumo changed the title [SUMO-XXXX] Updates otel collector version to latest v0.136.0-sumo-1 chore(deps): Updates otel collector version to latest v0.136.0-sumo-1 Oct 10, 2025
@dhruv-shah-sumo dhruv-shah-sumo force-pushed the dhruv-otel-version-update branch 11 times, most recently from 86ac2e7 to 3a96b29 Compare October 15, 2025 06:22
@dhruv-shah-sumo dhruv-shah-sumo force-pushed the dhruv-otel-version-update branch 12 times, most recently from 8f62fb2 to fdf5a5b Compare October 22, 2025 19:33
@dhruv-shah-sumo dhruv-shah-sumo force-pushed the dhruv-otel-version-update branch 2 times, most recently from b0eb4bb to a7147ab Compare October 24, 2025 08:57
@Gourav2906 Gourav2906 requested a review from Copilot October 24, 2025 11:09
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the OpenTelemetry Collector version from 0.130.1-sumo-0 to 0.136.0-sumo-1. The update includes migrating from the deprecated routing processor to routing connectors, which requires changes to the configuration structure and syntax.

Key changes:

  • Updated otel collector image tags across all deployment configurations
  • Migrated routing configuration from processors to connectors with updated syntax (statement → condition/context)
  • Added new otelcol metrics for monitoring queue batch send sizes and receiver failures
  • Extended integration test timeout from 2 to 5 minutes

Reviewed Changes

Copilot reviewed 40 out of 40 changed files in this pull request and generated no comments.

Show a summary per file
File Description
deploy/helm/sumologic/values.yaml Updated collector image tags to 0.136.0-sumo-1
deploy/helm/sumologic/conf/metrics/otelcol/processors.yaml Removed deprecated routing processor configuration
deploy/helm/sumologic/conf/metrics/otelcol/connectors.yaml Added new routing connector configuration with updated syntax
deploy/helm/sumologic/conf/metrics/otelcol/config.yaml Added connectors section and new metrics pipelines
deploy/helm/sumologic/conf/metrics/otelcol/pipeline.yaml Updated pipeline to use routing connector instead of processor
deploy/helm/sumologic/conf/logs/otelcol/config.yaml Migrated logs routing from processor to connector
tests/integration/values/*.yaml Updated routing syntax from statement to condition/context
tests/integration/internal/constants.go Added new otelcol metrics for monitoring
tests/integration/features.go Increased test timeout to accommodate longer metric collection
tests/helm/testdata/goldenfile/* Updated all golden files with new collector version and routing configuration
tests/helm/metrics_test.go Updated tests to check for routing in connectors instead of processors
docs/README.md Updated documentation with new collector version

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dhruv-shah-sumo dhruv-shah-sumo force-pushed the dhruv-otel-version-update branch 7 times, most recently from ed2bf8a to 4c02fdd Compare October 27, 2025 03:57
context: resource
pipelines:
- logs/otlp/containers/routing/sumologic/test
- logs/otlp/containers/routing/default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please validate this! If condition matches "test", then was is exported to sumologic/test only in routing processor, but now it seems if condition matches, we route to 2 pipelines , both routing/sumologic/test and default.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

context: resource
pipelines:
- logs/otlp/systemd/routing/sumologic/test
- logs/otlp/systemd/routing/default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, i think if condition "test" matches, then forward to only logs/otlp/systemd/routing/sumologic/test . Else forward to default.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@dhruv-shah-sumo dhruv-shah-sumo force-pushed the dhruv-otel-version-update branch from 4c02fdd to 8877bbf Compare October 27, 2025 11:59
OSC-1185
- Removed opencensus references as the receiver is removed/deprecated in the latest release.
- Added otelcol_exporter_queue_batch_send_size_count, otelcol_exporter_queue_batch_send_size_sum
in the expected otel metric list

Signed-off-by: Dhruv Shah <[email protected]>
@dhruv-shah-sumo dhruv-shah-sumo force-pushed the dhruv-otel-version-update branch from 8877bbf to 7e3aa4e Compare October 28, 2025 06:37
@jagan2221 jagan2221 requested a review from a team October 28, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants