Command 'monitoring'

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

Changes (23)

View Page History
...
- petals-bc-soap: Component BC SOAP
- service-provider-invokcations-count: Counters of service provider requests
- service-provider-invokcations-response-times: Response times of service provider invokcations
- mex-acceptor-thread-pool: Message exchange acceptor pool statistics
- mex-acceptor-working: Statistics about working message exchange acceptors
- outgoing-ws-requests-response-times: Response times of outgoing web-service requests
- generic: Generic monitoring for CDK based component
- service-provider-invokcations-count: Counters of service provider requests
- service-provider-invokcations-response-times: Response times of service provider invokcations
- mex-acceptor-thread-pool: Message exchange acceptor pool statistics
- mex-acceptor-working: Statistics about working message exchange acceptors
| CDK-based component | [Message exchange processor object pool|#message-exchange-processor-object-pool] | {{-o generic -f mex-processor-object-pool}} |
| CDK-based component | [Message exchange processor thread pool|#message-exchange-processor-thread-pool] | {{-o generic -f mex-processor-thread-pool}} |
| CDK-based component | [Service provider invokation number|#service-provider-invokations-count] | {{-o generic -f service-provider-invokations-count}} |
| CDK-based component | [Service provider invocation number|#service-provider-invocations-count] | {{-o generic -f service-provider-invocations-count}} |
| CDK-based component | [Service provider invokcation response times|#service-provider-invokcations-response-times] | {{-o generic -f service-provider-invokcations-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}} |
{code}

h3. {anchor:service-provider-invokations-count}Service provider invokation number
h3. {anchor:service-provider-invocations-count}Service provider invocation number

Service provider invokcation counters are available through the sub function '{{service-provider-invokcations-count}}' of the monitored object '{{generic}}'. It's usage is:
{code}
-n <component-name> [--list-operations] | [--query-operations [NAME] | [SUCCEEDED|PENDING|FAULT|ERROR <index>]] | [-t]
* {{<sp-interface-name>}} is the interface name of the service provider.
{code}
>./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o generic -f service-provider-invokcations-count -- -n petals-bc-soap --list-operations
{http://esb.mediation.archi.acoss.fr/services/echo/1.0}echoOperation@{http://esb.mediation.archi.acoss.fr/services/echo/1.0}EchoService@{http://esb.mediation.archi.acoss.fr/services/echo/1.0}Echo
{code}
|| Query argument || Description ||
| {{NAME}} | returns operation names of service providers by index. It is used to known which operation is associated to index. The output format is: {{<index>!<operation>}}, one operation per line. |
| {{SUCCEEDED}} | returns the number of succeeded service provider invokcations per operation. The operation is expressed by its index. The output format is: {{<index>!<value>}}, one operation per line. If an index value is set on the command line, the output is limited to the provided index. |
| {{PENDING}} | returns the number of pending service provider invokcations per operation. The operation is expressed by its index. The output format is: {{<index>!<value>}}, one operation per line. If an index value is set on the command line, the output is limited to the provided index. |
| {{FAULT}} | returns the number of faulty service provider invocation per operation. The operation is expressed by its index. The output format is: {{<index>!<value>}}, one operation per line. If an index value is set on the command line, the output is limited to the provided index. |
| {{ERROR}} | returns the number of failed service provider invocation per operation. The operation is expressed by its index. The output format is: {{<index>!<value>}}, one operation 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 generic -f service-provider-invokcations-count -- -n petals-bc-soap --query-operations SUCCEEDED
{http://esb.mediation.archi.acoss.fr/services/echo/1.0}echoOperation@{http://esb.mediation.archi.acoss.fr/services/echo/1.0}EchoService@{http://esb.mediation.archi.acoss.fr/services/echo/1.0}Echo!182830
{code}

\\
'{{-t}}' displays a human readable table of all values about service provider invokcations:
{code}
> ./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o generic -f service-provider-invokcations-count -- -n petals-bc-soap -t
| Interface | Service | Operation | MEP | Execution status || Value |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{code}

h3. {anchor:service-provider-invokations-response-times}Service provider invokation response times
h3. {anchor:service-provider-invocations-response-times}Service provider invocation response times

Service provider invokcation response times are available through the sub function '{{service-provider-invokcations-response-times}}' of the monitored object '{{generic}}'. It's usage is:
{code}
-n <component-name> [--list-operations] | [--query-operations [NAME] | [SUCCEEDED_MIN|SUCCEEDED_AVG|SUCCEEDED_MAX|SUCCEEDED_10P|SUCCEEDED_50P|SUCCEEDED_90P|PENDING_MIN|PENDING_AVG|PENDING_MAX|PENDING_10P|PENDING_50P|PENDING_90P|FAULT_MIN|FAULT_AVG|FAULT_MAX|FAULT_10P|FAULT_50P|FAULT_90P|ERROR_MIN|ERROR_AVG|ERROR_MAX|ERROR_10P|ERROR_50P|ERROR_90P <index>]] | [-t]
* {{<sp-interface-name>}} is the interface name of the service provider.
{code}
>./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o generic -f service-provider-invokcations-response-times -- -n petals-bc-soap --list-operations
{http://esb.mediation.archi.acoss.fr/services/echo/1.0}echoOperation@{http://esb.mediation.archi.acoss.fr/services/echo/1.0}EchoService@{http://esb.mediation.archi.acoss.fr/services/echo/1.0}Echo
{code}
| {{ERROR_90P}} | returns the 90-percentile value (in milliseconds) of response times of failed invocation per operation on the current sample. The operation is expressed by its index. The output format is: {{<index>!<value>}}, one operation 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 generic -f service-provider-invokcations-response-times -- -n petals-bc-soap --query-operations SUCCEEDED_50P
{http://esb.mediation.archi.acoss.fr/services/echo/1.0}echoOperation@{http://esb.mediation.archi.acoss.fr/services/echo/1.0}EchoService@{http://esb.mediation.archi.acoss.fr/services/echo/1.0}Echo!1100
{code}

\\
'{{-t}}' displays a human readable table of all values about service provider invokcation response times:
{code}
> ./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o generic -f service-provider-invokcations-response-times -- -n petals-bc-soap -t
| Interface | Service | Operation | MEP | Execution status || Min | Avg | Max | 10P | 50P | 90P |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------