{"id":1317,"date":"2021-02-06T00:15:26","date_gmt":"2021-02-06T06:15:26","guid":{"rendered":"http:\/\/www.djug.org\/?p=1317"},"modified":"2021-02-06T00:15:26","modified_gmt":"2021-02-06T06:15:26","slug":"ko-turk-controlling-your-race-with-micrometer-and-spring-boot","status":"publish","type":"post","link":"https:\/\/www.djug.org\/?p=1317","title":{"rendered":"Ko Turk: Controlling your race with Micrometer and Spring Boot"},"content":{"rendered":"<h2 class=\"text--sectionTitle text--bold padding--bottom\">Wednesday February 10, 2021<\/h2>\n<div class=\"event-description runningText\">\n<p>Watch on YouTube:\u00a0<a class=\"link\" title=\"https:\/\/www.youtube.com\/watch?v=kqNMOJRfGIg\" href=\"https:\/\/www.youtube.com\/watch?v=kqNMOJRfGIg\" target=\"_blank\" rel=\"ugc noopener noreferrer\">https:\/\/www.youtube.com\/watch?v=kqNMOJRfGIg<\/a><\/p>\n<p>5:30-5:45: Announcements<\/p>\n<p>5:45-7:15: Controlling your race with Micrometer and Spring Boot<\/p>\n<p>Imagine that you\u2019re part of a (car) race team. You\u2019re the one behind the screens to control the race and make some tough decisions (like changing the team&#8217;s strategy).<\/p>\n<p>But you don\u2019t 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\u2019t we implement metrics by default?<\/p>\n<p>SLFf4J logging is one side of the story, but we also need to know our application health. That\u2019s where Micrometer comes in! It\u2019s a library that you can use to define your own custom metrics, like: &#8211; timers (to check the performance of your microservices) &#8211; counters (to check how many times a certain event is occurring) &#8211; gauges (to check the current value of a variable) &#8211; 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?<\/p>\n<p>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!<\/p>\n<p>About Ko Turk<\/p>\n<p>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\u00a0<a class=\"link\" title=\"http:\/\/ko-turk.nl\" href=\"http:\/\/ko-turk.nl\/\" target=\"_blank\" rel=\"nofollow ugc noopener noreferrer\">http:\/\/ko-turk.nl<\/a>\u00a0and please leave me a tweet @KoTurk77.<\/p>\n<p>You can find Ko on Twitter @KoTurk77 (<a class=\"link\" title=\"https:\/\/twitter.com\/KoTurk77\" href=\"https:\/\/twitter.com\/KoTurk77\" target=\"_blank\" rel=\"ugc noopener noreferrer\">https:\/\/twitter.com\/KoTurk77<\/a>).<\/p>\n<p>7:15-7:30: Q &amp; A<\/p>\n<p>The live streaming of this meetup is sponsored by Okta (<a class=\"link\" title=\"https:\/\/developer.okta.com\/\" href=\"https:\/\/developer.okta.com\/\" target=\"_blank\" rel=\"nofollow ugc noopener noreferrer\">https:\/\/developer.okta.com\/<\/a>).<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Wednesday February 10, 2021 Watch on YouTube:\u00a0https:\/\/www.youtube.com\/watch?v=kqNMOJRfGIg 5:30-5:45: Announcements 5:45-7:15: Controlling your race with Micrometer and Spring Boot Imagine that you\u2019re part of a (car) race team. You\u2019re the one behind the screens to control the race and make some &hellip; <a href=\"https:\/\/www.djug.org\/?p=1317\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1317","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.djug.org\/index.php?rest_route=\/wp\/v2\/posts\/1317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.djug.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.djug.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.djug.org\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.djug.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1317"}],"version-history":[{"count":1,"href":"https:\/\/www.djug.org\/index.php?rest_route=\/wp\/v2\/posts\/1317\/revisions"}],"predecessor-version":[{"id":1318,"href":"https:\/\/www.djug.org\/index.php?rest_route=\/wp\/v2\/posts\/1317\/revisions\/1318"}],"wp:attachment":[{"href":"https:\/\/www.djug.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.djug.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.djug.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}