No video

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

  Рет қаралды 652

Adam Gardner

Adam Gardner

Күн бұрын

Пікірлер: 18
@vivekshukla2480
@vivekshukla2480 Ай бұрын
What do I need to get `./otelcol --config=collector-config.yaml` 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?
@agardnerit
@agardnerit Ай бұрын
Thanks. You're right actually. I missed that. I'll make a quick video explaining the different options soon. But in short, see this page: opentelemetry.io/docs/collector/installation/ There are many different distributions of the collector, the OTEL project produces a few that supposedly are optimised for particular use cases. Some vendors produce their own and you can even build your own. In these videos I use the contributors distribution. I downloaded the binary for my OS from here: github.com/open-telemetry/opentelemetry-collector-releases/releases/latest
@vivekshukla2480
@vivekshukla2480 29 күн бұрын
@@agardnerit Thank you for your quick response. I will let you know how it goes, to provide some background, I was able to follow your kzbin.info/www/bejne/a3jHiJyuqNSjm8ksi=GIkjN1HisC-gSE6y video that let me visualize the traces. I am assuming this video will take it a step further. Am I not right?
@leamon9024
@leamon9024 Ай бұрын
Hi, thanks for the video. Could you explain the difference between OpenTelemetry Collector and jaeger-collector?
@agardnerit
@agardnerit Ай бұрын
Thanks for the suggestion, I'll put this topic on my backlog! The timing of your request is interesting as the Jaeger project is looking to move more towards the OTEL Collector. IMO using the OTEL collector is the future proof decision.
@vivekshukla2480
@vivekshukla2480 21 күн бұрын
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.
@agardnerit
@agardnerit 20 күн бұрын
I don’t add (and don’t recommend adding) large binaries to repos as it bloats the repo unnecessarily. There are many collector distributions available to choose from (that’s my next video about how you choose). But to get you going for now: download the appropriate binary from here: github.com/open-telemetry/opentelemetry-collector-releases/latest extract it and run it
@vivekshukla2480
@vivekshukla2480 28 күн бұрын
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.
@agardnerit
@agardnerit 28 күн бұрын
You need to run Jaeger AND a seperate standalone Otel collector. It’s the standalone collector that you need to configure (via the YAML file) to listen on 6004. This is because jaeger already runs a collector on 4317 / 4318 so you can’t use those ports for your standalone.
@akshayawate7239
@akshayawate7239 4 ай бұрын
Any specific reason to use 6004 port instead of 4317. ?
@agardnerit
@agardnerit 4 ай бұрын
I tried to make that clear in the video. Obviously I didn’t do a good job! Jaeger all-in-one image comes with its own collector so 4317 was already in use. It was also to demonstrate that even though 4317 is the standard, you don’t HAVE to use that
@vivekshukla2480
@vivekshukla2480 22 күн бұрын
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. :(
@agardnerit
@agardnerit 22 күн бұрын
That command is referencing an existing container ID because I had Jaeger running previously. Just replace 255 with jaegertracing/all-in-one:1.60 www.jaegertracing.io/docs/1.60/getting-started/
@vivekshukla2480
@vivekshukla2480 21 күн бұрын
@@agardnerit 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.
@Emma-tm1mx
@Emma-tm1mx 3 ай бұрын
wow thanks subscribed
@agardnerit
@agardnerit 3 ай бұрын
Thanks for the sub!
@akshayawate7239
@akshayawate7239 4 ай бұрын
Thanks. Waiting for sampling vids
@agardnerit
@agardnerit 4 ай бұрын
Great idea!
Protocols vs ABCs in Python - When to Use Which One?
15:31
ArjanCodes
Рет қаралды 36 М.
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 30 МЛН
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 557 М.
Кадр сыртындағы қызықтар | Келінжан
00:16
Nurse's Mission: Bringing Joy to Young Lives #shorts
00:17
Fabiosa Stories
Рет қаралды 6 МЛН
Feature Flags are more than just Toggles
9:12
CodeOpinion
Рет қаралды 11 М.
Read the Room: Measuring Air Quality with Rust and Elixir
17:50
Code & Stuff
Рет қаралды 2,1 М.
Spans vs. Traces in OpenTelemetry: Which is Which?
3:52
Adam Gardner
Рет қаралды 273
Distributed Tracing With Jaeger And OpenTelemetry In Kubernetes
18:58
DevOps Toolkit
Рет қаралды 27 М.
Getting Started with OpenTelemetry in .NET
19:56
Nick Chapsas
Рет қаралды 57 М.
OpenTelemetry and Python: Manually create complex traces
9:49
You Can Do Really Cool Things With Functions In Python
19:47
ArjanCodes
Рет қаралды 220 М.
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 30 МЛН