Skip to content

Conversation

@acured
Copy link
Collaborator

@acured acured commented Nov 5, 2025

No description provided.

@acured acured marked this pull request as ready for review November 20, 2025 07:10
@acured acured requested a review from ultmaster November 20, 2025 07:10
@ultmaster
Copy link
Contributor

Generally I don't think it's necessary to support non-OTLP path for advanced tracers. You can first check whether the store has OTLP capability within init_worker(), which is added in a PR merged yesterday. If the store has such capability, you can use initialize the tracer so that it writes to the store.

You can inject the rollout_id and attempt_id if you have control over get_tracer(), or you can use the augmented OTLP exporter to modify the traces when export.

@acured acured marked this pull request as draft November 21, 2025 09:58
@acured acured marked this pull request as ready for review November 27, 2025 08:58

async def add_span(self, span: Span) -> Span:
self.spans.append(span)
return span # 返回同类型
Copy link
Contributor

Choose a reason for hiding this comment

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

remove chinese comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants