Slackbot
01/22/2024, 5:57 PMgaolei
01/22/2024, 6:09 PMAllison Martin
01/22/2024, 6:11 PMgaolei
01/22/2024, 6:35 PMjavamelody:
# Enable JavaMelody auto-configuration (optional, default: true)
enabled: true
# Data source names to exclude from monitoring (optional, comma-separated)
excluded-datasources:
# Enable monitoring of Spring services and controllers (optional, default: true)
spring-monitoring-enabled: true
# Initialization parameters for JavaMelody (optional)
# See: <https://github.com/javamelody/javamelody/wiki/UserGuide#6-optional-parameters>
init-parameters:
# log http requests:
log: true
# to exclude images, css, fonts and js urls from the monitoring:
#url-exclude-pattern: (/webjars/.*|/css/.*|/images/.*|/fonts/.*|/js/.*)
# to aggregate digits in http requests:
#http-transform-pattern: \d+
# to add basic auth:
#authorized-users: admin:pwd
# to change the default storage directory:
#storage-directory: /opt/prod/xxxx/javamelody
# to change the default "/monitoring" path:
#monitoring-path: /admin/performancegaolei
01/22/2024, 6:51 PMimplementation 'net.bull.javamelody:javamelody-core:1.91.0'Aaron
01/22/2024, 9:59 PMimport net.bull.javamelody.MonitoredWithSpring
@Slf4j
@MonitoredWithSpring
class BaseController {Allison Martin
02/14/2024, 4:45 PM