Langfuse instrumentation methods based on OpenTelemetry
npm install @langfuse/tracingThis is the tracing package of the Langfuse JS SDK containing the instrumentation methods for instrumenting your LLM app such as startActiveSpan, startActiveGeneration, and the observe wrapper.
| Package | NPM | Description | Environments |
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- | ------------ |
| @langfuse/client |  | Langfuse API client for universal JavaScript environments | Universal JS |
| @langfuse/tracing |  | Langfuse instrumentation methods based on OpenTelemetry | Node.js 20+ |
| @langfuse/otel |  | Langfuse OpenTelemetry export helpers | Node.js 20+ |
| @langfuse/openai |  | Langfuse integration for OpenAI SDK | Universal JS |
| @langfuse/langchain |  | Langfuse integration for LangChain | Universal JS |
- Docs: https://langfuse.com/docs/sdk/typescript
- Reference: https://js.reference.langfuse.com