Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.05 KB

File metadata and controls

39 lines (29 loc) · 1.05 KB

Contributing to OpenLLMetry

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