-
docker
orpodman
-
python
(tested with3.11.5
)
# Start the OpenTelemetry Collector and the Jaeger instance
cd infrastructure && ./start.sh
Access Jaeger from your brownser: http://localhost:16686/
# Install the packages needed to run the demos
pip install -r requirements.txt
cd automatic
opentelemetry-instrument \
--service_name my-app-using-automatic-inst \
--traces_exporter otlp \
--metrics_exporter otlp \
--exporter_otlp_endpoint 0.0.0.0:4317 \
--exporter_otlp_insecure=true \
flask run
cd manual
flask run
cd both
opentelemetry-instrument \
--service_name my-app-using-both-inst \
--traces_exporter otlp \
--metrics_exporter otlp \
--exporter_otlp_endpoint 0.0.0.0:4317 \
--exporter_otlp_insecure=true \
flask run