OpenTelemetry Instrumented FastAPI

Sdílet
Vložit
  • čas přidán 24. 08. 2024
  • See how I instrumented a FastAPI Python API with OpenTelemetry
    Part 1 here: • Create an API in Pytho...
    #opentelemetry #opensource #fastapi #python

Komentáře • 15

  • @bjorn5366
    @bjorn5366 Před 5 měsíci +1

    this was really helpful, cheers mate

  • @grimonce
    @grimonce Před rokem +2

    Nice I think I'll make use of that tonight... :)

  • @rajujagadeesan8806
    @rajujagadeesan8806 Před 5 měsíci +1

    Thanks Adam. It was really helpful for my current project. Is it possible to show me how to instrument "FastApi Fargate-based-container" to push the data to Dynatrace. Thanks in advance.

  • @Newascap
    @Newascap Před 9 měsíci +2

    Thank you, this is great to know about! If you have any more info, I would love to know how I can:
    1. Integrate this with grafana instead of jaeger
    2. Maybe check for an alternative of the context manager (indenting could become really messy really quick for each block I want telemetry info from)

    • @agardnerit
      @agardnerit  Před 9 měsíci

      Thanks! Grafana is the visualisation layer, you still need a place to store the traces (Jaeger, Dynatrace, Datadog, SigNoz or another commercial vendor). You then use Grafana to visualise the traces using a data source: grafana.com/docs/grafana/latest/datasources/jaeger/

    • @adityasoni3849
      @adityasoni3849 Před 9 měsíci

      @@agardnerit is the process the same for azure application insights? I don't see any trace logging dashboards in azure

    • @agardnerit
      @agardnerit  Před 9 měsíci

      @@adityasoni3849 I'm afraid I have no experience with Azure

    • @kwesikwaa
      @kwesikwaa Před 3 měsíci

      ​@@agardnerittempo?

    • @agardnerit
      @agardnerit  Před 3 měsíci

      @@kwesikwaaI don’t understand?

  • @SimKieu
    @SimKieu Před 9 měsíci +1

    Thank you so much for the video. Could you please help me understand why there're 6 spans? From what I see, you loop through 3 times, each time generate a span. Then there should be only 3 spans, right?

  • @filippov_es
    @filippov_es Před rokem +1

    Super! Thx a lot!