How to Monitor Your Distributed Java Application

A presentation at jPrime in May 2018 in Sofia, Bulgaria by Philipp Krenn

Slide 1

Slide 1

How to Monitor Your Distributed Java Application Philipp Krenn 44444 @xeraa

Slide 2

Slide 2

Slide 3

Slide 3

Slide 4

Slide 4

Slide 5

Slide 5

Slide 6

Slide 6

Developer Advocate

Slide 7

Slide 7

Disclaimer I build highly monitored Hello World apps

Slide 8

Slide 8

Application

Slide 9

Slide 9

Simple No discovery, load-balancing,...

Slide 10

Slide 10

Slide 11

Slide 11

Cloud

Slide 12

Slide 12

Slide 13

Slide 13

Slide 14

Slide 14

Open Source

Slide 15

Slide 15

Slide 16

Slide 16

Slide 17

Slide 17

Monitor

Slide 18

Slide 18

Metricbeat: System

Slide 19

Slide 19

https://xeraa.wtf

Slide 20

Slide 20

Packetbeat

Slide 21

Slide 21

Metricbeat: nginx

Slide 22

Slide 22

Filebeat Modules

Slide 23

Slide 23

Filebeat + JSON MDC, context, stack hash

Slide 24

Slide 24

Heartbeat

Slide 25

Slide 25

Metricbeat: HTTP

Slide 26

Slide 26

Slide 27

Slide 27

Metricbeat: Jolokia

Slide 28

Slide 28

Time Series Visual Builder & Annotations

Slide 29

Slide 29

Auditbeat

Slide 30

Slide 30

Sleuth

Slide 31

Slide 31

2017-03-29 08:08:35.090 INFO [frontend,69a851ed700bf1fa,69a851ed700bf1fa,true] 23575 --- [p-nio-80-exec-2] n.x.MicroserviceMonitoringApplication : Calling home 2017-03-29 08:08:36.149 INFO [frontend,69a851ed700bf1fa,10b1f0a0e2de1253,true] 23575 --- [p-nio-80-exec-3] n.x.MicroserviceMonitoringApplication : You called home

Slide 32

Slide 32

Application: frontend Trace ID: 69a851ed700bf1fa Span ID: 10b1f0a0e2de1253 Send to Zipkin: true

Slide 33

Slide 33

Zipkin

Slide 34

Slide 34

Zipkin Chrome Extension https://github.com/openzipkin/zipkin-browser-extension

Slide 35

Slide 35

More

Slide 36

Slide 36

Alerts * *   X-Pack and part of the Elastic Cloud

Slide 37

Slide 37

Slide 38

Slide 38

Machine Learning ** Anomaly Detection of Time Series Data **   X-Pack

Slide 39

Slide 39

Slide 40

Slide 40

Future

Slide 41

Slide 41

APM

Slide 42

Slide 42

Conclusion

Slide 43

Slide 43

Slide 44

Slide 44

System metrics & network Filebeat modules & Auditbeat Application logs

Slide 45

Slide 45

Uptime Application metrics Request tracing

Slide 46

Slide 46

Next https://dashboard.xeraa.wtf https://github.com/xeraa/microservice-monitoring

Slide 47

Slide 47

Questions? Philipp Krenn 44444 @xeraa PS: Sticker