Open TLaue opened 4 years ago
@TLaue We are aware of a bug that results in the line graph not displaying all invocations. The issue seems to be that some invocations (such as those made from within the tool) do not update AWS CloudWatch Metrics, which is where the data for the line graph comes from. The server logs and the recent duration bar chart are unaffected by this. We are currently investigating this issue.
As for an auto-update view, the tool refreshes all displayed data in real time. Due to the statistics being retrieved from the CloudWatch Logs, there is a delay of a few seconds between a function being invoked and the tool updating.
I am using sls-dev-tools with different production stacks which are deployed with AWS SAM but the behavior of the statistics window differs from stack to stack. I am attaching one screenshot showing an empty function metrics window even though many function invocations have happened during the related time frame (compare for instance the server log window). I do not receive any "Access denied" message so that I do not believe that the problem is somehow related to any missing permissions or something like this.
Do you have any idea what might be the reason of this problem? Furthermore it would be quite handy if the sls-dev-tools provide a kind of auto update / live view of the function statistics. Thanks for any hint or advice how to make sls-dev-tools more useful for us.