Skip to content

✨ feature Add a new option to enable otel roundtrip tracing #975

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

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 <vudinh@outlook.com>
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.

2 participants