Monitoring Petals BC Soap

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History

h1. Monitoring the provider side

h2. Monitoring the response times of outgoing web-service requests per operation and execution status

!outgoing-ws-requests-response-times.png|align=center!

See [Creating a graph using a data query|How to create a graph with Cacti#Creating a graph using a data query] to graph the stats about response times of outgoing web-service requests per operation:
* the data query definition to put in a file:
{code}
<interface>
<name>Get outgoing web-service response times of the BC Soap per operation</name>
<script_path>petals-cli.sh</script_path>
<arg_prepend>-h localhost -n 7700 -u petals -p petals -c -- monitoring -o petals-bc-soap -f outgoing-ws-requests-response-times</arg_prepend>
<arg_index>-- -n petals-bc-soap --list-operations</arg_index>
<arg_query>-- -n petals-bc-soap --query-operations</arg_query>
<arg_get>-- -n petals-bc-soap --query-operations</arg_get>
<output_delimeter>!</output_delimeter>
<index_order>filterName</index_order>
<index_order_type>alphanumeric</index_order_type>
<!--index_title_format>|chosen_order_field|</index_title_format-->

<fields>
<filterName>
<name>Operation name</name>
<direction>input</direction>
<query_name>NAME</query_name>
</filterName>
<succeededMin>
<name>Succeeded invokation: Min response time</name>
<direction>output</direction>
<query_name>SUCCEEDED_MIN</query_name>
</succeededMin>
<succeededAvg>
<name>Succeeded invokation: Avg response time</name>
<direction>output</direction>
<query_name>SUCCEEDED_AVG</query_name>
</succeededAvg>
<succeededMax>
<name>Succeeded invokation: Max response time</name>
<direction>output</direction>
<query_name>SUCCEEDED_MAX</query_name>
</succeededMax>
<succeeded10p>
<name>Succeeded invokation: 10-percentil response time</name>
<direction>output</direction>
<query_name>SUCCEEDED_10P</query_name>
</succeeded10p>
<succeeded50p>
<name>Succeeded invokation: 50-percentil response time</name>
<direction>output</direction>
<query_name>SUCCEEDED_50P</query_name>
</succeeded50p>
<succeeded90p>
<name>Succeeded invokation: 90-percentil response time</name>
<direction>output</direction>
<query_name>SUCCEEDED_90P</query_name>
</succeeded90p>
<pendingMin>
<name>Pending invokation: Min response time</name>
<direction>output</direction>
<query_name>PENDING_MIN</query_name>
</pendingMin>
...
<errorMin>
<name>Failed invokation: Min response time</name>
<direction>output</direction>
<query_name>ERROR_MIN</query_name>
</errorMin>
...
<faultMin>
<name>Faulty invokation: Min response time</name>
<direction>output</direction>
<query_name>FAULT_MIN</query_name>
</faultMin>
</fields>
</interface>
{code}
* Output fields of the script/command:
|| Name || Description || Type ||
| {{succeededMin}} | The min response time of succeeded invokations | GAUGE |
| {{succeededAvg}} | The average response time of succeeded invokations | GAUGE |
| {{succeededMax}} | The max response time of succeeded invokations | GAUGE |
| {{succeeded10p}} | The 10-percentil response time of succeeded invokations | GAUGE |
| {{succeeded50p}} | The 50-percentil response time of succeeded invokations | GAUGE |
| {{succeeded90p}} | The 90-percentil response time of succeeded invokations | GAUGE |
| {{pendingMin}} | The min response time of pending invokations | GAUGE |
| {{pendingAvg}} | The average response time of pending invokations | GAUGE |
| {{pendingMax}} | The max response time of pending invokations | GAUGE |
| {{pending10p}} | The 10-percentil response time of pending invokations | GAUGE |
| {{pending50p}} | The 50-percentil response time of pending invokations | GAUGE |
| {{pending90p}} | The 90-percentil response time of pending invokations | GAUGE |
| {{errorMin}} | The min response time of failed invokations | GAUGE |
| {{errorAvg}} | The average response time of failed invokations | GAUGE |
| {{errorMax}} | The max response time of failed invokations | GAUGE |
| {{error10p}} | The 10-percentil response time of failed invokations | GAUGE |
| {{error50p}} | The 50-percentil response time of failed invokations | GAUGE |
| {{error90p}} | The 90-percentil response time of failed invokations | GAUGE |
| {{faultMin}} | The min response time of faulty invokations | GAUGE |
| {{faultAvg}} | The average response time of faulty invokations | GAUGE |
| {{faultMax}} | The max response time of faulty invokations | GAUGE |
| {{fault10p}} | The 10-percentil response time of faulty invokations | GAUGE |
| {{fault50p}} | The 50-percentil response time of faulty invokations | GAUGE |
| {{fault90p}} | The 90-percentil response time of faulty invokations | GAUGE |