OpenTelemetry Code Instrumentation: A Step-by-Step Guide to Instrument your Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 มิ.ย. 2024
  • In this episode, you'll learn howto instrument your code with OpenTelemetry.
    📖 CHAPTERS 📖
    -----------------------------
    00:00 Introduction
    02:03 Exploring the Backbone: Understanding Core Objects in OpenTelemetry
    05:41 Connecting the Dots: Attaching Your Instrumentation Library
    12:05 Getting Hands-On: Delving into Manual Instrumentation Concepts
    13:28 Tutorial Kickoff: Introduction to Practical Application
    15:01 Prepping for Success: Essential Requirements for Your Tutorial Journey
    20:35 Hands-On Instrumentation: Step-by-Step Tutorial Guidance
    31:05 Seeing is Believing: Visualizing Traces in Your Application
    32:48 Wrapping Up: Key Takeaways and Next Steps
    -----------------------------
    🔬 Want more about OpenTelemetry and tools that the cloud-native pros use? Check out the full list of my favs over here on this TH-cam playlist: • OpenTelemetry
    👉✅ Stay connected with me!
    Twitter: / isitobservable
    LinkedIn: / isitobservable
    IsItObservable is powered by Dynatrace’s own developer relations team. Subscribe to get observability reviews, tips and tricks, and tutorials tested by cloud-native experts. I review, test and share results to help you succeed with platform engineering and observability.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 17

  • @isitobservable
    @isitobservable  หลายเดือนก่อน

    Hey guys, in case you have more general questions about code instrumentation and OpenTelemetry, you'll probably find answers in this video: th-cam.com/video/ICCspGTRTXw/w-d-xo.html

  • @iv9515
    @iv9515 10 หลายเดือนก่อน

    Great video, However I have some json data which will be sent to Otel [ which acts as a middle man] Im looking for a way to convert json data into otel acceptable format of metrics . Is there any video for the same ?

  • @AlienAndrew51
    @AlienAndrew51 ปีที่แล้ว

    Is there a way to connect services as an entire trace or is that what is happening here? I'm just not understanding how Open Telemetry can connect multiple services together, I'm assuming through the trace id? Also, I'm looking into using trace tests at my company and want to test through the entire application. It would be great if you could demonstrate how to connect multiple java container apps as one trace with trace test. I've seen your other videos, but I'm still learning the SRE side of things as a Software Engineer.

    • @isitobservable
      @isitobservable  ปีที่แล้ว +1

      Hi Andrew,
      you should be able to do so by using the auto instrumentation agent of Java. each of you java service will produce spans...and you will get traces that you could use with tracetest.

    • @AlienAndrew51
      @AlienAndrew51 ปีที่แล้ว

      ​@@isitobservableObservable Thanks for the reply! I will give it a go when I get a chance to set up a POC.

  • @aadithakur4342
    @aadithakur4342 2 ปีที่แล้ว

    Is it mandatory that we use only java application for OpenTelemetry in java? I hava a c++ code which I want to use, can I use OpenTelemetry Java for it?

    • @isitobservable
      @isitobservable  2 ปีที่แล้ว +2

      Hi , every language needs to use its own OpenTelemetry sdk and instrumentation library. In my case i showed how to instrument the java code using the java library. In your case ( c++), you will need to use the following library :github.com/open-telemetry/opentelemetry-cpp

  • @HemanthYTP
    @HemanthYTP ปีที่แล้ว

    When I ran the help install prometheus command I see this : Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.nodeSelector.selector): invalid type for io.k8s.api.core.v1.PodSpec.nodeSelector: got "map", expected "string"

    • @isitobservable
      @isitobservable  ปีที่แล้ว

      Hi i have updated the readme file (and remove the node selector). Thanks for the feedback.

  • @rhmoult
    @rhmoult ปีที่แล้ว

    I am not interested in using Kubernetes. Can you point me to a tutorial that shows me how to add the simplest possible tracing to a React application? This "toy" example is way overkill and introduces too much complexity for my use case.

  • @HemanthYTP
    @HemanthYTP ปีที่แล้ว

    In your git repo deploy.yaml is missing. In reference to this command in readme : "kubectl apply -f nginx/deploy.yaml"

    • @isitobservable
      @isitobservable  ปีที่แล้ว

      Hi, Thanks for the feedback. I have updaded the readme file. i'm using now the lates helm chart of nginx

  • @nifflan
    @nifflan ปีที่แล้ว

    Content is great, sound quality is so-so... Maybe buy a better mic and this will be a top tier youtube channel!

  • @johnmorsley
    @johnmorsley 2 ปีที่แล้ว +4

    I cannot watch because of the mind numbingly distracting and annoying background music (noise)! :(

    • @isitobservable
      @isitobservable  2 ปีที่แล้ว +2

      Noted . Unfortunately not able to remove it on this content. but i will reduce the volume of the background music. Thanks for the feedback.

    • @FunkyMacky
      @FunkyMacky ปีที่แล้ว +1

      @@isitobservable i liked the music :D