Trouble with understanding the observability api set ups #9
-
Hey Jonatan, I am trying to migrate my project to spring 3 observability api. I saw this repo from the Youtube video and I found you tracing and loki set up were super helpful. I learned observability from https://spring.io/blog/2022/10/12/observability-with-spring-boot-3 but realized your set up were a bit different. What I understand:
What I do not understand:
Big thanks for the Spring Boot 3 observability guide and the YouTube video, plus the GitHub repo - they're super helpful, especially since there aren't a ton of resources out there for the Observability API yet. Great stuff! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, Thank you for the issue, I converted it to a discussion. I'm happy you found the project useful. In these apps I don't create any Observations manually because basically everything that I would need is automatically instrumented so the If you are curious about the usage of the Observation API, we have docs about it:
And also a bunch of samples in a separate repository: https://github.com/micrometer-metrics/micrometer-samples/tree/main/micrometer-samples-boot3-web For |
Beta Was this translation helpful? Give feedback.
-
Thanks for your info! I will look into those documents you provided! |
Beta Was this translation helpful? Give feedback.
Hi,
Thank you for the issue, I converted it to a discussion. I'm happy you found the project useful.
In these apps I don't create any Observations manually because basically everything that I would need is automatically instrumented so the
Observation
s are created by the frameworks/libraries I'm using and I did not need to do anything manually.I understand that this is not optimal for demoing the usage of the Observation API itself, maybe I should instrument the only business logic these apps has: building the tea response from water and tea leaf responses.
If you are curious about the usage of the Observation API, we have docs about it: