JavaMelody - SpringBootAdmin

JavaMelody module for SpringBootAdmin v1

License

License

ASL
Categories

Categories

Spring Boot Container Microservices Net JavaMelody Application Testing & Monitoring Application Performance Monitoring (APM)
GroupId

GroupId

net.bull.javamelody
ArtifactId

ArtifactId

spring-boot-admin-server-ui-javamelody
Last Version

Last Version

1.5.7.2
Release Date

Release Date

Type

Type

jar
Description

Description

JavaMelody - SpringBootAdmin
JavaMelody module for SpringBootAdmin v1
Project URL

Project URL

https://github.com/javamelody/spring-boot-admin-server-ui-javamelody
Source Code Management

Source Code Management

https://github.com/javamelody/spring-boot-admin-server-ui-javamelody

Download spring-boot-admin-server-ui-javamelody

How to add to project

<!-- https://jarcasting.com/artifacts/net.bull.javamelody/spring-boot-admin-server-ui-javamelody/ -->
<dependency>
    <groupId>net.bull.javamelody</groupId>
    <artifactId>spring-boot-admin-server-ui-javamelody</artifactId>
    <version>1.5.7.2</version>
</dependency>
// https://jarcasting.com/artifacts/net.bull.javamelody/spring-boot-admin-server-ui-javamelody/
implementation 'net.bull.javamelody:spring-boot-admin-server-ui-javamelody:1.5.7.2'
// https://jarcasting.com/artifacts/net.bull.javamelody/spring-boot-admin-server-ui-javamelody/
implementation ("net.bull.javamelody:spring-boot-admin-server-ui-javamelody:1.5.7.2")
'net.bull.javamelody:spring-boot-admin-server-ui-javamelody:jar:1.5.7.2'
<dependency org="net.bull.javamelody" name="spring-boot-admin-server-ui-javamelody" rev="1.5.7.2">
  <artifact name="spring-boot-admin-server-ui-javamelody" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.bull.javamelody', module='spring-boot-admin-server-ui-javamelody', version='1.5.7.2')
)
libraryDependencies += "net.bull.javamelody" % "spring-boot-admin-server-ui-javamelody" % "1.5.7.2"
[net.bull.javamelody/spring-boot-admin-server-ui-javamelody "1.5.7.2"]

Dependencies

compile (3)

Group / Artifact Type Version
de.codecentric : spring-boot-admin-server jar 1.5.7
net.bull.javamelody : javamelody-core jar 1.75.0
com.lowagie : itext jar 2.1.7

runtime (1)

Group / Artifact Type Version
de.codecentric : spring-boot-admin-server-ui jar 1.5.7

test (2)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar RELEASE
log4j : log4j jar 1.2.17

Project Modules

There are no modules declared in this project.

JavaMelody UI Module for SpringBootAdmin v1

This module adds a view of the javamelody monitoring for each registered application in SpringBootAdmin v1 (SBA). Based on this PR by dvtoever.

  1. Add the module to your classpath in the pom.xml of your SBA server:
<!-- https://github.com/javamelody/spring-boot-admin-server-ui-javamelody -->
<dependency>
    <groupId>net.bull.javamelody</groupId>
    <artifactId>spring-boot-admin-server-ui-javamelody</artifactId>
    <version>1.5.7.2</version>
</dependency>
<dependency>
    <groupId>net.bull.javamelody</groupId>
    <artifactId>javamelody-core</artifactId>
    <version>1.75.0</version>
</dependency>
  1. Optionally add parameters for the SBA server in your application.yml or application.properties file. Available parameters are: storage-directory, resolution-seconds, warning-threshold-millis, severe-threshold-millis, graphite-address, influxdb-url, cloudwatch-namespace, datadog-api-key, statsd-address, admin-emails, mail-session, mail-periods. For example in application.yml:
javamelody:
  collectserver.enabled: true
  init-parameters:
    storage-directory: /tmp/javamelody
  1. Make sure each application that is registered with SBA has javamelody client support enabled and can be reached at the default endpoint /monitoring, with the javamelody client in the pom.xml of your applications:
<!-- https://github.com/javamelody/javamelody/wiki/SpringBootStarter -->
<dependency>
    <groupId>net.bull.javamelody</groupId>
    <artifactId>javamelody-spring-boot-starter</artifactId>
    <version>1.75.0</version>
</dependency>
  1. Optionally add parameters for the monitored application(s) in the application.yml or application.properties file(s). Main available parameters are: allowed-addr-pattern, url-exclude-pattern, http-transform-pattern, sql-transform-pattern, jpa-transform-pattern, spring-transform-pattern, error-transform-pattern, log-transform-pattern, job-transform-pattern, jsp-transform-pattern, log, rum-enabled, sampling-seconds, maven-repositories. For example in application.yml (allowed-addr-pattern is recommended in order to restrict access to the monitoring page to the SBA server and to forbid access to anyone else):
spring.boot.admin:
  url: http://192.168.1.1:8080  

javamelody:
  # Enable JavaMelody auto-configuration (optional, default: true)
  enabled: true
  # Enable monitoring of Spring services and controllers (optional, default: true)
  spring-monitoring-enabled: true
  init-parameters:
    # restrict access to the monitoring page to the SBA server of ip address 192.168.1.1
    allowed-addr-pattern: 192\.168\.1\.1
    # 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+

Latest javamelody version: Maven Central

License ASL

This JavaMelody module is not currently compatible with Spring Boot Admin 2. Volunteers are welcome. But the JavaMelody Spring Boot Starter is compatible with Spring Boot 2.

net.bull.javamelody
monitoring of JavaEE applications

Versions

Version
1.5.7.2
1.5.7.1
1.5.7.0