File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ Code Generation
2121---------------
2222
2323These files were generated automatically using the custom protoc plugin opentelemetry-codegen-json _ from code in opentelemetry-proto _.
24- To regenerate the code, run ``uv run . /scripts/proto_codegen_json.sh `` from the project root .
24+ To regenerate the code, run ``.. /scripts/proto_codegen_json.sh ``.
2525
2626To build against a new release or specific commit of opentelemetry-proto _,
2727update the ``PROTO_REPO_BRANCH_OR_COMMIT `` variable in
28- ``./scripts/proto_codegen_json.sh ``. Then run the script and commit the changes
28+ ``.. /scripts/proto_codegen_json.sh ``. Then run the script and commit the changes
2929as well as any fixes needed in the OTLP exporter.
3030
3131.. _opentelemetry-codegen-json : https://github.com/open-telemetry/opentelemetry-python/tree/main/codegen/opentelemetry-codegen-json
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ protoc() {
2424 uvx -c $repo_root /gen-requirements.txt \
2525 --python 3.12 \
2626 --from grpcio-tools \
27+ --with " $repo_root /codegen/opentelemetry-codegen-json" \
2728 python -m grpc_tools.protoc " $@ "
2829}
2930
You can’t perform that action at this time.
0 commit comments