Skip to content

Conversation

@Joibel
Copy link
Member

@Joibel Joibel commented Nov 24, 2025

Fixups for #15061 which I probably reviewed too quickly.

Variable names used are the wrong way round.

Added a fatal log if you attempt to use a protocol we don't understand to try to prevent confusion where this doesn't start any exporter.

@Joibel Joibel added area/telemetry/metrics cherry-pick/3.7 Cherry-pick this to release-3.7 labels Nov 24, 2025
Copy link
Contributor

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 fixes incorrect variable naming from PR #15061 where GRPC and HTTP exporters were swapped, and adds error handling for unsupported OTLP protocol values.

  • Corrected variable names to match their actual exporter types (grpcExporter for GRPC, httpExporter for HTTP)
  • Added validation error with fatal logging for invalid OTLP protocol values

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Joibel Joibel merged commit b9d18b1 into argoproj:main Nov 26, 2025
49 checks passed
@argo-cd-cherry-pick-bot
Copy link

❌ Cherry-pick failed for 3.7. Please check the workflow logs for details.

Joibel added a commit that referenced this pull request Nov 26, 2025
Joibel added a commit that referenced this pull request Nov 26, 2025
@Joibel Joibel deleted the otel-http-fixup branch December 8, 2025 13:35
guanguxiansheng pushed a commit to guanguxiansheng/argo-workflows that referenced this pull request Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/telemetry/metrics cherry-pick/3.7 Cherry-pick this to release-3.7

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants