Home / Companies / Arize / Blog / Post Details
Content Deep Dive

Different Ways to Instrument Your LLM Application

Blog post from Arize

Post Details
Company
Date Published
Author
Evan Jolley
Word Count
1,094
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

LLM instrumentation is crucial for achieving performance and reliability in large language models. LLM tracing helps track down issues such as application latency, token usage, and runtime exceptions, providing detailed insights into the model's behavior. OpenTelemetry (OTel) enhances tracing by offering standardized data collection and integration with various LLM frameworks. However, OTel may not be suitable for all LLM applications, and manual instrumentation or additional frameworks like OpenInference are necessary to properly instrument an LLM app. Automatic instrumentation offers comprehensive coverage but requires less control over the details of what is traced, while manual instrumentation provides flexible control but demands more effort to implement. Various methods for manual instrumentation, such as using decorators, the `with` clause, and starting spans directly, can be employed to customize tracing in LLM applications.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
LLM 23 4,157 383 131 +53%
OpenTelemetry 21 418 47 24 +27%
Observability 9 1,612 262 91 +35%
Vector Search 1 1,644 222 91 +2%
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.