问题描述
使用Azure Redis服务时,如突然遇见异常,命令Timeout performing SET xxxxxx等情况,如何第一时间查看是否有Failover存在呢?看是否有进行平台的维护呢?
Error:Timeout performing SET xxxxxxxx, inst: 1, mgr: Inactive, err: never, queue: 4, qu: 0, qs: 4, qc: 0, wr: 0, wq: 0, in: 0, ar: 0,
clientName: TEST01, serverEndpoint: Unspecified/XXXXXXX.redis.cache.chinacloudapi.cn:6380, keyHashSlot: 9491,
IOCP: (Busy=0,Free=1000,Min=2,Max=1000),
WORKER: (Busy=0,Free=2047,Min=2,Max=2047)
(Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
Error:An unknown error occurred when writing the message
问题回答
对于所有 Azure Cache for Redis 资源,适用于 Azure Cache for Redis 的 Azure Monitor 提供了一个统一的交互式视图,其中提供了:
总体性能
失败数
容量
操作运行状况
在Azure门户中,通过Monitor服务,可以查看到一些资源的整体状态(包含Azure Redis),通过选择发生异常的时间点来查看Failover是否存在:
目前改功能还支持:(部分为Preview状态)
Applications
Storage Account
Containers
Networks
SQL
Azure Cosmos DB
Key Vaults
Azure Cache For Redis
Azure Data Explorer Clusters
Log Analytics Workspaces
Azure Stack HCI
Service Bus
参考文档
探究适用于 Azure Cache for Redis 的 Azure Monitor:https://docs.azure.cn/zh-cn/azure-monitor/insights/redis-cache-insights-overview#view-utilization-and-performance-metrics-for-azure-cache-for-redis
好文链接
发表评论