1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
1
You can see how full your API Gateway cache is by using CloudWatch Metrics.
- Open the CloudWatch console in the AWS Management Console.
- In the navigation pane, choose "Metrics".
- In the "Custom Namespaces" section, choose "AWS/ApiGateway"
- In the "Dimensions" section, select your API Gateway deployment.
- Scroll down the metrics list, to find the "CacheHitCount" and "CacheMissCount" metrics under the "Cache" category. The "CacheHitCount" metric represents the number of requests served from the cache and the "CacheMissCount" metric represents the number of requests that were not served from the cache. To know how full your cache is you can calculate the hit rate by dividing the "CacheHitCount" metric by the sum of the "CacheHitCount" and "CacheMissCount" metrics. The resulting percentage tells you what percentage of requests were served from the cache.
respondido há um ano
Conteúdo relevante
- AWS OFICIALAtualizada há 3 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há um ano
That's not how full my cache is though, that's just how many requests were served from it. Here's an example:
The "CacheHitCount" will be 0, so by your calculations the cache is at 0%, but it's actually full.