Skip to content

Conversation

@adv-11
Copy link

@adv-11 adv-11 commented Dec 3, 2025

as discissued on PR #353 , removed math example and added a simple tracer and adapter implementation

self.spans: List[CustomSpan] = []
self.current_span: Optional[CustomSpan] = None

def start_span(self, name: str, **attributes) -> Any:
Copy link
Contributor

Choose a reason for hiding this comment

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

where is start_span, end_span, and start_event called?

- Aggregate metrics for RL
"""

def extract(self, trace: Any) -> Optional[agl.Triplet]:
Copy link
Contributor

Choose a reason for hiding this comment

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

that's not the interface of agent-lightning adapter.

@@ -0,0 +1,124 @@
# Copyright (c) Microsoft. All rights reserved.

"""Example: DataDog integration using custom tracer pattern.
Copy link
Contributor

Choose a reason for hiding this comment

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

Keep one of them is enough. Put the other one into examples/minimal

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