JRuby fits into the tree of objects as show in JRuby Tree Hierarchy.
The statistics that are available for JRuby are shown in the following sections:
Use the following dotted name pattern for JRuby container statistics:
server.containers.jruby.applications.jruby-application.statistic
The statistics that are available for the JRuby container are shown in the following table.
Table 8–14 JRuby Container Statistics|
Statistic |
Data Type |
Description |
|---|---|---|
|
environment |
StringStatistic |
JRuby application environment |
|
appname |
StringStatistic |
Ruby application name |
|
contextpath |
StringStatistic |
Context path of Ruby application |
|
jrubyversion |
StringStatistic |
JRuby version |
|
rubyframework |
StringStatistic |
Ruby application framework |
Use the following dotted name pattern for JRuby runtime statistics:
server.containers.jruby.applications.jruby-application.runtime.statistic
The statistics that are available for the JRuby runtime are shown in the following table.
Table 8–15 JRuby Runtime Statistics|
Statistic |
Data Type |
Description |
|---|---|---|
|
activeruntimes |
CountStatistic |
Currently active runtimes |
|
appname |
StringStatistic |
Ruby application name |
|
hardmaximum |
CountStatistic |
Maximum active runtimes |
|
hardminimum |
CountStatistic |
Minimum active runtimes |
Use the following dotted name pattern for JRuby HTTP service statistics:
server.containers.jruby.applications.jruby-application.http.statistic
The statistics that are available for the JRuby HTTP service are shown in the following table.
Table 8–16 JRuby HTTP Service Statistics|
Statistic |
Data Type |
Description |
|---|---|---|
|
address |
StringStatistic |
Server address |
|
appname |
StringStatistic |
Ruby application name |
|
averageprocessingtime |
CountStatistic |
Average request processing time in milliseconds |
|
contextpath |
StringStatistic |
Context path of Ruby application |
|
count2xx |
CountStatistic |
Number of responses with a status code in the 2xx range |
|
count200 |
CountStatistic |
Number of responses with a status code equal to 200 |
|
count3xx |
CountStatistic |
Number of responses with a status code in the 3xx range |
|
count302 |
CountStatistic |
Number of responses with a status code equal to 302 |
|
Count304 |
CountStatistic |
Number of responses with a status code equal to 304 |
|
count4xx |
CountStatistic |
Number of responses with a status code in the 4xx range |
|
count400 |
CountStatistic |
Number of responses with a status code equal to 400 |
|
count401 |
CountStatistic |
Number of responses with a status code equal to 401 |
|
count403 |
CountStatistic |
Number of responses with a status code equal to 403 |
|
count404 |
CountStatistic |
Number of responses with a status code equal to 404 |
|
count5xx |
CountStatistic |
Number of responses with a status code in the 5xx range |
|
count503 |
CountStatistic |
Number of responses with a status code equal to 503 |
|
countother |
CountStatistic |
Number of responses with other status codes |
|
errorcount |
CountStatistic |
Number of responses with a status code greater than 400 |
|
requests/seconds |
CountStatistic |
Requests per second |