Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 77adc46

Browse files
authored
Move example app to the examples folder (open-telemetry#172)
1 parent 17961e6 commit 77adc46

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ with tracer.start_span('foo'):
6060
See the [API
6161
documentation](https://open-telemetry.github.io/opentelemetry-python/) for more
6262
detail, and the
63-
[opentelemetry-example-app](./opentelemetry-example-app/README.rst) for a
64-
complete example.
63+
[opentelemetry-example-app](./examples/opentelemetry-example-app/README.rst)
64+
for a complete example.
6565

6666
## Contributing
6767

tox.ini

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ setenv =
2222
changedir =
2323
test-api: opentelemetry-api/tests
2424
test-sdk: opentelemetry-sdk/tests
25-
test-example-app: opentelemetry-example-app/tests
26-
test-ext-wsgi: ext/opentelemetry-ext-wsgi/tests
2725
test-ext-http-requests: ext/opentelemetry-ext-http-requests/tests
26+
test-ext-wsgi: ext/opentelemetry-ext-wsgi/tests
27+
test-example-app: examples/opentelemetry-example-app/tests
2828

2929
commands_pre =
3030
; Install without -e to test the actual installation
3131
python -m pip install -U pip setuptools wheel
3232
test: pip install {toxinidir}/opentelemetry-api
3333
test-sdk: pip install {toxinidir}/opentelemetry-sdk
3434
example-app: pip install {toxinidir}/opentelemetry-sdk
35-
example-app: pip install {toxinidir}/ext/opentelemetry-ext-wsgi
3635
example-app: pip install {toxinidir}/ext/opentelemetry-ext-http-requests
37-
example-app: pip install {toxinidir}/opentelemetry-example-app
36+
example-app: pip install {toxinidir}/ext/opentelemetry-ext-wsgi
37+
example-app: pip install {toxinidir}/examples/opentelemetry-example-app
3838
ext: pip install {toxinidir}/opentelemetry-api
3939
wsgi: pip install {toxinidir}/ext/opentelemetry-ext-wsgi
4040
http-requests: pip install {toxinidir}/ext/opentelemetry-ext-http-requests
@@ -67,9 +67,9 @@ commands_pre =
6767
pip install -e {toxinidir}/opentelemetry-api
6868
pip install -e {toxinidir}/opentelemetry-sdk
6969
pip install -e {toxinidir}/ext/opentelemetry-ext-azure-monitor
70-
pip install -e {toxinidir}/ext/opentelemetry-ext-wsgi
7170
pip install -e {toxinidir}/ext/opentelemetry-ext-http-requests
72-
pip install -e {toxinidir}/opentelemetry-example-app
71+
pip install -e {toxinidir}/ext/opentelemetry-ext-wsgi
72+
pip install -e {toxinidir}/examples/opentelemetry-example-app
7373

7474
commands =
7575
; Prefer putting everything in one pylint command to profit from duplication
@@ -85,8 +85,8 @@ commands =
8585
ext/opentelemetry-ext-http-requests/src/ \
8686
ext/opentelemetry-ext-http-requests/tests/ \
8787
ext/opentelemetry-ext-wsgi/tests/ \
88-
opentelemetry-example-app/src/opentelemetry_example_app/ \
89-
opentelemetry-example-app/tests/
88+
examples/opentelemetry-example-app/src/opentelemetry_example_app/ \
89+
examples/opentelemetry-example-app/tests/
9090
flake8 .
9191
isort --check-only --diff --recursive .
9292

0 commit comments

Comments
 (0)