Created
May 11, 2024 09:08
-
-
Save guerrerocarlos/d646e80594b3056cef1e937170e118f9 to your computer and use it in GitHub Desktop.
Stats about real RAM usage of lambda instances https://console.aws.amazon.com/cloudwatch/home
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filter @type = "REPORT" | |
| stats max(@memorySize / 1000 / 1000) as provisonedMemoryMB, | |
min(@maxMemoryUsed / 1000 / 1000) as smallestMemoryRequestMB, | |
avg(@maxMemoryUsed / 1000 / 1000) as avgMemoryUsedMB, | |
max(@maxMemoryUsed / 1000 / 1000) as maxMemoryUsedMB, | |
provisonedMemoryMB - maxMemoryUsedMB as overProvisionedMB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment