Skip to content

Commit

Permalink
rearrange lines
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Feb 7, 2024
1 parent e8d026b commit e66f332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -euo pipefail

export OTEL_METRIC_EXPORT_INTERVAL="5000" # so we don't have to wait 60s for metrics
export OTEL_RESOURCE_ATTRIBUTES="service.name=rolldice,service.instance.id=localhost:8082"
export OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true

python3 -m venv venv
source ./venv/bin/activate
Expand All @@ -17,4 +16,5 @@ pip install -r requirements.txt
pip install opentelemetry-distro[otlp]
opentelemetry-bootstrap -a install

export OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true
opentelemetry-instrument flask run -p 8082

0 comments on commit e66f332

Please sign in to comment.