Skip to content

Commit

Permalink
Revert "Add code generator for otel proto (#39)"
Browse files Browse the repository at this point in the history
This reverts commit 0fd842e.
  • Loading branch information
sfc-gh-jopel committed Nov 5, 2024
1 parent 0fd842e commit c017c98
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 1,981 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/check-codegen.yml

This file was deleted.

8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ pip install --upgrade pip
pip install .
```

## Development

To develop this package, run

```bash
Expand All @@ -35,9 +33,3 @@ source .venv/bin/activate
pip install --upgrade pip
pip install . ./tests/snowflake-telemetry-test-utils
```

### Code generation

To regenerate the code under `src/snowflake/_internal/opentelemetry/proto/`, execute the script `./scripts/proto_codegen.sh`. The script expects the `src/snowflake/_internal/opentelemetry/proto/` directory to exist, and will delete all .py files in it before regerating the code.

The commit/branch/tag of [opentelemetry-proto](https://github.com/open-telemetry/opentelemetry-proto) that the code is generated from is pinned to PROTO_REPO_BRANCH_OR_COMMIT, which can be configured in the script. It is currently pinned to the same tag as [opentelemetry-python](https://github.com/open-telemetry/opentelemetry-python/blob/main/scripts/proto_codegen.sh#L15).
237 changes: 0 additions & 237 deletions scripts/plugin.py

This file was deleted.

64 changes: 0 additions & 64 deletions scripts/proto_codegen.sh

This file was deleted.

Loading

0 comments on commit c017c98

Please sign in to comment.