How to put metrics data into CAS 6 (just like perfStats.log in CAS 5)

33 views
Skip to first unread message

Andy Ng

unread,
Aug 27, 2021, 4:10:51 AM8/27/21
to CAS Community
Hi all,

About CAS Metrics:

Previously in CAS 5, we have a "perfStats.log" containing all the metrics of CAS in a file format. Which is useful for our troubleshooting.

However, in CAS 6, the "perfStats.log" file is now removed and also the documentation for CAS 6 exclude that file:

I do saw a list of awesome metrics plugin for CAS 6 which down the line we can leverage, but at the moment we just want a simple "perfStats.log" which allow our colleague to troubleshoot CAS statistics if any issue happen.

I did know the way to retrieve the metrics using endopint `/cas/actuator/metrics/system.cpu.usage`, but a file can preserved the history of those metrics which an endpoint cannot help.

Does anybody knows how to reproduce the same / similar "perfStats.log" without introducing an additional component?

Cheers!
- Andy
Reply all
Reply to author
Forward
0 new messages