Wednesday February 10, 2021
Watch on YouTube: https://www.youtube.com/watch?v=kqNMOJRfGIg
5:45-7:15: Controlling your race with Micrometer and Spring Boot
Imagine that you’re part of a (car) race team. You’re the one behind the screens to control the race and make some tough decisions (like changing the team’s strategy).
But you don’t have the insights (or metrics) about your car, opponents, or even the weather. Sounds painful right? But why are we making this mistake when building our software? Why don’t we implement metrics by default?
SLFf4J logging is one side of the story, but we also need to know our application health. That’s where Micrometer comes in! It’s a library that you can use to define your own custom metrics, like: – timers (to check the performance of your microservices) – counters (to check how many times a certain event is occurring) – gauges (to check the current value of a variable) – and many more These metrics are exposed by REST endpoints (JSON) together with Spring Boot actuator, which can be saved into a database like Prometheus or Graphite. And to visualize the data you can use a tool like Grafana. Pretty interesting right?
In the demo (live coding!) I will show you how to create such applications using Micrometer, and Spring Boot. Ready to win this race with me? Jump in!
About Ko Turk
Hi, my name is Ko Turk and I am a Senior Java Developer at Blue4IT! I am working as a Fullstack engineer, creating microservices and building frontend applications. As a speaker I am talking at conferences (like JavaZone, DevNexus, and JFall) about IDEs, Micrometer, and Consumer Driven Contract Testing, Please see my speaker credentials at http://ko-turk.nl and please leave me a tweet @KoTurk77.
You can find Ko on Twitter @KoTurk77 (https://twitter.com/KoTurk77).
7:15-7:30: Q & A
The live streaming of this meetup is sponsored by Okta (https://developer.okta.com/).