Contributing to OpenLLMetry

January 29, 2026 ยท View on GitHub

Thanks for taking the time to contribute! ๐Ÿ˜ƒ ๐Ÿš€

Please refer to our Contributing Guide for instructions on how to contribute.

Local Testing and Linting in this Repo

A few steps to set up this repo locally.

Run the following at repo root to setup the yarn dependencies.

npm ci

Make sure uv is installed for python packages managed by uv.

Generally, for setting up and testing an individual package, run the following from repo root.

npx nx run opentelemetry-instrumentation-openai:install
npx nx run opentelemetry-instrumentation-openai:lint
npx nx run opentelemetry-instrumentation-openai:test

Or you can run the following to automatically set up all affected packages.

npx nx affected -t install
npx nx affected -t lint
npx nx affected -t test

At the package directory, you can run nx without specifying the package.

cd packages/opentelemetry-instrumentation-openai
npx nx install
npx nx lint
npx nx test