The Functions List page can be considered Thundra Web Console's homepage, giving you a direct view of your functions being monitored. You may navigate to the page using the (functions) icon present in the navigation bad on the left of the console.
The Functions List page displays all your deployed functions according to the query you set using the query bar and query helper on the top. Moreover, you may also change the time constraint on the functions you are displaying using the time option next to the query bar.
Overall the Functions List page is the one main page for you to navigate through all your deployed functions and see their monitoring data.
As can be seen from the illustration above, the Functions List page can be broken down into various components that all help you filter through your functions and view all monitoring data pertaining to an individual function. These components are as listed below:
If you connected Thundra to your CloudWatch logs via cloudFormation stack, functions that are collected from CloudWatch can be easily instrumented from functions list page. We call it seamless monitoring. When you select functions , number of instrumentable/uninstrumentable functions will be displayed in buttons as displayed below:
When instrument button is clicked, Lambda functions will be automatically instrumented and capabilities that are provided with instrumentation such as distributed tracing and architecture will be available.
If a function is instrumented from Thundra console, it can be uninstrumented from Thundra console.
You can get more information about seamless monitoring here.
The Query List component which is on the left side of the Functions List page lists all queries that you can use to filter the list of functions displayed. It is splitted in two sections which include Predefined queries and Saved Searches.
The Predefined section lists queries that are created by Thundra for you to allow quick and convenient filtering of your Lambda functions. Following predefined queries are included:
Most Costly - Order functions by monthly estimated cost in descending order.
Most Erroneous - Order functions by error count in descending order.
Most Invoked - Order functions by invocation count in descending order
Node.js Functions - List only those functions whose runtimes are Node.js
Slowest - Order functions by average duration in descending order
Top Memory Consuming - Order by average memory usage in descending order
Lat Invoked - Order by last invocation time in descending order
The Saved Searches section of the Query List shows all the queries that you would like to save after writing them in the Query Bar or via the Query Helper.
To use a query in the Queries List, simply select a query and the function listed shall be filtered and ordered depending on the selected query. Moreover, by clicking or hovering a query you will see two buttons appear on the right of the query, allowing you to either delete the selected query or setting the query as the default query and hence filtering your functions according to the default query whenever you visit your Thundra console.
The Query Bar, which sits on top of the listed functions, allows you to write your custom queries to filter through your functions. Three buttons are present at the end of the Query Bar and they allow you to run, share and save the written query respectively.
Run button shall execute whatever query there is in the bar. Save button shall open up a drop menu on which you can select saving the query as
Alert Policy. The
Save Search Dialog which will allow you to name the query you wish to save. The
Save as Alert Policy view will allow you to save this condition as an alert policy. It is explained in detail here.
The Time Setting drop-down is present at the right of the Query Bar and you can use it to list all the functions that were last invoked within the chosen time setting. There are default time range settings for you to choose, but if you may also specify your own custom range by clicking on "Custom Range" which will then bring up the Custom Range view allowing you to set the time range you would like to apply when viewing your Lambda functions.
Search bar allows you to search list of your functions based on function names. Search bar is located on top of your functions list.
View of list can be changed from list view options. Three different views are available to display different sized information.
Every listed function has basic information so that you may know what function you are looking at in the list. Function info is displayed in terms of:
Function Name - The name of the Lambda function invoked
Security Info - Security configuration information. Color of icon changes according to violation. If violation occurs it will be displayed as red.
Last Invoked Time - The time elapsed since the last time the function was invoked
Lambda Info - The runtime, AWS region, stage name, and project name of the Lambda function. The Lambda info is displayed in the form of various badges with different colors. The badges are arranged in the order as listed below, with the following color codes:
The Invocation Summary lists vital information of your Lambda function according to all its invocations. These statistics can allow you to get an overview of your Lambda function's performance, especially in terms of its erroneous and economic nature. The illustration below describes the statistic keys present in the view:
It must be noted that ‘Estimated Cost’, ‘Estimated Monthly Cost’ and ‘Health’ are calculated invocation stats whereas the other invocation stats are derived from the outcome performance of the invocation. This outcome information is then used to calculate the previously mentioned three stats.
Health - the error count over the total invocation count
Estimated Cost - AWS as the cost incurred from the invocation
Estimated Monthly Cost - extrapolating the ‘Estimated Cost’.
An overview of the computing performance of each Lambda function can be viewed in the Performance Summary. The statistics provided aim to give you a clear picture of how your AWS Lambda is running concerning memory usage and duration, allowing you to tweak your functions accordingly. The statistics provided include average, median, and 99th percentile of runtime duration and memory usage.
The monitoring options allow you to navigate to more detailed information on the function of choice. Clicking any one of these options navigates you away from the Functions List page to the Function Details page with the relevant information according to the data set selected from the Monitoring Options. This includes:
Invocations - Lists all invocations of the specific Lambda functions, and allows you to see each invocation separately.
Performance Analysis - Allows you to analyze the overall performance of your Lambda function according to the performance of your invocation.
Metrics - Provides graphical illustrations of the performance of the specific Lambda function.
Architecture - Provides visual illustrations of architecture of specific Lambda function