I enabled metrics logging using steps found here Enable Metric logging | ColdFusion 10 , but with the additional steps of specifying the correct port number in the CF Admin Console / Debug Output Settings section.
Many fields are logged, and some seem obvious. Others are ambiguous - like Error Count. Does anyone have a link to something that provides a true definition of each of the logged fields?
Copy link to clipboard
I am not aware of any page that defines them, but as you say they do have a headers before each value, which generally should help most readers to know what they are.
You ask about error count: that is really simply the count of how many requests in CF have had errors (like 500 errors, the kind that happen when you have a syntax or runtime error within a CF page). If one has the CF Enterprise Server Monitor, this same number (and many of these in the log) is also reported there. Were you perhaps wondering if it meant something else? Or is there a subtlety that you wonder about it?
As for the others, some could leave questions for many readers, like “Max threads” (which I can say equates to the maxthreads setting in the server.xml file), “Current thread count” (which seems to be the number of connections in the web server connector pool), and “Current thread busy” (which seems to be the number of requests actually running).
It would indeed be helpful if someone from Adobe were to give us the firm, final definition of these. This is something that perhaps Anit (an Adobe engineer who often takes on such opportunities for improvement) might take on. If he doesn’t see this, note that he is also accessible at coldfusionsolution.wordpress.com.
Rather than using metrics.log you might like to try Java Management Extensions (JMX) then use Java Developer Kit (JDK) tools like jconsole.exe or jmc.exe (Java Mission Control) to look at what CF Java memory and tomcat parameters are doing.