1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
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.