How to get connection duration metric from logs for AppSync subscription?

0

If a user starts subscribing to a channel through a GraphQL subscription API on AppSync, how do we get the connection duration metric from the starting of subscription to the end of subscription? I have been trying to get the metric from AppSync logs by enabling ALL Field level logs with Verbose but couldn't find the metric. If I get it, I can calculate the total connection minutes for which the charge is being put on using AWS AppSync ($0.08 per million minutes)

In addition to that, how do we get the information about the messages being sent and received in the subscription?

没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则