node >= 18 and nx installed globally.
test, or build, or lock and install (for Python).
To run a specific command on a specific package, run:
poetry to manage packages, and each package is managed independently under its own directory under /packages.
All instrumentations depends on opentelemetry-semantic-conventions-ai,
and traceloop-sdk depends on all the instrumentations.
If adding a new instrumentation, make sure to use it in traceloop-sdk, and write proper tests.
/packages/sample-app) or the tests under the SDK.
openai instrumentation package, run:
npm with workspaces to manage packages in the monorepo. Install by running npm install in the root of the project.
Each package has its own test suite. You can use the sample app to run and test changes locally.