Skip to content

Conversation

@nacx
Copy link
Member

@nacx nacx commented Oct 7, 2025

Description

Adds an example Python agent that is fully instrumented to easily showcase how tracing works.
This PR borrows the agent code from: elastic/observability-examples#90

Related Issues/PRs (if applicable)

N/A

Special notes for reviewers (if applicable)

N/A

@nacx nacx requested a review from a team as a code owner October 7, 2025 14:54
@codecov-commenter
Copy link

codecov-commenter commented Oct 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.50%. Comparing base (2e56f9f) to head (9d5c839).
⚠️ Report is 1 commits behind head on main.

❌ Your project status has failed because the head coverage (77.50%) is below the target coverage (86.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1295   +/-   ##
=======================================
  Coverage   77.50%   77.50%           
=======================================
  Files         123      123           
  Lines       15606    15606           
=======================================
  Hits        12096    12096           
  Misses       2889     2889           
  Partials      621      621           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@mathetake mathetake left a comment

Choose a reason for hiding this comment

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

Do you want to put under examples/mcp? I would think this is about AI tracing on k8s if when I see the name "examples/tracing" vs we have examples/aigw & examples/mcp?

Signed-off-by: Ignasi Barrera <[email protected]>
@nacx
Copy link
Member Author

nacx commented Oct 7, 2025

Done

nacx added 3 commits October 7, 2025 17:22
Signed-off-by: Ignasi Barrera <[email protected]>
Signed-off-by: Ignasi Barrera <[email protected]>
@mathetake mathetake merged commit f1adbc0 into envoyproxy:main Oct 7, 2025
28 checks passed
@nacx nacx mentioned this pull request Oct 8, 2025
mathetake pushed a commit that referenced this pull request Oct 8, 2025
**Description**

Fixes the MCP agent Python example. It was missing an import statement,
and without i,t the agent traces were not properly generated.

**Related Issues/PRs (if applicable)**

Related: #1295

**Special notes for reviewers (if applicable)**

N/A

Signed-off-by: Ignasi Barrera <[email protected]>
nutanix-Hrushikesh pushed a commit to nutanix-Hrushikesh/ai-gateway that referenced this pull request Oct 16, 2025
**Description**

Adds an example Python agent that is fully instrumented to easily
showcase how tracing works.
This PR borrows the agent code from:
elastic/observability-examples#90

**Related Issues/PRs (if applicable)**

N/A

**Special notes for reviewers (if applicable)**

N/A

---------

Signed-off-by: Ignasi Barrera <[email protected]>
Signed-off-by: Hrushikesh Patil <[email protected]>
nutanix-Hrushikesh pushed a commit to nutanix-Hrushikesh/ai-gateway that referenced this pull request Oct 16, 2025
**Description**

Fixes the MCP agent Python example. It was missing an import statement,
and without i,t the agent traces were not properly generated.

**Related Issues/PRs (if applicable)**

Related: envoyproxy#1295

**Special notes for reviewers (if applicable)**

N/A

Signed-off-by: Ignasi Barrera <[email protected]>
Signed-off-by: Hrushikesh Patil <[email protected]>
nutanix-Hrushikesh pushed a commit to nutanix-Hrushikesh/ai-gateway that referenced this pull request Oct 16, 2025
**Description**

Adds an example Python agent that is fully instrumented to easily
showcase how tracing works.
This PR borrows the agent code from:
elastic/observability-examples#90

**Related Issues/PRs (if applicable)**

N/A

**Special notes for reviewers (if applicable)**

N/A

---------

Signed-off-by: Ignasi Barrera <[email protected]>
Signed-off-by: Hrushikesh Patil <[email protected]>
nutanix-Hrushikesh pushed a commit to nutanix-Hrushikesh/ai-gateway that referenced this pull request Oct 16, 2025
**Description**

Fixes the MCP agent Python example. It was missing an import statement,
and without i,t the agent traces were not properly generated.

**Related Issues/PRs (if applicable)**

Related: envoyproxy#1295

**Special notes for reviewers (if applicable)**

N/A

Signed-off-by: Ignasi Barrera <[email protected]>
Signed-off-by: Hrushikesh Patil <[email protected]>
nutanix-Hrushikesh pushed a commit to nutanix-Hrushikesh/ai-gateway that referenced this pull request Oct 16, 2025
**Description**

Adds an example Python agent that is fully instrumented to easily
showcase how tracing works.
This PR borrows the agent code from:
elastic/observability-examples#90

**Related Issues/PRs (if applicable)**

N/A

**Special notes for reviewers (if applicable)**

N/A

---------

Signed-off-by: Ignasi Barrera <[email protected]>
Signed-off-by: Hrushikesh Patil <[email protected]>
nutanix-Hrushikesh pushed a commit to nutanix-Hrushikesh/ai-gateway that referenced this pull request Oct 16, 2025
**Description**

Fixes the MCP agent Python example. It was missing an import statement,
and without i,t the agent traces were not properly generated.

**Related Issues/PRs (if applicable)**

Related: envoyproxy#1295

**Special notes for reviewers (if applicable)**

N/A

Signed-off-by: Ignasi Barrera <[email protected]>
Signed-off-by: Hrushikesh Patil <[email protected]>
missBerg pushed a commit to missBerg/ai-gateway that referenced this pull request Dec 20, 2025
**Description**

Adds an example Python agent that is fully instrumented to easily
showcase how tracing works.
This PR borrows the agent code from:
elastic/observability-examples#90

**Related Issues/PRs (if applicable)**

N/A

**Special notes for reviewers (if applicable)**

N/A

---------

Signed-off-by: Ignasi Barrera <[email protected]>
Signed-off-by: Erica Hughberg <[email protected]>
missBerg pushed a commit to missBerg/ai-gateway that referenced this pull request Dec 20, 2025
**Description**

Fixes the MCP agent Python example. It was missing an import statement,
and without i,t the agent traces were not properly generated.

**Related Issues/PRs (if applicable)**

Related: envoyproxy#1295

**Special notes for reviewers (if applicable)**

N/A

Signed-off-by: Ignasi Barrera <[email protected]>
Signed-off-by: Erica Hughberg <[email protected]>
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.

3 participants