Upgrade to Pro — share decks privately, control downloads, hide ads and more …

360° Monitoring of Your Microservices

360° Monitoring of Your Microservices

"With microservices every outage is like a murder mystery" is a common complaint. But it doesn't have to be! This talk gives an overview on how to monitor Spring Boot applications, since they are increasingly popular for building microservices. We dive into:
* System metrics: Keep track of network traffic and system load.
* Application logs: Collect and parse your logs.
* Uptime monitoring: Use Heartbeat to ping services and actively monitor their availability.
* Application metrics: Get the information from Spring Boot's metric and health endpoints via REST and JMX.
* Request tracing: Use Elastic APM to trace requests through a distributed system and Kibana to show how long each call takes.

And we will do all of that live, since it is so easy and much more interactive that way.

Philipp Krenn

July 01, 2019

More Decks by Philipp Krenn

Other Decks in Programming


  1. Monitor Your Apps with the Philipp Krenn̴̴̴̴̴@xeraa

  2. None
  3. None
  4. None
  5. None
  6. None
  7. None
  8. None
  9. None
  10. None
  11. Ceci n'est pas David Pilato.

  12. None
  13. Developer

  14. Disclaimer I build highly monitored Hello World apps

  15. None
  16. !

  17. xeraa.wtf Your requests

  18. Uptime Heartbeat: ICMP, TCP, HTTP(S)

  19. Logs Filebeat: structured, enriched

  20. Network Packetbeat: TCP/IP, HTTP, MySQL, TLS

  21. Metrics Metricbeat: host, apps (heap usage)

  22. Security Auditbeat: users, systems, executions

  23. APM / Tracing Java, Node.js, Python, Ruby, Go, .NET

  24. APM Real User Monitoring (RUM) import { init as initApm

    } from '@elastic/apm-rum' const apm = initApm({ serviceName: 'my-app', serverUrl: 'http://apm-server.com:8200', serviceVersion: '1.0' }) </script>
  25. More

  26. Alertinga a Gold License and part of the Elastic Cloud

  27. None
  28. Machine Learningb Anomaly Detection of Time Series Data b Platinum

    License and part of the Elastic Cloud
  29. None
  30. Conclusion

  31. None
  32. From ! to

  33. Code https://github.com/xeraa/ microservice-monitoring

  34. Questions? Philipp Krenn̴̴̴̴̴@xeraa PS: Sticker