Provided by: bonitoo.io
This template provides AWS Lambda dashboard
AWS Lambda is a serverless compute service that lets you run code without provisioning or managing servers, creating workload-aware cluster scaling logic, ...
Monitor your Lambda functions with beautiful InfluDB dashboards.
Lambda metrics available in this dashboard:
- Invocation count
- Error statistics
- Throttle statistics
In the InfluxDB UI, go to Settings->Templates and enter this URL: https://raw.githubusercontent.com/influxdata/community-templates/master/aws_lambda/lambda.yml
If you have your InfluxDB credentials configured in the CLI, you can install this template with:
influx apply -u https://raw.githubusercontent.com/influxdata/community-templates/master/aws_lambda/lambda.yml
The template consists of the following:
- 1 Dashboard:
AWS Lambda
- 1 Variable:
bucket
General instructions on using InfluxDB Templates can be found in the use a template document.
Import the template
influx apply --file ./lambda.yml
Start with a sample data:
To generate sample data you need to create a lambda function and configure Telegraf.
To generate sample data, follow these steps:
- Create a lambda function(s) in you AWS account. You can use simple function from
./sample/lambda.js
. - Install InfluxDB 2.x on your localhost or sign up to Influx Cloud
- Configure Telegraf. Use
AWS/Lambda
as namespace. See https://github.com/influxdata/telegraf/tree/master/plugins/inputs/cloudwatch for details. - Run
./sample/requests.sh <lambda_url>
to generate some traffic.
After some delay the dashboard should start presenting the results.
n/a
Author: Tomas Vojtech, https://www.bonitoo.io
Github: @tvojtech