Skip to content

fix: update otel tracing config for langgraph agent to use agent specific service name#1497

Merged
EItanya merged 1 commit intokagent-dev:mainfrom
xytian315:fix-langgraph-agent-name
Mar 13, 2026
Merged

fix: update otel tracing config for langgraph agent to use agent specific service name#1497
EItanya merged 1 commit intokagent-dev:mainfrom
xytian315:fix-langgraph-agent-name

Conversation

@xytian315
Copy link
Contributor

Description:

fix: update otel tracing config for langgraph agent to use agent specific service name instead of hardcoded kagent service name.

Related [PR] (#1257)

Signed-off-by: Kristy Tian <kristy.tian@solo.io>
Copilot AI review requested due to automatic review settings March 12, 2026 21:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the LangGraph A2A server integration to configure OpenTelemetry tracing with an agent-specific service.name/service.namespace (derived from KAgentConfig) instead of relying on the default "kagent" values.

Changes:

  • Pass self.config.name and self.config.namespace into configure_tracing(...) when building the FastAPI app.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@EItanya EItanya merged commit 2f95463 into kagent-dev:main Mar 13, 2026
26 of 27 checks passed
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.

4 participants