Spring Boot Observability Uncovered: Enabling & Using the Observation API

Поділитися
Вставка
  • Опубліковано 17 вер 2023
  • Observability was a major theme with Spring Boot 3 and beyond. In this tutorial you will learn how to enable observability in your applications by including the Spring Boot Actuator. From there you will learn how view traces using a tool like Zipkin. Finally you will learn how to hook into the Observation API and write your own observations.
    🔗Resources & Links mentioned in this video:
    GitHub Repo: github.com/danvega/observability
    👋🏻Connect with me:
    Website: www.danvega.dev
    Twitter: / therealdanvega
    Github: github.com/danvega
    LinkedIn: / danvega
    Newsletter: www.danvega.dev/newsletter
    SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️
  • Наука та технологія

КОМЕНТАРІ • 37

  • @nicolasfelipe1
    @nicolasfelipe1 9 місяців тому +4

    very nice, my hair stopped becoming white once I completely migrated from laravel to spring boot, so friendly and complete framework.

  • @JonathanStein
    @JonathanStein 9 місяців тому

    Been using the metrics actuator for a long while and love how easy it has become to wire in custom observability. Great tutorial!

  • @mdk1983
    @mdk1983 4 місяці тому

    Guess the co-pilot kept the video shorter than it should have been! Excellent video Dan

  • @llemieszewski
    @llemieszewski 4 місяці тому

    Very helpful and concise video. Thanks a lot!

  • @shahabetminan
    @shahabetminan 9 місяців тому

    Thank you for the useful content!👍

  • @kaly7dev4873
    @kaly7dev4873 9 місяців тому

    Thank you for you sharing !

  • @amiyas29
    @amiyas29 9 місяців тому

    Great content! Practical live coding, latest. Thanks for your efforts

  • @huutinphu4868
    @huutinphu4868 9 місяців тому

    keep up the good work sir

  • @ayed-al-nator
    @ayed-al-nator 9 місяців тому

    Thx 💚

  • @emmanuelgaillardon
    @emmanuelgaillardon 8 місяців тому

    Hello Dan. First of all, I want to tell you that I really like your videos. Always interesting.
    Regarding this topic, is it possible to enable an observation using an aspect instead of annotated the code ? Thank you.

  • @deverse
    @deverse 9 місяців тому

    thanks

  • @konstantingromov6485
    @konstantingromov6485 6 місяців тому

    Hi, Dan, thanks for the video.
    Is there simplified way in new Spring observability to add and propagate both traceId and spanId across microservices?

  • @suikast420
    @suikast420 4 місяці тому

    Awesome. The Reslient is only observed if I create it over a Bean method. Is there another way to instrument the rest client ?

  • @aladeli
    @aladeli 9 місяців тому +2

    The video looks a little bit cropped, but great content as always

    • @DanVega
      @DanVega  9 місяців тому +1

      I'm trying to zoom into code snippets at certain points of the video. Can you tell me is it just that or are you seeing other issues?

    • @aladeli
      @aladeli 9 місяців тому

      @@DanVega yes it was just that

    • @srivatsascs
      @srivatsascs 9 місяців тому

      @@DanVega perhaps add word-wrap when punching in so that you get what you want, without losing any of the text overflowing off camera / capture area

    • @Nick-yd3rc
      @Nick-yd3rc 9 місяців тому

      @@DanVega that was also the case in one of your recent YT shorts btw

  • @jopadjr
    @jopadjr 9 місяців тому

    180th...Thanks Dan

  • @Nick-yd3rc
    @Nick-yd3rc 9 місяців тому +1

    Dan thanks for that, I got used to the Netflix stack, transitioned to Micrometer and otel recently, nice it’s autoconfigurable now. But did you notice your AOP-annotated bean only measured 8.7ms as opposed to over 300ms before that, when you explicitly defined the span? Any idea what the auto-configured span measures?

    • @marcingrzejszczak1716
      @marcingrzejszczak1716 9 місяців тому

      Maybe the JVM was warmed up? The first request is always slower

    • @Nick-yd3rc
      @Nick-yd3rc 9 місяців тому

      @@marcingrzejszczak1716 sure, but that endpoint is supposed to fetch from a remote endpoint if I got it right. Unless the request was cached, it would take some 200ms for a roundtrip even after loading up all relevant execution paths, wouldn’t it?

    • @marcingrzejszczak1716
      @marcingrzejszczak1716 9 місяців тому

      @@Nick-yd3rc I would have to debug this but I would be surprised if there was such a gigantic difference between AOP and code versions

  • @MrDomiko
    @MrDomiko 3 місяці тому

    Two words ... Java Melody

  • @JohnWindberg
    @JohnWindberg 5 місяців тому

    Anyone know how to get Spring Observability to export logs and not just traces to the otel-collecteor?

  • @adityaparikh9544
    @adityaparikh9544 3 місяці тому

    What is the difference between name and contextual name?

  • @medmoufahim
    @medmoufahim 9 місяців тому

    Hello, what is the intellij plugin that help you generate code please ? thanks

  • @ashharr
    @ashharr 9 місяців тому

    what ide is that?

  • @amith5504
    @amith5504 4 місяці тому

    how come nobody is talking about open telemetry ?

  • @USONOFAV
    @USONOFAV 9 місяців тому +2

    Whoever chooses to rename javax to jakarta deliberately wanted developers to suffer in their migration

  • @thevagabond85yt
    @thevagabond85yt 9 місяців тому

    his playlist management esp Spring Boot is a big mess.....only reason not subscribed yet.

    • @DanVega
      @DanVega  9 місяців тому +1

      What does that even mean? I have playlists on Spring Boot, Spring Data, GraphQL, etc...

  • @FilipCodes
    @FilipCodes 9 місяців тому

    How are @GetExchange and @GetMapping compared?

    • @Nick-yd3rc
      @Nick-yd3rc 9 місяців тому

      Former for your web client which consumes a remote API, the latter for your controller which produces on your get endpoint.