void report ( boolean includeLastValue ) throws IOException { // see https://prometheus.io/docs/instrumenting/exposition_formats/ for text format // memory reportOnMemoryInformations ( javaInformations . getMemoryInformations ( ) ) ; // jvm & system reportOnJavaInformations ( ) ; // tomcat if ( javaInformations . getTomcatInformationsList ( ) != null ) { reportOnTomcatInformations ( ) ; } // caches if ( javaInformations . isCacheEnabled ( ) ) { reportOnCacheInformations ( ) ; } reportOnCollector ( ) ; if ( includeLastValue ) { reportOnLastValues ( ) ; } }
Produce the full report .