Command 'monitoring'

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

Changes (5)

View Page History
| CDK-based component | [Service provider invokation response times|#service-provider-invokations-response-times] | {{-o generic -f service-provider-invokations-response-times}} |
| Petals BC SOAP | [Incoming HTTP request counters|#petals-bc-soap-incoming-http-requests-count] | {{-o petals-bc-soap -f incoming-http-requests-count}} |
| Petals BC SOAP | [Incoming HTTP service contract request counters|#petals-bc-soap-incoming-service-contract-requests-count] | {{-o petals-bc-soap -f incoming-service-contract-requests-count}} |
| Petals BC SOAP | [Incoming WS request counters|#petals-bc-soap-incoming-ws-requests-count] | {{-o petals-bc-soap -f incoming-ws-requests-count}} |
| Petals BC SOAP | [Incoming WS request response times|#petals-bc-soap-incoming-ws-requests-response-times] | {{-o petals-bc-soap -f incoming-ws-requests-response-times}} |
'{{-r}}' returns the number of HTTP requests processed per nature:
* {{Information}}, is associated to all information pages of the BC SOAP,
* {{WS}}, HTTP requests associated to web-services,
* {{ServiceContracts}}, HTTP service contract requests associated to web-services,
* {{Unknown}}, HTTP requests pointing to unknown page.
{code}
>./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o petals-bc-soap -f incoming-http-requests-count -- -n petals-bc-soap -r
Information:0 WS:7 Unknown:0 ServiceContracts:1
{code}

h3. {anchor:petals-bc-soap-incoming-service-contract-requests-count}Incoming web-service contract request counters

Incoming web-service contract request counters are available through the sub function '{{incoming-service-contract-requests-count}}' of the monitored object '{{petals-bc-soap}}'. It's usage is:
{code}
-n <component-name> [--list-operations] | [--query-operations [NAME] | [COUNT <index>]] | [-t]
{code}
where '{{<component-name>}}' is the unique name of the Petals BC SOAP with which it was deployed.

\\
'{{--list-services}}' returns the list of all web-services for which the service contract was asked since the last start of the component.
{code}
>./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o petals-bc-soap -f incoming-service-contract-requests-count -- -n petals-bc-soap --list-services
archiveService
{code}

\\
'{{--query-services}}' returns query result about web-service:
|| Query argument || Description ||
| {{NAME}} | returns web-service names by index. It is used to known which web-service is associated to index. The output format is: {{<index>!<service>}}, one service per line. |
| {{COUNT}} | returns the number of service contract asking per web-service. The operation is expressed by its index. The output format is: {{<index>!<value>}}, one service per line. If an index value is set on the command line, the output is limited to the provided index. |
{code}
>./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o petals-bc-soap -f incoming-service-contract-requests-count -- -n petals-bc-soap --query-services COUNT
archiveService!3
{code}

\\
'{{-t}}' displays a human readable table of all values about incoming web-service contract requests:
{code}
> ./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o petals-bc-soap -f archiveService -- -n petals-bc-soap -t
| Service || Value |
---------------------------
| archiveService || 3 |
{code}

h3. {anchor:petals-bc-soap-http-thread-pool}HTTP thread pool