Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function metrics window and number of invocations is empty #271

Open
TLaue opened this issue May 19, 2020 · 1 comment
Open

Function metrics window and number of invocations is empty #271

TLaue opened this issue May 19, 2020 · 1 comment

Comments

@TLaue
Copy link

TLaue commented May 19, 2020

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.

sls

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.

@mansurpasha
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants