@elasticdash/tracing 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/package.json +44 -0
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# @elasticdash/tracing
|
|
4
|
+
|
|
5
|
+
This 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.
|
|
6
|
+
|
|
7
|
+
## Packages
|
|
8
|
+
|
|
9
|
+
| Package | NPM | Description | Environments |
|
|
10
|
+
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- | ------------ |
|
|
11
|
+
| [@elasticdash/client](./packages/client) | [](https://www.npmjs.com/package/@elasticdash/client) | Langfuse API client for universal JavaScript environments | Universal JS |
|
|
12
|
+
| [@elasticdash/tracing](./packages/tracing) | [](https://www.npmjs.com/package/@elasticdash/tracing) | Langfuse instrumentation methods based on OpenTelemetry | Node.js 20+ |
|
|
13
|
+
| [@elasticdash/otel](./packages/otel) | [](https://www.npmjs.com/package/@elasticdash/otel) | Langfuse OpenTelemetry export helpers | Node.js 20+ |
|
|
14
|
+
| [@elasticdash/openai](./packages/openai) | [](https://www.npmjs.com/package/@elasticdash/openai) | Langfuse integration for OpenAI SDK | Universal JS |
|
|
15
|
+
| [@elasticdash/langchain](./packages/langchain) | [](https://www.npmjs.com/package/@elasticdash/langchain) | Langfuse integration for LangChain | Universal JS |
|
|
16
|
+
|
|
17
|
+
## Documentation
|
|
18
|
+
|
|
19
|
+
- Docs: https://langfuse.com/docs/sdk/typescript
|
|
20
|
+
- Reference: https://js.reference.langfuse.com
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
|
|
24
|
+
[MIT](LICENSE)
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@elasticdash/tracing",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"author": "Langfuse",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/langfuse/langfuse-js.git",
|
|
9
|
+
"directory": "packages/tracing"
|
|
10
|
+
},
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=20"
|
|
13
|
+
},
|
|
14
|
+
"description": "Langfuse instrumentation methods based on OpenTelemetry",
|
|
15
|
+
"type": "module",
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"main": "./dist/index.cjs",
|
|
18
|
+
"module": "./dist/index.mjs",
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.mjs",
|
|
24
|
+
"require": "./dist/index.cjs"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsup",
|
|
29
|
+
"test": "vitest run",
|
|
30
|
+
"test:watch": "vitest",
|
|
31
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
32
|
+
"format:check": "prettier --check \"src/**/*.ts\"",
|
|
33
|
+
"clean": "rm -rf dist"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist"
|
|
37
|
+
],
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@elasticdash/core": "workspace:^"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@opentelemetry/api": "^1.9.0"
|
|
43
|
+
}
|
|
44
|
+
}
|