Glowroot for code instrumentation Glowroot provides ability to
Glowroot for code instrumentation Glowroot provides ability to monitor or measure the level of a product's performance, to diagnose any errors. (Code licensed under the Apache License v 2. 0) Tech. M Public
Glowroot Features • • • Trace capture for slow requests and errors Continuous profiling (with very handy filtering) Response time breakdown charts Response time percentile charts SQL capture and aggregation Service call capture and aggregation MBean attribute capture and charts Configurable alerting Historical rollup of all data (1 m, 5 m, 30 m, 4 h) with configurable retention Full support for async requests that span multiple threads Responsive UI with mobile support Tech. M Public
Library and framework instrumentation • Apache Camel • Cassandra (Data. Stax client) • EJB • Elasticsearch client • Java Executors • Grails • Hibernate • HTTP clients • Apache Http. Client • Apache Http. Async. Client • Async. Http. Client • Ok. Http • java. net. Http. URLCo nnection • Java. Mail • JAX-RS • JAX-WS • Jdbc • JMS • JSF • JSP • Kafka • Loggers Tech. M Public • • • JUL Log 4 j Logback Mongo. DB Netty (HTTP codec) Play Framework Quartz Scheduler Redis (Jedis client) Servlets Spring Framework Struts Vert. x
Application server supported • Tomcat • Tom. EE • Wildfly • JBoss EAP • Jetty • Glassfish • Payara • Web. Logic • Web. Sphere Tech. M Public
Try Out : 1. Download and unzip glowroot-0. 13. 5 -dist. zip. (https: //github. com/glowroot/releases/download/v 0. 13. 5/glowroot 0. 13. 5 -dist. zip) 2. add -javaagent: path/to/glowroot. jar to your application's JVM args. 3. Access : http: //localhost: 4000 to get below output Tech. M Public
Transactions Tab Details 1. 2. 3. Transactions Filter : By percent of total time By average time By throughput (per min) Tech. M Public Transactions Type : Web Startup Transactions Duration
Error Tab Details: Tech. M Public
JVM Tab Details: Tech. M Public
Reporting Tab Details: Tech. M Public
Configuration : Tech. M Public
Administration: Tech. M Public
Ways of Instrumentation: • Through UI : The easiest way to get started with instrumenting your code is to run Glowroot and use its Instrumentation UI, which will help you autocomplete your way to instrumenting your code. • Using Agent API: The Agent API is for direct use by application code. Include Jar dependency and then annotate your application code to provide Glowroot with additional details <dependency> <group. Id>org. glowroot</group. Id> <artifact. Id>glowroot-agent-api</artifact. Id> <version>0. 13. 5</version> </dependency> • Config JSON: • Plugin API Tech. M Public
Central Collector Installation • Option 1 : Running as a standalone executable Jar • Option 2 : Running in your favorite servlet container • Option 3 : Running in a docker container. Requrements: • Java 8 for running the central collector itself (agents can still be running under Java 6+) • Cassandra 2. 1 or later Tech. M Public
Reference URLs: • Code base : https: //github. com/glowroot • Wiki : https: //github. com/glowroot/wiki • Information : https: //glowroot. org/ Tech. M Public
Thank you. Tech. M Public
- Slides: 15