You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
path: util/aop/aop-service/src/main/java/com/knubisoft/aop/service/MethodCallsCountAspect.java

MethodCallsCountAspect works on the service layer and collects metrics about how many times each public method has been called.
MethodCallsCountAspect annotated with @ConditionalOnProperty(value = "management.serviceLayerMetrics.methodCallsCountEnabled", havingValue = "true"), so to 'enable' this aspect you must set the property management.serviceLayerMetrics.methodCallsCountEnabled within the application.yaml to true.
