SlideShare a Scribd company logo
1 of 71
Download to read offline
Ko Turk
Controlling your race with
Micrometer, Spring Boot
and Cloud Foundry
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
You’re part of a racing team
Sounds silly right?
But what if we don’t have this kind of information?
@KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
But why don’t we (developers) think about proper monitoring?
@KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Title Text
https://formulaf1results.blogspot.com/2020/01/f1-crash-wallpaper.html
Application X Application Y
Backend
(still driving but slow)
@KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
If that’s happening…..
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Of course you can log it but…..
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
A log is an event that happened
A metric is a measurement of the health of a system.
https://www.sumologic.com/blog/logs-metrics-overview/
@KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
That’s where
Micrometer comes in
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Introduction
Working
for Blue4IT
@Rabobank
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
https://www.signifytechnology.com/blog/2019/09/whats-your-tech-stack
Java 14Spring Boot
Typescript
Angular
Cloud Foundry
Pipeline as code Micrometer
Speaking
about IDEs and Micrometer
Likes to drive
the trial bike
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
UtrechtJUG
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Goals
Define the metrics
Create them in Micrometer
Save it to Prometheus
Visualize with Grafana
Deploy to Cloud Foundry
(Create the teams strategy)
(Preparing the car/race)
(The teams Pitwall)
(Let’s race)
https://www.redbull.com/nl-nl/red-bull-racing-zet-de-fabrieksdeuren-open
Create the teams strategy
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
What do we want to monitor?
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
How to be good in DevOps?
https://landing.google.com/sre/sre-book/toc/index.html
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
It’s about
• Searching for race factors —> Service Level Indicators
• Creating tactics —> Service Level Objectives
• Creating a strategy —> Service Level Agreement
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Racing Factors —> Defining an indicator (SLI)
• pitstop
request latency
How long does it take to do a pitstop
How long does it take to return a response
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Tactics —> Defining an objective (SLO)
not slower then 8 seconds
service x not longer then 0.1 seconds
• pitstop
request latency
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Strategy —> Defining an agreement (SLA)
• 2 pitstops less then x seconds
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Goals
Define the metrics
Create them in Micrometer
Save it to Prometheus
Visualize with Grafana
Deploy to Cloud Foundry
(Create the teams strategy)
(Preparing the car/race)
(The teams Pitwall)
(Let’s race)
Micrometer for the win!
But what is it?
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
SLF4J only for metrics
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Reasons to use Micrometer
• No vendor lock-in
• It’s Pivotal VMWare Tanzu
• Easy integration in Spring Boot
• So also support in Cloud Foundry
• Simple to use
• You can choose your own database / monitoring system
• You can define your own set of metrics
• But you get a lot for free
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Micrometer is included in Spring Boot 2 actuator
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Extra dependency for Spring Boot 1.5.x
I<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-spring-legacy</artifactId>
</dependency>
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
And also for Micronaut
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Pre-configured Bindings
• Instrumentions of:
• caches
• class loader
• garbage collection
• processor utilisation
• thread pools
• and more
https://i.ytimg.com/vi/eVpRNi5VEDo/maxresdefault.jpg
Demo time
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Long Task Timer
https://i.pinimg.com/originals/fb/5b/98/fb5b98edf68000f44e89d6428a3e2c65.jpg
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Timer
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
https://s1.cdn.autoevolution.com/images/news/gallery/red-bull-racing-beats-record-to-set-new-fastest-pit-stop-in-the-history-of-f1_2.jpg
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Counter
https://www.wallpaperflare.com/static/467/219/735/mercedes-amg-f1-w07-hybrid-formula-1-testing-wallpaper.jpg
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Gauge
https://cdn.24.co.za/files/Cms/General/d/4338/1678467a9d9149b983f38424014fb2c0.jpg
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
About security
• Please implement spring security
• Otherwise you will expose your endpoint to others
• And don’t forget to add it in your database config!
https://www.baeldung.com/spring-security-basic-authentication
https://egkatzioura.com/2020/05/07/spring-boot-and-micrometer-with-prometheus-part-6-securing-metrics/
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Goals
Define the metrics
Create them in Micrometer
Save it to Prometheus
Visualize with Grafana
Deploy to Cloud Foundry
(Create the teams strategy)
(Preparing the car/race)
(The teams Pitwall)
(Let’s race)
@KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Where to store the metrics?
Which database should I use?
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Databases
• Prometheus
• Graphite
• Atlas
• KairosDB
Persistent or not persistent?
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
If you want to expose to prometheus
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>

@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Or Graphite
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-graphite</artifactId>
</dependency>

@KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
How to configure your application
with prometheus
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Goals
Define the metrics
Create them in Micrometer
Save it to Prometheus
Visualize with Grafana
Deploy to Cloud Foundry
(Create the teams strategy)
(Preparing the car/race)
(The teams Pitwall)
(Let’s race)
https://blog.purestorage.com/wp-content/uploads/2016/07/Pure-MBF1-Pitwall-v6.jpg
@KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
How to visualise the application metrics?
Which monitoring system to use?
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Systems
• Grafana
• Datadog
• Dynatrace
• Instant
• WaveFront
• and many more
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Let’s deep dive into Grafana
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Long Task Timer (duration)
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Timer (count)
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Timer (max)
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Gauge
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Bindings
@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Goals
Define the metrics
Create them in Micrometer
Save it to Prometheus
Visualize with Grafana
Deploy to Cloud Foundry
(Create the teams strategy)
(Preparing the car/race)
(The teams Pitwall)
(Let’s race)
@KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Title Text
All examples you can find at:
https://github.com/KoTurk/micrometer-race-demo
@KoTurk77
Thank you for listening

More Related Content

What's hot

Software Supply Chains for DevOps @ InfoQ Live 2021
Software Supply Chains for DevOps @ InfoQ Live 2021Software Supply Chains for DevOps @ InfoQ Live 2021
Software Supply Chains for DevOps @ InfoQ Live 2021Aysylu Greenberg
 
Software Supply Chain Observability with Grafeas and Kritis
Software Supply Chain Observability with Grafeas and KritisSoftware Supply Chain Observability with Grafeas and Kritis
Software Supply Chain Observability with Grafeas and KritisAysylu Greenberg
 
Spring Boot Observability
Spring Boot ObservabilitySpring Boot Observability
Spring Boot ObservabilityVMware Tanzu
 
Software Supply Chain Management with Grafeas and Kritis
Software Supply Chain Management with Grafeas and KritisSoftware Supply Chain Management with Grafeas and Kritis
Software Supply Chain Management with Grafeas and KritisAysylu Greenberg
 
게임 서버 성능 분석하기
게임 서버 성능 분석하기게임 서버 성능 분석하기
게임 서버 성능 분석하기iFunFactory Inc.
 
Speeding up your team with GitOps
Speeding up your team with GitOpsSpeeding up your team with GitOps
Speeding up your team with GitOpsBrice Fernandes
 
Secure GitOps pipelines for Kubernetes with Snyk & Weaveworks
Secure GitOps pipelines for Kubernetes with Snyk & WeaveworksSecure GitOps pipelines for Kubernetes with Snyk & Weaveworks
Secure GitOps pipelines for Kubernetes with Snyk & WeaveworksWeaveworks
 
Hardening Your CI/CD Pipelines with GitOps and Continuous Security
Hardening Your CI/CD Pipelines with GitOps and Continuous SecurityHardening Your CI/CD Pipelines with GitOps and Continuous Security
Hardening Your CI/CD Pipelines with GitOps and Continuous SecurityWeaveworks
 
アプリ起動時間高速化 ~推測するな、計測せよ~
アプリ起動時間高速化 ~推測するな、計測せよ~アプリ起動時間高速化 ~推測するな、計測せよ~
アプリ起動時間高速化 ~推測するな、計測せよ~gree_tech
 
Kerbernetes Robotics Distributed System Deep Dive
Kerbernetes Robotics Distributed System Deep DiveKerbernetes Robotics Distributed System Deep Dive
Kerbernetes Robotics Distributed System Deep DiveTomoya Fujita
 
WWCode Dallas - Kubernetes: Learning from Zero to Production
WWCode Dallas - Kubernetes: Learning from Zero to ProductionWWCode Dallas - Kubernetes: Learning from Zero to Production
WWCode Dallas - Kubernetes: Learning from Zero to ProductionRosemary Wang
 
Kubernetes Controller for Pull Request Based Environment
Kubernetes Controller for Pull Request Based EnvironmentKubernetes Controller for Pull Request Based Environment
Kubernetes Controller for Pull Request Based EnvironmentVishal Banthia
 
Kubernetes based connected vehicle platform #k8sjp_t1 #k8sjp
Kubernetes based connected vehicle platform #k8sjp_t1 #k8sjp Kubernetes based connected vehicle platform #k8sjp_t1 #k8sjp
Kubernetes based connected vehicle platform #k8sjp_t1 #k8sjp Kenta Suzuki
 
GitOps Days EU 20 - Our journey building a self-service platform
GitOps Days EU 20 - Our journey building a self-service platformGitOps Days EU 20 - Our journey building a self-service platform
GitOps Days EU 20 - Our journey building a self-service platformSteven Wade Consutling
 
Microservices development at scale
Microservices development at scaleMicroservices development at scale
Microservices development at scaleVishal Banthia
 
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)Roberto Pérez Alcolea
 
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version)
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version) 給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version)
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version) William Yeh
 

What's hot (20)

Software Supply Chains for DevOps @ InfoQ Live 2021
Software Supply Chains for DevOps @ InfoQ Live 2021Software Supply Chains for DevOps @ InfoQ Live 2021
Software Supply Chains for DevOps @ InfoQ Live 2021
 
Software Supply Chain Observability with Grafeas and Kritis
Software Supply Chain Observability with Grafeas and KritisSoftware Supply Chain Observability with Grafeas and Kritis
Software Supply Chain Observability with Grafeas and Kritis
 
Spring Boot Observability
Spring Boot ObservabilitySpring Boot Observability
Spring Boot Observability
 
Software Supply Chain Management with Grafeas and Kritis
Software Supply Chain Management with Grafeas and KritisSoftware Supply Chain Management with Grafeas and Kritis
Software Supply Chain Management with Grafeas and Kritis
 
게임 서버 성능 분석하기
게임 서버 성능 분석하기게임 서버 성능 분석하기
게임 서버 성능 분석하기
 
Speeding up your team with GitOps
Speeding up your team with GitOpsSpeeding up your team with GitOps
Speeding up your team with GitOps
 
Secure GitOps pipelines for Kubernetes with Snyk & Weaveworks
Secure GitOps pipelines for Kubernetes with Snyk & WeaveworksSecure GitOps pipelines for Kubernetes with Snyk & Weaveworks
Secure GitOps pipelines for Kubernetes with Snyk & Weaveworks
 
Hardening Your CI/CD Pipelines with GitOps and Continuous Security
Hardening Your CI/CD Pipelines with GitOps and Continuous SecurityHardening Your CI/CD Pipelines with GitOps and Continuous Security
Hardening Your CI/CD Pipelines with GitOps and Continuous Security
 
アプリ起動時間高速化 ~推測するな、計測せよ~
アプリ起動時間高速化 ~推測するな、計測せよ~アプリ起動時間高速化 ~推測するな、計測せよ~
アプリ起動時間高速化 ~推測するな、計測せよ~
 
Kerbernetes Robotics Distributed System Deep Dive
Kerbernetes Robotics Distributed System Deep DiveKerbernetes Robotics Distributed System Deep Dive
Kerbernetes Robotics Distributed System Deep Dive
 
The path to cdi 2.0
The path to cdi 2.0The path to cdi 2.0
The path to cdi 2.0
 
WWCode Dallas - Kubernetes: Learning from Zero to Production
WWCode Dallas - Kubernetes: Learning from Zero to ProductionWWCode Dallas - Kubernetes: Learning from Zero to Production
WWCode Dallas - Kubernetes: Learning from Zero to Production
 
Kubernetes Controller for Pull Request Based Environment
Kubernetes Controller for Pull Request Based EnvironmentKubernetes Controller for Pull Request Based Environment
Kubernetes Controller for Pull Request Based Environment
 
Kubernetes based connected vehicle platform #k8sjp_t1 #k8sjp
Kubernetes based connected vehicle platform #k8sjp_t1 #k8sjp Kubernetes based connected vehicle platform #k8sjp_t1 #k8sjp
Kubernetes based connected vehicle platform #k8sjp_t1 #k8sjp
 
GitOps Days EU 20 - Our journey building a self-service platform
GitOps Days EU 20 - Our journey building a self-service platformGitOps Days EU 20 - Our journey building a self-service platform
GitOps Days EU 20 - Our journey building a self-service platform
 
Microservices development at scale
Microservices development at scaleMicroservices development at scale
Microservices development at scale
 
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)
 
Gitops Hands On
Gitops Hands OnGitops Hands On
Gitops Hands On
 
From Monolith to K8s - Spring One 2020
From Monolith to K8s - Spring One 2020From Monolith to K8s - Spring One 2020
From Monolith to K8s - Spring One 2020
 
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version)
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version) 給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version)
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version)
 

Similar to Controlling your race with Micrometer, Spring Boot and Cloud Foundry @Geekle

Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Controlling your race with Micrometer, Spring Boot and Cloud FoundryControlling your race with Micrometer, Spring Boot and Cloud Foundry
Controlling your race with Micrometer, Spring Boot and Cloud FoundryKo Turk
 
JavaLand - Micrometer and SpringBoot
JavaLand - Micrometer and SpringBootJavaLand - Micrometer and SpringBoot
JavaLand - Micrometer and SpringBootKo Turk
 
Code Motion Italy
Code Motion ItalyCode Motion Italy
Code Motion ItalyKo Turk
 
Cloud, Containers, Kubernetes (YOW Melbourne 2018)
Cloud, Containers, Kubernetes (YOW Melbourne 2018)Cloud, Containers, Kubernetes (YOW Melbourne 2018)
Cloud, Containers, Kubernetes (YOW Melbourne 2018)bridgetkromhout
 
[AI] ML Operationalization with Microsoft Azure
[AI] ML Operationalization with Microsoft Azure[AI] ML Operationalization with Microsoft Azure
[AI] ML Operationalization with Microsoft AzureKorkrid Akepanidtaworn
 
A Hitchhiker's Guide to Enterprise Microservices with Go
A Hitchhiker's Guide to Enterprise Microservices with GoA Hitchhiker's Guide to Enterprise Microservices with Go
A Hitchhiker's Guide to Enterprise Microservices with GoQAware GmbH
 
Continuous (Non-)Functional Testing of Microservices on K8s
Continuous (Non-)Functional Testing of Microservices on K8sContinuous (Non-)Functional Testing of Microservices on K8s
Continuous (Non-)Functional Testing of Microservices on K8sQAware GmbH
 
Agile azure manchester azure user group v3
Agile azure manchester azure user group  v3Agile azure manchester azure user group  v3
Agile azure manchester azure user group v3jaye Martin
 
Tampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday DockerTampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday DockerSakari Hoisko
 
Building Microservices in the cloud at AutoScout24
Building Microservices in the cloud at AutoScout24Building Microservices in the cloud at AutoScout24
Building Microservices in the cloud at AutoScout24Christian Deger
 
The Battle of the IDEs @DevNexus 2020
The Battle of the IDEs @DevNexus 2020The Battle of the IDEs @DevNexus 2020
The Battle of the IDEs @DevNexus 2020Ko Turk
 
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020Matt Raible
 
Go for Operations
Go for OperationsGo for Operations
Go for OperationsQAware GmbH
 
Supercharging your Python Development Environment with VS Code and Dev Contai...
Supercharging your Python Development Environment with VS Code and Dev Contai...Supercharging your Python Development Environment with VS Code and Dev Contai...
Supercharging your Python Development Environment with VS Code and Dev Contai...Dawn Wages
 
Cloud, Containers, Kubernetes (YOW Sydney 2018)
Cloud, Containers, Kubernetes (YOW Sydney 2018)Cloud, Containers, Kubernetes (YOW Sydney 2018)
Cloud, Containers, Kubernetes (YOW Sydney 2018)bridgetkromhout
 
Cloud, Containers, Kubernetes (YOW Brisbane 2018)
Cloud, Containers, Kubernetes (YOW Brisbane 2018)Cloud, Containers, Kubernetes (YOW Brisbane 2018)
Cloud, Containers, Kubernetes (YOW Brisbane 2018)bridgetkromhout
 
Micro Frontends for Java Microservices - Dublin JUG 2022
Micro Frontends for Java Microservices - Dublin JUG 2022Micro Frontends for Java Microservices - Dublin JUG 2022
Micro Frontends for Java Microservices - Dublin JUG 2022Matt Raible
 
"The Battle of the IDEs"
"The Battle of the IDEs""The Battle of the IDEs"
"The Battle of the IDEs"Ko Turk
 
Building a Cross Cloud Data Protection Engine
Building a Cross Cloud Data Protection EngineBuilding a Cross Cloud Data Protection Engine
Building a Cross Cloud Data Protection EngineDatabricks
 
Config and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus DeployConfig and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus DeployPeter Gallagher
 

Similar to Controlling your race with Micrometer, Spring Boot and Cloud Foundry @Geekle (20)

Controlling your race with Micrometer, Spring Boot and Cloud Foundry
Controlling your race with Micrometer, Spring Boot and Cloud FoundryControlling your race with Micrometer, Spring Boot and Cloud Foundry
Controlling your race with Micrometer, Spring Boot and Cloud Foundry
 
JavaLand - Micrometer and SpringBoot
JavaLand - Micrometer and SpringBootJavaLand - Micrometer and SpringBoot
JavaLand - Micrometer and SpringBoot
 
Code Motion Italy
Code Motion ItalyCode Motion Italy
Code Motion Italy
 
Cloud, Containers, Kubernetes (YOW Melbourne 2018)
Cloud, Containers, Kubernetes (YOW Melbourne 2018)Cloud, Containers, Kubernetes (YOW Melbourne 2018)
Cloud, Containers, Kubernetes (YOW Melbourne 2018)
 
[AI] ML Operationalization with Microsoft Azure
[AI] ML Operationalization with Microsoft Azure[AI] ML Operationalization with Microsoft Azure
[AI] ML Operationalization with Microsoft Azure
 
A Hitchhiker's Guide to Enterprise Microservices with Go
A Hitchhiker's Guide to Enterprise Microservices with GoA Hitchhiker's Guide to Enterprise Microservices with Go
A Hitchhiker's Guide to Enterprise Microservices with Go
 
Continuous (Non-)Functional Testing of Microservices on K8s
Continuous (Non-)Functional Testing of Microservices on K8sContinuous (Non-)Functional Testing of Microservices on K8s
Continuous (Non-)Functional Testing of Microservices on K8s
 
Agile azure manchester azure user group v3
Agile azure manchester azure user group  v3Agile azure manchester azure user group  v3
Agile azure manchester azure user group v3
 
Tampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday DockerTampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday Docker
 
Building Microservices in the cloud at AutoScout24
Building Microservices in the cloud at AutoScout24Building Microservices in the cloud at AutoScout24
Building Microservices in the cloud at AutoScout24
 
The Battle of the IDEs @DevNexus 2020
The Battle of the IDEs @DevNexus 2020The Battle of the IDEs @DevNexus 2020
The Battle of the IDEs @DevNexus 2020
 
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
Choose Your Own Adventure with JHipster & Kubernetes - Utah JUG 2020
 
Go for Operations
Go for OperationsGo for Operations
Go for Operations
 
Supercharging your Python Development Environment with VS Code and Dev Contai...
Supercharging your Python Development Environment with VS Code and Dev Contai...Supercharging your Python Development Environment with VS Code and Dev Contai...
Supercharging your Python Development Environment with VS Code and Dev Contai...
 
Cloud, Containers, Kubernetes (YOW Sydney 2018)
Cloud, Containers, Kubernetes (YOW Sydney 2018)Cloud, Containers, Kubernetes (YOW Sydney 2018)
Cloud, Containers, Kubernetes (YOW Sydney 2018)
 
Cloud, Containers, Kubernetes (YOW Brisbane 2018)
Cloud, Containers, Kubernetes (YOW Brisbane 2018)Cloud, Containers, Kubernetes (YOW Brisbane 2018)
Cloud, Containers, Kubernetes (YOW Brisbane 2018)
 
Micro Frontends for Java Microservices - Dublin JUG 2022
Micro Frontends for Java Microservices - Dublin JUG 2022Micro Frontends for Java Microservices - Dublin JUG 2022
Micro Frontends for Java Microservices - Dublin JUG 2022
 
"The Battle of the IDEs"
"The Battle of the IDEs""The Battle of the IDEs"
"The Battle of the IDEs"
 
Building a Cross Cloud Data Protection Engine
Building a Cross Cloud Data Protection EngineBuilding a Cross Cloud Data Protection Engine
Building a Cross Cloud Data Protection Engine
 
Config and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus DeployConfig and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus Deploy
 

Recently uploaded

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Controlling your race with Micrometer, Spring Boot and Cloud Foundry @Geekle

  • 1. Ko Turk Controlling your race with Micrometer, Spring Boot and Cloud Foundry
  • 2. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry You’re part of a racing team
  • 3.
  • 4. Sounds silly right? But what if we don’t have this kind of information?
  • 5. @KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry But why don’t we (developers) think about proper monitoring?
  • 6. @KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Title Text https://formulaf1results.blogspot.com/2020/01/f1-crash-wallpaper.html Application X Application Y Backend (still driving but slow)
  • 7. @KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry If that’s happening…..
  • 8. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Of course you can log it but…..
  • 9. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry A log is an event that happened A metric is a measurement of the health of a system. https://www.sumologic.com/blog/logs-metrics-overview/
  • 10. @KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry That’s where Micrometer comes in
  • 11. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Introduction
  • 13.
  • 14. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry https://www.signifytechnology.com/blog/2019/09/whats-your-tech-stack
  • 15. Java 14Spring Boot Typescript Angular Cloud Foundry Pipeline as code Micrometer
  • 17. Likes to drive the trial bike
  • 18. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry UtrechtJUG
  • 19.
  • 20. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Goals Define the metrics Create them in Micrometer Save it to Prometheus Visualize with Grafana Deploy to Cloud Foundry (Create the teams strategy) (Preparing the car/race) (The teams Pitwall) (Let’s race)
  • 22. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry What do we want to monitor?
  • 23.
  • 24. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry How to be good in DevOps?
  • 26. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry It’s about • Searching for race factors —> Service Level Indicators • Creating tactics —> Service Level Objectives • Creating a strategy —> Service Level Agreement
  • 27. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Racing Factors —> Defining an indicator (SLI) • pitstop request latency How long does it take to do a pitstop How long does it take to return a response
  • 28. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Tactics —> Defining an objective (SLO) not slower then 8 seconds service x not longer then 0.1 seconds • pitstop request latency
  • 29. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Strategy —> Defining an agreement (SLA) • 2 pitstops less then x seconds
  • 30. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Goals Define the metrics Create them in Micrometer Save it to Prometheus Visualize with Grafana Deploy to Cloud Foundry (Create the teams strategy) (Preparing the car/race) (The teams Pitwall) (Let’s race)
  • 31.
  • 32. Micrometer for the win! But what is it?
  • 33. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry SLF4J only for metrics
  • 34. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Reasons to use Micrometer • No vendor lock-in • It’s Pivotal VMWare Tanzu • Easy integration in Spring Boot • So also support in Cloud Foundry • Simple to use • You can choose your own database / monitoring system • You can define your own set of metrics • But you get a lot for free
  • 35. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Micrometer is included in Spring Boot 2 actuator <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>
  • 36. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Extra dependency for Spring Boot 1.5.x I<dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-spring-legacy</artifactId> </dependency>
  • 37. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry And also for Micronaut
  • 38. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Pre-configured Bindings • Instrumentions of: • caches • class loader • garbage collection • processor utilisation • thread pools • and more
  • 39.
  • 41. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Long Task Timer
  • 43. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Timer
  • 44. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry https://s1.cdn.autoevolution.com/images/news/gallery/red-bull-racing-beats-record-to-set-new-fastest-pit-stop-in-the-history-of-f1_2.jpg
  • 45. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Counter
  • 47. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Gauge
  • 49. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry About security • Please implement spring security • Otherwise you will expose your endpoint to others • And don’t forget to add it in your database config! https://www.baeldung.com/spring-security-basic-authentication https://egkatzioura.com/2020/05/07/spring-boot-and-micrometer-with-prometheus-part-6-securing-metrics/
  • 50. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Goals Define the metrics Create them in Micrometer Save it to Prometheus Visualize with Grafana Deploy to Cloud Foundry (Create the teams strategy) (Preparing the car/race) (The teams Pitwall) (Let’s race)
  • 51. @KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Where to store the metrics? Which database should I use?
  • 52. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Databases • Prometheus • Graphite • Atlas • KairosDB Persistent or not persistent?
  • 53. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry If you want to expose to prometheus <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency>

  • 54. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Or Graphite <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-graphite</artifactId> </dependency>

  • 55.
  • 56. @KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry How to configure your application with prometheus
  • 57. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Goals Define the metrics Create them in Micrometer Save it to Prometheus Visualize with Grafana Deploy to Cloud Foundry (Create the teams strategy) (Preparing the car/race) (The teams Pitwall) (Let’s race)
  • 59. @KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry How to visualise the application metrics? Which monitoring system to use?
  • 60. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Systems • Grafana • Datadog • Dynatrace • Instant • WaveFront • and many more
  • 61. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Let’s deep dive into Grafana
  • 62. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Long Task Timer (duration)
  • 63. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Timer (count)
  • 64. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Timer (max)
  • 65. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Gauge
  • 66. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Bindings
  • 67.
  • 68. @KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Goals Define the metrics Create them in Micrometer Save it to Prometheus Visualize with Grafana Deploy to Cloud Foundry (Create the teams strategy) (Preparing the car/race) (The teams Pitwall) (Let’s race)
  • 69. @KoTurk77@KoTurk77 The Battle of the IDEs #Devnexus@KoTurk77Controlling your race with Micrometer, Spring Boot and Cloud Foundry Title Text
  • 70.
  • 71. All examples you can find at: https://github.com/KoTurk/micrometer-race-demo @KoTurk77 Thank you for listening