Breaking Changes
- renamed HttpExecutionContextMonitorFiler to org.stagemonitor.web.monitor.filter.HttpRequestMonitorFilter
- renamed SpringHttpExecutionContextMonitorFiler to org.stagemonitor.web.monitor.filter.SpringHttpRequestMonitorFilter
- restructured request metric names - you'll need to update the request dashboard
- deleted starter projects
- renamed stagemonitor-spring to stagemonitor-spring-mvc
- rates are reported in seconds
- removed collector middle package
Top Features
- support for monitoring ehcache (stagemonitor-ehcache)
- overwrite properties with Java system properties (-Dstagemonitor.property=value)
- record stack trace of thrown exceptions
- record bytes written
- record ip address of client
- optionally parse and analyze user-agent header to get information about the user's device, browser and os
- disable specific plugins with
stagemonitor.plugins.disabled
- annotate methods with
@MonitorRequests
or make RequestMonitorAspect concrete in aop.xml to monitor method executions like RMI calls - support for metrics-annotations:
@Timed
,@Metered
,@ExceptionMetered
,@Gauge
(enabled by@MonitorGauges
on type) - Automatic timing for
@Async(hronous)
and@Scheduled
methods - Added copyToLib gradle task. To assemble all libs necessary e.g. to run staemonitor-spring-mvc, execute
./gradlew copyToJar
. Then go to stagemonitor-spring-mvc/build/libs/lib - Logging Plugin
- MeterLoggingAspect: Creates meters for trace, debug, info, warn, error and fatal and updates them on every log statement
- TimeLoggingAspect: Creates timers for trace, debug, info, warn, error and fatal and updates them on every log statement
- InformationAppendingLoggingAspect: Appends the requestId, application name, instance name and host name to line to each logging statement