heitorlessa / pt-1239

Lambda Powertools for Python bug report 1239

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Background

Minimal project to reproduce Lambda Powertools issue 1239, where metrics aren't being created when 9 dimensions are used.

Reproduce

Make sure you have the following tools installed first.

sam build --use-container
sam deploy --guided

After deploying, set ENDPOINT environment variable with the value of HelloWorldApi CloudFormation Output.

Bash example

ENDPOINT="https://o4w3zen6mj.execute-api.eu-west-1.amazonaws.com/Prod/hello/"

Within the same shell, use your preferred HTTP client to send a few requests to generate metric values.

Generating 100 data points (1 per sec)

for i in $(seq 1 1000); do curl ${ENDPOINT} && sleep 1; done

About

Lambda Powertools for Python bug report 1239


Languages

Language:Python 100.0%