Search…
AWS
For monitoring AWS Serverless like AWS Lambda, ECS Fargate, and other services like AWS Kinesis, etc, the AWS Exporter needs to be installed.

Install AWS Exporter on ECS

The Asserts AWS Exporter can be set up by using a CloudFormation template. The following inputs would need to be provided -
VPC and Subnets
  1. 1.
    VPC Id The VPC in which the ECS Services and the Application Load Balancer need to be installed.
  2. 2.
    Subnets The subnets for the service instances. At least 2 subnets in different availability zones need to be provided
ECS Cluster and Log Group Settings
  1. 1.
    ECS Cluster Name The ECS Cluster name under which the asserts exporter services will be created. Defaults to asserts-aws-integration
  2. 2.
    Log Group Name The CloudWatch log group name under which the logs for the services will be stored. Defaults to asserts-aws-integration
  3. 3.
    Log Group Retention Period The log retention. Defaults to 7 days
  4. 4.
    Enable Container Insights This is an ECS Cluster level setting that will determine if ECS resource utilization metrics need to be captured at the container level. This defaults to enabled. This has cost implications so if cost is a concern, it can be set to disabled
Asserts TSDB and API Server Credentials
  1. 1.
    Asserts Tenant Name If your asserts application URL is https://acme.app.asserts.ai, your tenant name is acme
  2. 2.
    Asserts Remote Write URL For e.g. https://acme.tsdb.asserts.ai
  3. 3.
    Asserts Remote Write Password The Asserts remote write password
  4. 4.
    Asserts API Server URL For e.g. https://acme.app.asserts.ai
  5. 5.
    Asserts API Server API User Name An API key can be created in Asserts. In the Asserts product, Go to your Profile -> Settings -> Credentials and create a new credential. Copy the Id and Secret for use later. Specify the Id as the User name
  6. 6.
    Asserts API Server API Password Specify the Secret as the password
Configure AWS API Key in Asserts

Step 2 Verify the metrics in Asserts

Verify the presence of metrics in Asserts. E.g., for AWS Lambda you can check for the metric aws_lambda_timeout_seconds
Lambda metric in Asserts
Step 3 Verify that Asserts ECS Services and Application Load Balancer are discovered