OpenTelemetry and Python: Sending spans from Python to Jaeger via an OpenTelemetry Collector

preview_player
Показать описание


00:00 Intro and Recap
00:27 Starting Jaeger
01:12 Explanation: Why you should use an OpenTelemetry Collector
01:40 Starting the OpenTelemetry Collector
01:43 Testing Span Ingestion using tracepusher
02:23 View the test span in Jaeger
03:00 Python code runthrough
03:10 Sending spans to the gRPC Collector endpoint
03:56 Run the application to send traces to Jaeger
04:11 View the app span in Jaeger
04:46 Span Attributes for Feature Flags
05:05 Feature flags you need to know for operations
05:22 Feature flag code explained
05:52 Toggling the flag off
06:03 View new span in Jaeger
06:11 Why the disparity in span time?
06:21 View Span Attributes on trace
06:50 The answer: why spans are different
07:00 Other Span Attribute possibilities
07:40 Summary: Spans from Python to Jaeger via Collector
07:58 Deep Dive: OTLP Format
08:40 Deep Dive: The Architecture
10:00 Deep Dive: GRPC vs. HTTP
10:19 HTTP Diagram
10:43 GRPC Diagram
11:01 OpenTelemetry Port Standards: HTTP and GRPC
11:49 Summary
12:13 Preview of the next video
Рекомендации по теме
Комментарии
Автор

What do I need to get `./otelcol running, in your previous videos I have not seen you install any specific tool to be able to call this command successfully, Did I miss something?

vivekshukla
Автор

My response somehow got deleted, but this video I am having trouble following, for example - starting from using the docker command to run the jaeger, so I used previous video to run the jaeger then even after jumping through hoops I could never get past the issue when I run `python app.py` command. I receive Transient error StatusCode.UNAVAILABLE encountered while exporting traces to 127.0.0.1:6004. error. Suggestion is appreciated.

vivekshukla
Автор

Hi, thanks for the video. Could you explain the difference between OpenTelemetry Collector and jaeger-collector?

leamon
Автор

did you confuse http vs grpc with tcp vs websocket? I thought grpc is where you define the schema for compact serialization and unmarshaling

AGunzOw
Автор

Thank you so much. How can I start the collector up? Your code in github doesn't have `otelcol` file - I would appreciate your help.

vivekshukla
Автор

Any specific reason to use 6004 port instead of 4317. ?

akshayawate
Автор

Running this `docker run -p 16686:16686 -p 4317:4317 225` produces error stating Unable to find image `225:latest` locally. I was so looking forward to getting this done, using your tutorials, but I may end up moving on to someone else's. :(

vivekshukla
visit shbcf.ru