Skip to content

Conversation

@dinhxuanvu
Copy link

@dinhxuanvu dinhxuanvu commented Apr 30, 2025

Summary

Currently, there is no option to enable otel tracing for ocm. Adding EnableOtel option to allow users to config the controller to support otel tracing by wrapping http.RoundTripper with one that starts a span, injects the span context into the outbound request headers, and enriches it with metrics.

Related issue(s)

Fixes #

Currently, there is no option to enable otel tracing for ocm.
Adding EnableOtel option to allow users to config the controller
to support otel tracing by wrapping http.RoundTripper with one that
starts a span, injects the span context into the outbound request headers,
and enriches it with metrics.

Signed-off-by: Vu Dinh <[email protected]>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 30, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dinhxuanvu
Once this PR has been reviewed and has the lgtm label, please assign deads2k for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dinhxuanvu dinhxuanvu changed the title ✨ ✨ feature Add a new option to enable otel roundtrip tracing ✨ feature Add a new option to enable otel roundtrip tracing May 5, 2025
@dinhxuanvu
Copy link
Author

@frzifus FYI

@qiujian16
Copy link
Member

cc @clyang82 @elgnay

@dinhxuanvu
Copy link
Author

Related to the Observability enhancement (Issues #931)

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