Skip to content
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

Enable LangTrace for Improved Debugging and Request Tracing #205235

Open
4 tasks
arturoliduena opened this issue Dec 30, 2024 · 1 comment · May be fixed by #205356
Open
4 tasks

Enable LangTrace for Improved Debugging and Request Tracing #205235

arturoliduena opened this issue Dec 30, 2024 · 1 comment · May be fixed by #205356
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:Obs AI Assistant Observability AI Assistant

Comments

@arturoliduena
Copy link
Contributor

arturoliduena commented Dec 30, 2024

Description

LangTrace provides a UI to inspect requests/responses and significantly aids in debugging by reducing noise. At the moment, debugging requests and responses is cumbersome without a dedicated UI. While LangTrace was previously enabled, it was disabled due to a bug in the library, which has since been fixed.

This issue proposes re-enabling LangTrace to improve the debugging and tracing workflow for developers.

Steps to Enable LangTrace

  1. Run LangTrace following the Docker setup instructions.
  2. Uncomment the relevant initialization code in the file:
    init_langtrace.ts.
  3. Start Kibana with the appropriate LangTrace environment variables:
   LANGTRACE_API_KEY=my_api_key LANGTRACE_API_HOST=http://localhost:3000 yarn start  

References

Action Items

  • Run and verify LangTrace setup using the provided instructions.
  • Test functionality to ensure previously reported bugs in LangTrace are resolved.
  • Validate that the debugging UI provided by LangTrace improves the developer experience.
  • Add necessary documentation or guidelines for using LangTrace if re-enabled successfully.
@arturoliduena arturoliduena added the bug Fixes for quality problems that affect the customer experience label Dec 30, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 30, 2024
@arturoliduena arturoliduena removed the needs-team Issues missing a team label label Dec 30, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 30, 2024
@arturoliduena arturoliduena self-assigned this Dec 30, 2024
@viduni94 viduni94 added the Team:Obs AI Assistant Observability AI Assistant label Jan 8, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Obs AI Assistant Observability AI Assistant
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants