The current metrics I am aware of are:
requestProcessingTime = context.getVariable("target.sent.end.timestamp") - context.getVariable("client.received.start.timestamp")
Looks like this doesn't show the time Apigee took to process a request and lapsed time in sending the response. Is my understanding correct?
@Akash Prabhashankar,
Im not sure why are you using target.sent.end.timestamp. Wont client.sent.end.timestamp would be a better metric to give the exact time?
See this question in the community: https://community.apigee.com/questions/3756/elapsed-time-to-be-sent-as-a-part-of-response-from.html
Here is the link to Apigee Community article describing how to get data that we require : https://community.apigee.com/questions/3756/elapsed-time-to-be-sent-as-a-part-of-response-from.html . So you basically we may want to use : client.sent.end.timestamp - client.received.start.timestamp instead of target.sent.end.timestamp -
client.received.start.timestamp .
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |