After upgrading to WAS 220.127.116.11, or installing an iFix for WAS 18.104.22.168 and later 8.5.5.x servers, you will see a new `metrics.ear` file in your `<WAS_HOME>/installableApps` directory. By installing the `metrics.ear` Prometheus will be able to scrape metrics from your entire WAS cell. We've also published a Grafana dashboard - ready to use with metrics scraped from your WAS servers. While you can easily customize a dashboard to include the metrics you care about, the sample WAS dashboard at grafana.com gives you a good place to start.
The- com.ibm.ws.pmi.prometheus.resultCacheInterval (5s default)
- com.ibm.ws.pmi.prometheus.serverListUpdateInterval (600s default)
The first property defines the cache interval for metrics results.
The second property defines the cache interval for the server list results.Conclusion
For more information on using the metrics app to display PMI metrics in Prometheus format here
For more information on Prometheus here