Home / Companies / New Relic / Blog / Post Details
Content Deep Dive

Tracing LangChain applications with OpenTelemetry

Blog post from New Relic

Post Details
Company
Date Published
Author
Daniel Kim
Word Count
1,804
Company Posts That Month
26
Language
English
Hacker News Points
-
Post removed?
No
Summary

With the rise of Large Language Models (LLMs), it's increasingly important to monitor their performance as they can be unpredictable and have varying outputs. Observability tools like OpenTelemetry can help analyze inputs and outputs of complex software, including LLMs, providing multiple signals needed for troubleshooting in production. However, LLMs are limited by the information they were trained on and cannot access or retrieve real-time data. Frameworks like LangChain extend their power by integrating them with external databases or APIs through retrieval-augmented generation (RAG). RAG allows models to first retrieve information from a database or search engine before generating a response, providing up-to-date and relevant information. OpenTelemetry can be used to collect and export metrics, logs, and traces from LLM applications, enabling tracing, error tracking, cost management, and A/B testing of performance. By leveraging these tools, developers can build reliable systems with guide rails, even with the use of unpredictable technologies like LLMs.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
LLM 35 1,884 250 103 -28%
OpenTelemetry 14 416 39 18 +22%
Observability 7 1,101 190 79 -6%
RAG 5 690 102 38 -37%
Real-time 3 2,223 570 156 -11%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.