Skip to content

jensengrey/otel-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

otel-python

documentation

install

git clone https://github.com/jensengrey/otel-python
cd otel-python
deactivate # if you already have a python env
python3 -m venv otelpy.env
source otelpy.env/bin/activate
pip install -r requirements.txt

fire off a sample trace

python3 jaeger_tracing.py

Look for a my-hello-service in the Jaeger UI (hint there is a small bug in the python code you need fix).

jaeger-trace-python-5-trace

launch jaeger

#!/bin/bash

# filename: start-jaeger.sh

set -eux;

docker run --name jaeger \
  -e COLLECTOR_ZIPKIN_HOST_PORT=:9411 \
  -p 5775:5775/udp \
  -p 6831:6831/udp \
  -p 6832:6832/udp \
  -p 5778:5778 \
  -p 16686:16686 \
  -p 14268:14268 \
  -p 14250:14250 \
  -p 9411:9411 \
  jaegertracing/all-in-one:1.22

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages