Data representation
This section describes the data representation of requests and responses for the Service Activity Monitoring REST service.
Check Alive
Talend Service Activity Monitoring Server :: REST API - http://127.0.0.1:8040/services/sam/list
Flows Aggregated
{
"count": 26,
"aggregated": [
{
"flowID": "urn:uuid:21760804-4961-40d3-9adf-1d47dfa52e07",
"timestamp": 1365497059651,
"elapsed": 106,
"transport": "http://schemas.xmlsoap.org/soap/http",
"port": "{http://www.talend.org/service/}DemoService",
"operation": "{http://www.talend.org/service/}DemoServiceOperation",
"types": [
"REQ_OUT",
"RESP_OUT",
"REQ_IN",
"RESP_IN"
],
"consumerIP": "192.168.144.120",
"consumerHost": "alexoid",
"providerIP": "192.168.144.120",
"providerHost": "alexoid",
"details": "http://127.0.0.1:8040/services/sam/flow/ \\
urn:uuid:21760804-4961-40d3-9adf-1d47dfa52e07"
},
....
{
"flowID": "urn:uuid:262c180f-467c-4844-aed9-0b023f09a06d",
"timestamp": 1365431671820,
"elapsed": 159,
"transport": "http://cxf.apache.org/transports/http",
"port": "{http://127.0.0.1:8090/services/customers}WebClient",
"operation": "GET[/1]",
"types": [
"REQ_OUT",
"RESP_OUT",
"REQ_IN",
"RESP_IN"
],
"consumerIP": "192.168.144.120",
"consumerHost": "alexoid",
"providerIP": "192.168.144.120",
"providerHost": "alexoid",
"details": "http://127.0.0.1:8040/services/sam/flow/ \\
urn:uuid:262c180f-467c-4844-aed9-0b023f09a06d"
}
]
}
Flow Details
{
"events": [
{
"id": 488,
"flowID": "urn:uuid:21760804-4961-40d3-9adf-1d47dfa52e07",
"messageID": "urn:uuid:7c666024-15c0-45ee-9184-721095f49921",
"timestamp": 1365497059545,
"type": "REQ_OUT",
"transport": "http://schemas.xmlsoap.org/soap/http",
"port": "{http://www.talend.org/service/}DemoService",
"operation": "{http://www.talend.org/service/}DemoServiceOperation",
"ip": "192.168.144.120",
"host": "alexoid",
"process": 5244,
"contentCut": false,
"customInfo": [
{
"key": "address",
"value": "http://localhost:8040/services/DemoService"
},
{
"key": "custom property name",
"value": "consumer"
}
],
"details": "http://127.0.0.1:8040/services/sam/event/488"
},
...
{
"id": 493,
"flowID": "urn:uuid:21760804-4961-40d3-9adf-1d47dfa52e07",
"messageID": "urn:uuid:4c2aa9d5-e6c3-4ec6-80a2-ee91ac2c32b6",
"timestamp": 1365497059608,
"type": "RESP_OUT",
"transport": "http://schemas.xmlsoap.org/soap/http",
"port": "{http://www.talend.org/service/}DemoServicePortType",
"operation": "{http://www.talend.org/service/}DemoServiceOperation",
"ip": "192.168.144.120",
"host": "alexoid",
"process": 5244,
"contentCut": false,
"customInfo": {
"key": "address",
"value": "http://localhost:8040/services/DemoService"
},
"details": "http://127.0.0.1:8040/services/sam/event/493"
},
...
]
}
Event Details
{
"id": 77,
"flowID": "urn:uuid:f0538075-e9ae-491e-b886-05fbdf558380",
"timestamp": 1365430132346,
"type": "RESP_IN",
"transport": "http://cxf.apache.org/transports/http",
"port": "{http://127.0.0.1:8090/services/customers}WebClient",
"operation": "GET[/1]",
"ip": "192.168.144.120",
"host": "alexoid",
"process": 8388,
"contentCut": false,
"content": "{\"customer\":{\"id\":1,\"firstName\":\"Richard\", \\
\"city\":\"Columbus\",\"lastName\":\"Monroe\"}}"
}