Operation: Info
The Info operation generates an output with filtered measurement data from the system. The filters are defined in the input. The metrics endpoint is used for this operation.
The following parameters also need to be set:
protocolhostportpath
Input
The adapter expects an XML file in the following format as input:
<?xmlversion="1.0"encoding="UTF-8"?>
<filter>
<types>
<value>gauge</value>
<value></value>
</types>
<keyBeginsWith>
<value>vendor</value>
<value></value>
</keyBeginsWith>
<keyContains>
<value>used</value>
<value></value>
</keyContains>
</filter>
The following elements are included in the input:
Element | Description |
|---|---|
| Root element for the |
| Type of measurement. Contains the Possible values for the
|
| Filters for values at the beginning. Contains the Possible values for the
|
| Filters for values contained. Contains the Possible values for the
|
Output with wildfly as endpoint
With wildfly as the endpoint, the adapter generates an XML file in the following format:
<?xml version="1.0" encoding="UTF-8"?>
<info>
<server>
<host>localhost</host>
<port>9990</port>
<path>/metrics</path>
</server>
<metricscount>151</metricscount>
<metricstype>
<counter>22</counter>
<gauge>129</gauge>
</metricstype>
<rootcategories>
<base>19</base>
<vendor>3</vendor>
<wildfly>129</wildfly>
</rootcategories>
<hastimestamps>false</hastimestamps>
<haslabels>true</haslabels>
</info>
Output with Keycloak as endpoint
With Keycloak as the endpoint, the adapter generates an XML file in the following format:
<?xml version="1.0" encoding="UTF-8"?>
<info>
<server>
<host>localhost</host>
<port>8085</port>
<path>/auth/metrics</path>
</server>
<metricscount>41</metricscount>
<metricstype>
<gauge>30</gauge>
<counter>11</counter>
</metricstype>
<rootcategories>
<base>15</base>
<vendor>26</vendor>
</rootcategories>
<hastimestamps>false</hastimestamps>
<haslabels>true</haslabels>
</info>
Elements in the output
The following elements are included in the output for wildfly and Keycloak:
Element | Description |
|---|---|
| Root element for the output of the |
| Contains the elements:
|
| Total of measured values |
| Contains the elements:
|
| Contains the elements:
|
| Indicates whether the measured data has a time stamp:
|
| Indicates whether a label is present.
|