JavaMelody v1.64.0 发布了，主要更新如下：
In the Jenkins plugin, fix JENKINS-42112 : HTTP user session is reported as "anonymous" when using anything but AbstractPasswordBasedSecurityRealm (like Google login plugin or Cloudbees Operations Center).
improved: make easier the selection of the stack-trace text in the tooltips of the threads list (736cf0e)
added: pdf report in the detail page of a request. (28e2474)
added: links to view java source from errors and threads stack-traces. (e5263bf)
Source from the JDK and source from artifacts built by Maven and available in Maven central can be viewed. So if your server uses a JRE and not a JDK, source from the JDK are not available. And note that many artifacts available in Maven central were not built by Maven, for example Tomcat libraries, so sources of those artifacts can't be located.
The javamelody parameter
maven-repositoriescan be used like the other javamelody parameters, to search for sources of Maven artifacts in other repositories than your local repository and than Maven central, and such as your own company repository containing the sources of your own app. The parameter value must be a comma separated list of Maven repositories URLs (
~/.m2/repository,https://repo1.maven.org/maven2/by default and recommended as last repositories). And if your repository needs basic authentication, you can insert "username:password" in the URL. For example in the web.xml :
<filter> <filter-name>javamelody</filter-name> <filter-class>net.bull.javamelody.MonitoringFilter</filter-class> <init-param> <param-name>maven-repositories</param-name> <param-value>https://myusername:firstname.lastname@example.org,~/.m2/repository,https://repo1.maven.org/maven2/</param-value> </init-param> </filter> ...
added: new javamelody parameter
application-name, to override the default one based on the context path of the webapp and on the hostname. Using this parameter will change the default storage directory path. (PR #604 thanks to kai-modrzok)
removed: specific support of Jonas application server for datasource monitoring (dab4131)