Prometheus Monitoring for Java Web Applications w o Modifying Source Code by Fabian Stäber

  Рет қаралды 26,266

Devoxx

Devoxx

Күн бұрын

The Prometheus monitoring tool follows a white-box monitoring approach: Applications actively provide metrics about their internal state to the Prometheus server. In order to instrument an application with Prometheus metrics, you have to add a metrics library and call that library in the application's source code. However, DevOps teams do not always have the option to modify the source code of the applications they are running.
This talk shows how to instrument Java Web Applications with Prometheus metrics without modifying the application's source code. The implementation uses a variety of lesser-known but useful JVM features and libraries: Java agents, Bytecode manipulation with Byte Buddy, custom class loaders, reflection without loading class dependencies, thread locals, weak references, Docker for running application servers in integration tests. Browsing through the demo code we will learn some interesting facts about module systems in application servers and class loaders in general.
Fabian Stäber
Dr. Fabian Stäber is software developer, research and development lead, consultant, architect, at ConSol Software GmbH in Munich, Germany. Fabian is excited about Java server development, distributed systems, operations, and monitoring. His academic research was on decentralized, peer-to-peer-based network architectures.

Пікірлер: 6
@kengeis1265
@kengeis1265 7 жыл бұрын
Thanks for the talk. I really appreciated the example of coding a Java agent with Byte Buddy.
@shashidubey1
@shashidubey1 6 жыл бұрын
You can find it here labs.consol.de/monitoring/2017/11/07/prometheus-java.html
@drivingtestprep4958
@drivingtestprep4958 4 жыл бұрын
Can we not use something like AOP where you can configure the advice and just write the advice which produces the metrics ?
@fabianstaber265
@fabianstaber265 7 жыл бұрын
If you want a general introduction to Prometheus Monitoring for Java Developers, you might want to watch this: kzbin.info/www/bejne/oJOcm5J_jttnmbc
@zokymasa
@zokymasa 4 жыл бұрын
Fabian looks like Gaspar Noe
Streaming Database Changes with Debezium by Gunnar Morling
48:25
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Intro + Deep Dive: Prometheus - Julius Volz, Prometheus & Richard Hartmann, SpaceNet
1:18:49
CNCF [Cloud Native Computing Foundation]
Рет қаралды 21 М.
Server Monitoring // Prometheus and Grafana Tutorial
24:36
Christian Lempa
Рет қаралды 688 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
Monitoring Kubernetes with Prometheus - Tom Wilkie
36:54
GDG Lviv
Рет қаралды 32 М.
🚀  TDD, Where Did It All Go Wrong (Ian Cooper)
1:03:55
DevTernity Conference
Рет қаралды 572 М.
How to Monitor Spring Boot Application With Prometheus and Grafana
14:58
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 692 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН