Gathering detailed insights and metrics for @traceloop/ai-semantic-conventions
Gathering detailed insights and metrics for @traceloop/ai-semantic-conventions
Gathering detailed insights and metrics for @traceloop/ai-semantic-conventions
Gathering detailed insights and metrics for @traceloop/ai-semantic-conventions
Sister project to OpenLLMetry, but in Typescript. Open-source observability for your LLM application, based on OpenTelemetry
npm install @traceloop/ai-semantic-conventions
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99.5
Supply Chain
78.7
Quality
90
Maintenance
100
Vulnerability
100
License
TypeScript (96.21%)
JavaScript (3.77%)
Shell (0.02%)
Total Downloads
611,439
Last Day
1,891
Last Week
37,327
Last Month
139,317
Last Year
589,586
Apache-2.0 License
328 Stars
325 Commits
37 Forks
1 Watchers
81 Branches
16 Contributors
Updated on Jul 02, 2025
Minified
Minified + Gzipped
Latest Version
0.13.4-otel-1.28
Package Id
@traceloop/ai-semantic-conventions@0.13.4-otel-1.28
Unpacked Size
30.53 kB
Size
8.76 kB
File Count
9
NPM Version
lerna/8.2.2/node@v20.11.1+arm64 (darwin)
Node Version
20.11.1
Published on
Jun 27, 2025
Cumulative downloads
Total Downloads
1
Open-source observability for your LLM application
🎉 New: Our semantic conventions are now part of OpenTelemetry! Join the discussion and help us shape the future of LLM observability.
OpenLLMetry-JS is a set of extensions built on top of OpenTelemetry that gives you complete observability over your LLM application. Because it uses OpenTelemetry under the hood, it can be connected to your existing observability solutions - Datadog, Honeycomb, and others.
It's built and maintained by Traceloop under the Apache 2.0 license.
The repo contains standard OpenTelemetry instrumentations for LLM providers and Vector DBs, as well as a Traceloop SDK that makes it easy to get started with OpenLLMetry-JS, while still outputting standard OpenTelemetry data that can be connected to your observability stack. If you already have OpenTelemetry instrumented, you can just add any of our instrumentations directly.
The easiest way to get started is to use our SDK. For a complete guide, go to our docs.
Install the SDK:
1npm install --save @traceloop/node-server-sdk
Then, to start instrumenting your code, just add these 2 lines to your code:
1import * as traceloop from "@traceloop/node-server-sdk"; 2 3traceloop.initialize();
Make sure to import
the SDK before importing any LLM module.
That's it. You're now tracing your code with OpenLLMetry-JS! If you're running this locally, you may want to disable batch sending, so you can see the traces immediately:
1traceloop.initialize({ disableBatch: true });
Now, you need to decide where to export the traces to.
See our docs for instructions on connecting to each one.
OpenLLMetry-JS can instrument everything that OpenTelemetry already instruments - so things like your DB, API calls, and more. On top of that, we built a set of custom extensions that instrument things like your calls to OpenAI or Anthropic, or your Vector DB like Pinecone, Chroma, or Weaviate.
The SDK provided with OpenLLMetry (not the instrumentations) contains a telemetry feature that collects anonymous usage information.
You can opt out of telemetry by setting the TRACELOOP_TELEMETRY
environment variable to FALSE
.
Whether it's big or small, we love contributions ❤️ Check out our guide to see how to get started.
Not sure where to get started? You can:
No vulnerabilities found.
No security vulnerabilities found.
Last Day
-4.2%
1,891
Compared to previous day
Last Week
-10.9%
37,327
Compared to previous week
Last Month
2.2%
139,317
Compared to previous month
Last Year
2,598%
589,586
Compared to previous year