Get Elasticache cache statistics. Useful for debugging or monitoring memory usage.
Object with cache statistics
import { getElastiCacheCacheStats, getElastiCacheNodeInfo } from 'aws-instance-info'getElastiCacheNodeInfo('cache.m5.large')getElastiCacheNodeInfo('cache.m5.xlarge')const stats = getElastiCacheCacheStats()console.log(stats)// { nodes: 2, families: 0, infoLoaded: true } Copy
import { getElastiCacheCacheStats, getElastiCacheNodeInfo } from 'aws-instance-info'getElastiCacheNodeInfo('cache.m5.large')getElastiCacheNodeInfo('cache.m5.xlarge')const stats = getElastiCacheCacheStats()console.log(stats)// { nodes: 2, families: 0, infoLoaded: true }
Get Elasticache cache statistics. Useful for debugging or monitoring memory usage.