0

I am creating widgets in Grafana for monitoring AWS resources, including Lambda functions. For this purpose, I am creating variables that filter to just my team's Lambda functions using regex. Some Lambda functions are missing, however- even with the regex blank (to show ALL Lambdas in the AWS account).

I would think that Grafana pulls a manifest of all the Lambdas (or whatever AWS namespace is chosen) but clearly it's not doing that.

A cursory Google search suggested invoking the missing Lambdas to ensure that they have data in CloudWatch for Grafana to pull. I did that, but still no dice.

E: I realize this is a "low effort post" but this isn't ANYWHERE in AWS's or Grafana's documentation (and anyone who has used either for more than a few minutes knows their documentation is lacking). I would have much preferred to have found the solution to my issue somewhere.

1 Answer 1

2

The issue was caused by the Metric value in the Grafana variable's query options, of which I just chose the first one ("AsyncEventAge"). The issue is that AsyncEventAge will not necessarily be populated in CloudWatch with any/every invocation- just when the Lambda is invoked asynchronously.

screenshot of Grafana variable query creation form

Changing the Metric value to something more universal ("Duration") resolved the issue, and my variable query now finds the missing Lambdas.

I would like to see an "Any/All" option in the Metric dropdown for users like me who are just trying to get a complete manifest of all the AWS resources in the AWS account, but I think "Duration" is the next-best thing.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.