You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
be8ace4b7e | 11 months ago | |
---|---|---|
learn_otel | 11 months ago | |
scripts | 11 months ago | |
tests | 11 months ago | |
.coveragerc | 11 months ago | |
.dockerignore | 11 months ago | |
.drone.yml | 11 months ago | |
.gitignore | 11 months ago | |
.pre-commit-config.yaml | 11 months ago | |
Dockerfile | 11 months ago | |
LICENSE | 11 months ago | |
README.md | 11 months ago | |
dev-requirements.in | 11 months ago | |
dev-requirements.txt | 11 months ago | |
entrypoint.sh | 11 months ago | |
pyproject.toml | 11 months ago | |
requirements.in | 11 months ago | |
requirements.txt | 11 months ago | |
tasks.py | 11 months ago |
README.md
learn_otel
Learning OTEL
First time setup
Create a virtual environment and activate it. Now from the root project directory run ./scripts/bootstrap
. This will install pip-tools
and sync any dependencies for the first time.
Dependency management
Dependencies are managed via [pip-tools].
Adding a dependency
To add a dependency, edit requirements.in
(or dev-requirements.in
for dev dependencies) and add your dependency then run pip-compile requirements.in
.
Syncing dependencies
Run pip-sync requirements.txt dev_requirements.txt
.
Testing
Run the tests by invoking py.test
in the project root. Make sure you
run any pending migrations beforehand.