Applicable in Service-class directives.
The stats-xml function creates a performance report in XML format. If performance buckets have been defined, this performance report includes them.
However, you do need to initialize this function using the stats-init function in magnus.conf, then use a NameTrans function to direct requests to the stats-xml function. See the examples below.
The report is generated at the URL:
http://server_id:port/stats-xml/iwsstats.xml
The associated DTD file is located at the URL:
http://server_id:port/stats-xml/iwsstats.dtd
The stats-xml function.
Table 5–125 stats-xml Parameters
Parameter |
Description |
---|---|
method |
(Optional) Common to all Service-class functions. |
query |
(Optional) Common to all Service-class functions. |
UseOutputStreamSize |
(Optional) Common to all Service-class functions. |
flushTimer |
(Optional) Common to all Service-class functions. |
ChunkedRequestBufferSize |
(Optional) Common to all Service-class functions. |
ChunkedRequestTimeout |
(Optional) Common to all Service-class functions. |
bucket |
(Optional) Common to all obj.conf functions. |
In magnus.conf:
Init fn="stats-init" update-interval="5" virtual-servers="2000" profiling="yes" |
In obj.conf:
<Object name="default"> ... NameTrans fn="assign-name" from="/stats-xml/*" name="stats-xml" ... </Object> ... <Object name="stats-xml"> Service fn="stats-xml" </Object> |