tencent cloud

Feedback

1-Minute Granularity Will Be Disused

Last updated: 2023-03-29 15:36:39
    CM will discontinue the 1-minute granularity alarm policy for TencentDB for Redis and QCE/REDIS namespace, which will have the following impacts:
    You can't receive the alarm notification of TencentDB for Redis Memory Edition (1-minute granularity).
    Data can't be displayed on the dashboard of TencentDB for Redis Memory Edition (1-minute granularity).
    You can't pull the monitoring data of TencentDB for Redis Memory Edition (1-minute granularity).
    Migration Schemes
    Alarm policy: You need to migrate the alarm policy of the existing TencentDB for Redis instances with 1-minute monitoring granularity to those with 5-second monitoring granularity. Click to view the mappings of metrics.
    Dashboard: You need to migrate the dashboard of the existing TencentDB for Redis instances with 1-minute monitoring granularity to 5-second monitoring granularity. Click to view the mappings of metrics.
    Pulling monitoring metric data through APIs: You need to switch QCE/REDIS to QCE/REDIS_MEM, and modify the names of pulled metrics simultaneously.
    Because 1-minute monitoring granularity of TencentDB for Redis is not completely the same as the metric names in Mappings of Metrics. This document describes the mappings of monitoring metrics of TencentDB for Redis 1-minute monitoring granularity and 5-second monitoring granularity for you to compare and migrate.

    Monitoring Metric Mappings Between 1-Minute and 5-Second Alarm Policy

    1-Minute Metric
    1-Minute Metric Parameter
    5-Second Metric
    5-Second Metric Parameter
    Unit
    Description
    CPU Load
    cpu_us_min
    CPU Utilization
    cpu_util
    %
    Average CPU utilization
    Max CPU Load
    CpuMaxUsMin
    Max CPU Utilization of Node
    cpu_max_util
    %
    The maximum CPU utilization of a node (shard or replica) in an instance
    Used Memory
    storage_min
    Used Memory
    mem_used
    MB
    Actually used memory capacity, including the capacity for data and cache
    Capacity Utilization
    storage_us_min
    Memory Utilization
    mem_util
    %
    The ratio of the actually used memory to the requested total memory
    Max Capacity Utilization
    StorageMaxUsMin
    Max Memory Utilization of Node
    mem_max_util
    %
    The maximum among all node (shard or replica) memory utilizations in an instance
    Private Network Inbound Traffic
    in_flow_min
    Inbound Traffic
    in_flow
    MB/s
    Private network inbound traffic
    Inbound Traffic Utilization
    in_flow_us_min
    Inbound Traffic Utilization
    in_bandwidth_util
    %
    The ratio of the actually used private inbound traffic to the maximum traffic
    Private Network Outbound Traffic
    out_flow_min
    Outbound Traffic
    out_flow
    MB/s
    Private network outbound traffic
    Outbound Traffic Utilization
    out_flow_us_min
    Outbound Traffic Utilization
    out_bandwidth_util
    %
    The ratio of the actually used private outbound traffic to the maximum traffic
    Connections
    connections_min
    Connections
    connections
    -
    The number of TCP connections to an instance
    Connection Utilization
    connections_us_min
    Connection Utilization
    connections_util
    %
    The ratio of the number of TCP connections to the maximum number of connections
    Slow Logs
    slow_query_min
    Slow Logs
    cmd_slow
    -
    The number of command executions with a latency greater than the slowlog-log-slower-than configuration
    Total Keys
    keys_min
    Total Keys
    keys
    -
    The total number of keys (level-1 keys) in instance storage
    Expired Keys
    expired_keys_min
    Expired Keys
    expired
    -
    The number of keys expired in a time window, which is equal to the value of expired_keys output by the info command.
    Evicted Keys
    evicted_keys_min
    Evicted Keys
    evicted
    -
    The number of keys evicted in a time window, which is equal to the value of evicted_keys output by the info command.
    Average Execution Latency
    latency_min
    Average Execution Latency
    latency_avg
    ms
    The average execution latency between the proxy and the Redis server
    Average Read Latency
    latency_get_min
    Average Read Latency
    latency_read
    ms
    The average execution latency of read commands between the proxy and the Redis server
    Average Write Latency
    latency_set_min
    Average Write Latency
    latency_write
    ms
    The average execution latency of write command between the proxy and the Redis server
    Average Latency of Other Commands
    latency_other_min
    Average Latency of Other Commands
    latency_other
    ms
    The average execution latency of commands (excluding write and read commands) between the proxy and the Redis server
    QPS
    qps_min
    Total Requests
    commands
    Counts/sec
    Queries per second
    Read Requests
    stat_get_min
    Read Requests
    cmd_read
    Counts/sec
    The number of read command executions per second
    Write Requests
    stat_set_min
    Write Requests
    cmd_write
    Counts/sec
    The number of write command executions per second
    Other Requests
    stat_other_min
    Other Requests
    cmd_other
    Counts/sec
    The number of command (excluding write and read commands) executions per second
    Big Value Requests
    big_value_min
    Big Value Requests
    cmd_big_value
    Counts/sec
    The number of executions of requests larger than 32 KB per second
    Read Request Hits
    stat_success_min
    Read Request Hits
    cmd_hits
    -
    The number of keys successfully requested by read commands, which is equal to the value of the keyspace_hits metric output by the info command.
    Read Request Misses
    stat_missed_min
    Read Request Misses
    cmd_miss
    -
    The number of keys unsuccessfully requested by read commands, which is equal to the value of the keyspace_misses metric output by the info command.
    Execution Errors
    cmd_err_min
    Execution Errors
    cmd_err
    -
    The number of command execution errors. For example, the command does not exist, parameters are incorrect, etc.
    Read Request Hit Rate
    cache_hit_ratio_min
    Read Request Hit Rate
    cmd_hits_ratio
    %
    Key hits/(key hits + key misses). This metric can reflect the situation of cache miss. When the access request quantity is 0, the value of this metric will be null.

    Mappings of Monitoring Metrics Between 1-Minute and 5-Second Dashboard

    1-Minute Metric
    1-Minute Metric Parameter
    5-Second Metric
    5-Second Metric Parameter
    Unit
    Description
    CPU Utilization
    cpu_us_min
    Average CPU utilization
    cpu_util
    %
    Average CPU utilization
    Max CPU Utilization of Shard
    cpu_max_us_min
    Max CPU Utilization of Node
    cpu_max_util
    %
    The maximum CPU utilization of a node (shard or replica) in an instance
    Used Memory
    storage_min
    Used Memory
    mem_used
    MB
    Actually used memory capacity, including the capacity for data and cache
    Memory Utilization
    storage_us_min
    Memory Utilization
    mem_util
    %
    The ratio of the actually used memory to the requested total memory
    Max Memory Utilization of Shard
    storage_max_us_min
    Max Memory Utilization of Node
    mem_max_util
    %
    The maximum among all node (shard or replica) memory utilizations in an instance
    Inbound Traffic
    in_flow_min
    Inbound Traffic
    in_flow
    MB/s
    Private network inbound traffic
    Inbound Traffic Utilization
    in_flow_us_min
    Inbound Traffic Utilization
    in_bandwidth_util
    %
    The ratio of the actually used private inbound traffic to the maximum traffic
    Outbound Traffic
    out_flow_min
    Outbound Traffic
    out_flow
    MB/s
    Private network outbound traffic
    Outbound Traffic Utilization
    out_flow_us_min
    Outbound Traffic Utilization
    out_bandwidth_util
    %
    The ratio of the actually used private outbound traffic to the maximum traffic
    Connections
    connections_min
    Connections
    connections
    -
    The number of TCP connections to an instance
    Connection Utilization
    connections_us_min
    Connection Utilization
    connections_util
    %
    The ratio of the number of TCP connections to the maximum number of connections
    Slow Logs
    slow_query_min
    Slow Logs
    cmd_slow
    -
    The number of command executions with a latency greater than the slowlog-log-slower-than configuration
    Total Keys
    keys_min
    Total Keys
    keys
    -
    The total number of keys (level-1 keys) in instance storage
    Expired Keys
    expired_keys_min
    Expired Keys
    expired
    -
    The number of keys expired in a time window, which is equal to the value of expired_keys output by the info command.
    Evicted Keys
    evicted_keys_min
    Evicted Keys
    evicted
    -
    The number of keys evicted in a time window, which is equal to the value of evicted_keys output by the info command.
    Average Execution Latency
    latency_min
    Average Execution Latency
    latency_avg
    ms
    The average execution latency between the proxy and the Redis server
    Average Read Latency
    latency_get_min
    Average Read Latency
    latency_read
    ms
    The average execution latency of read commands between the proxy and the Redis server
    Average Write Latency
    latency_set_min
    Average Write Latency
    latency_write
    ms
    The average execution latency of write command between the proxy and the Redis server
    Average Latency of Other Commands
    latency_other_min
    Average Latency of Other Commands
    latency_other
    ms
    The average execution latency of commands (excluding write and read commands) between the proxy and the Redis server
    QPS
    qps_min
    Total Requests
    commands
    Counts/sec
    Queries per second
    Read Requests
    stat_get_min
    Read Requests
    cmd_read
    Counts/sec
    The number of read command executions per second
    Write Requests
    stat_set_min
    Write Requests
    cmd_write
    Counts/sec
    The number of write command executions per second
    get Requests
    cmdstat_get_min
    Other Requests
    cmd_other
    Counts/sec
    The number of command (excluding write and read commands) executions per second
    getbit Requests
    cmdstat_getbit_min
    getrange Requests
    cmdstat_getrange_min
    hget Requests
    cmdstat_hget_min
    hgetall Requests
    cmdstat_hmget_min
    hmget Requests
    cmdstat_hmget_min
    hmset Requests
    cmdstat_hmset_min
    hset Requests
    cmdstat_hset_min
    hsetnx Requests
    cmdstat_hsetnx_min
    lset Requests
    cmdstat_lset_min
    mget Requests
    cmdstat_mget_min
    mset Requests
    cmdstat_mset_min
    msetnx Requests
    cmdstat_msetnx_min
    set Requests
    cmdstat_set_min
    setbit Requests
    cmdstat_setbit_min
    setex Requests
    cmdstat_setex_min
    setnx Requests
    cmdstat_setnx_min
    setrange Requests
    cmdstat_setnx_min
    Big Value Requests
    big_value_min
    Big Value Requests
    cmd_big_value
    Counts/sec
    The number of executions of requests larger than 32 KB per second
    Read Request Hits
    stat_success_min
    Read Request Hits
    cmd_hits
    -
    The number of keys successfully requested by read commands, which is equal to the value of the keyspace_hits metric output by the info command.
    Read Request Misses
    stat_missed_min
    Read Request Misses
    cmd_miss
    -
    The number of keys unsuccessfully requested by read commands, which is equal to the value of the keyspace_misses metric output by the info command.
    Execution Errors
    cmd_err_min
    Execution Errors
    cmd_err
    -
    The number of command execution errors. For example, the command does not exist, parameters are incorrect, etc.
    Read Request Hit Rate
    cache_hit_ratio_min
    Read Request Hit Rate
    cmd_hits_ratio
    %
    Key hits/(key hits + key misses). This metric can reflect the situation of cache miss. When the access request quantity is 0, the value of this metric will be null.

    Mappings between 1-minute and 5-second API monitoring metrics

    Namespace

    1-minute: Namespace=QCE/REDIS
    5-second: Namespace=QCE/REDIS_MEM

    Monitoring metrics

    Instance dimension (standard architecture)

    1-Minute Metric
    1-Minute Metric Parameter
    5-Second Metric
    5-Second Metric Parameter
    Unit
    Description
    CPU Utilization
    CpuUsMin
    CPU Utilization
    CpuUtil
    %
    Average CPU utilization
    Used Memory
    StorageMin
    Used Memory
    MemUsed
    MB
    Actually used memory capacity, including the capacity for data and cache
    Memory Utilization
    StorageUsMin
    Memory Utilization
    MemUtil
    %
    The ratio of the actually used memory to the requested total memory
    Total Keys
    KeysMin
    Total Keys
    Keys
    -
    The total number of keys (level-1 keys) in instance storage
    Expired Keys
    ExpiredKeysMin
    Expired Keys
    Expired
    -
    The number of keys expired in a time window, which is equal to the value of expired_keys output by the info command.
    Evicted Keys
    EvictedKeysMin
    Evicted Keys
    Evicted
    -
    The number of keys evicted in a time window, which is equal to the value of evicted_keys output by the info command.
    Connections
    ConnectionsMin
    Connections
    Connections
    -
    The number of TCP connections to an instance
    Connection Utilization
    ConnectionsUsMin
    Connection Utilization
    ConnectionsUtil
    %
    The ratio of the number of TCP connections to the maximum number of connections
    Inbound Traffic
    InFlowMin
    Inbound Traffic
    InFlow
    MB/s
    Private network inbound traffic
    Inbound Traffic Utilization
    InFlowUsMin
    Inbound Traffic Utilization
    InBandwidthUtil
    %
    The ratio of the actually used private inbound traffic to the maximum traffic
    Outbound Traffic
    OutFlowMin
    Outbound Traffic
    OutFlow
    MB/s
    Private network outbound traffic
    Outbound Traffic Utilization
    OutFlowUsMin
    Outbound Traffic Utilization
    OutBandwidthUtil
    %
    The ratio of the actually used private outbound traffic to the maximum traffic
    Average Execution Latency
    LatencyMin
    Average Execution Latency
    LatencyAvg
    ms
    The average execution latency between the proxy and the Redis server
    Average Read Latency
    LatencyGetMin
    Average Read Latency
    LatencyRead
    ms
    The average execution latency of read commands between the proxy and the Redis server
    Average Write Latency
    LatencySetMin
    Average Write Latency
    LatencyWrite
    ms
    The average execution latency of write command between the proxy and the Redis server
    Average Latency of Other Commands
    LatencyOtherMin
    Average Latency of Other Commands
    LatencyOther
    ms
    The average execution latency of commands (excluding write and read commands) between the proxy and the Redis server
    Total Requests
    QpsMin
    Total Requests
    Commands
    Counts/sec
    Queries per second
    Read Requests
    StatGetMin
    Read Requests
    CmdRead
    Counts/sec
    The number of read command executions per second
    Write Requests
    StatSetMin
    Write Requests
    CmdWrite
    Counts/sec
    The number of write command executions per second
    Other Requests
    StatOtherMin
    Other Requests
    CmdOther
    Counts/sec
    The number of command (excluding write and read commands) executions per second
    Big Value Requests
    BigValueMin
    Big Value Requests
    CmdBigValue
    Counts/sec
    The number of executions of requests larger than 32 KB per second
    Slow Logs
    SlowQueryMin
    Slow Logs
    CmdSlow
    -
    The number of command executions with a latency greater than the slowlog-log-slower-than configuration
    Read Request Hits
    StatSuccessMin
    Read Request Hits
    CmdHits
    -
    The number of keys successfully requested by read commands, which is equal to the value of the keyspace_hits metric output by the info command.
    Read Request Misses
    StatMissedMin
    Read Request Misses
    CmdMiss
    -
    The number of keys unsuccessfully requested by read commands, which is equal to the value of the keyspace_misses metric output by the info command.
    Execution Errors
    CmdErrMin
    Execution Errors
    CmdErr
    -
    The number of command execution errors. For example, the command does not exist, parameters are incorrect, etc.
    Read Request Hit Rate
    CacheHitRatioMin
    Read Request Hit Rate
    CmdHitsRatio
    %
    Key hits/(key hits + key misses). This metric can reflect the situation of cache miss. When the access request quantity is 0, the value of this metric will be null.

    Instance dimension (cluster architecture)

    1-Minute Metric
    1-Minute Metric Parameter
    5-Second Metric
    5-Second Metric Parameter
    Unit
    Description
    Average CPU utilization
    CpuUsMin
    CPU Utilization
    CpuUtil
    %
    Average CPU utilization
    Max CPU Utilization of Shard
    CpuMaxUsMin
    Max CPU Utilization of Node
    CpuMaxUtil
    %
    The highest CPU utilization value of all shards in a cluster
    Used Memory
    StorageMin
    Used Memory
    MemUsed
    MB
    Actually used memory capacity, including the capacity for data and cache
    Memory Utilization
    StorageUsMin
    Memory Utilization
    MemUtil
    %
    The ratio of the actually used memory to the requested total memory
    Max Memory Utilization of Shard
    StorageMaxUsMin
    Max Memory Utilization of Node
    MemMaxUtil
    %
    The highest memory utilization value of all shards in a cluster
    Total Keys
    KeysMin
    Total Keys
    Keys
    -
    The total number of keys (level-1 keys) in instance storage
    Expired Keys
    ExpiredKeysMin
    Expired Keys
    Expired
    -
    The number of keys expired in a time window, which is equal to the value of expired_keys output by the info command.
    Evicted Keys
    EvictedKeysMin
    Evicted Keys
    Evicted
    -
    The number of keys evicted in a time window, which is equal to the value of evicted_keys output by the info command.
    Connections
    ConnectionsMin
    Connections
    Connections
    -
    The number of TCP connections to an instance
    Connection Utilization
    ConnectionsUsMin
    Connection Utilization
    ConnectionsUtil
    %
    The ratio of the number of TCP connections to the maximum number of connections
    Inbound Traffic
    InFlowMin
    Inbound Traffic
    InFlow
    MB/s
    Private network inbound traffic
    Inbound Traffic Utilization
    InFlowUsMin
    Inbound Traffic Utilization
    InBandwidthUtil
    %
    The ratio of the actually used private inbound traffic to the maximum traffic
    Outbound Traffic
    OutFlowMin
    Outbound Traffic
    OutFlow
    MB/s
    Private network outbound traffic
    Outbound Traffic Utilization
    OutFlowUsMin
    Outbound Traffic Utilization
    OutBandwidthUtil
    %
    The ratio of the actually used private outbound traffic to the maximum traffic
    Average Execution Latency
    LatencyMin
    Average Execution Latency
    LatencyAvg
    ms
    The average execution latency between the proxy and the Redis server
    Average Read Latency
    LatencyGetMin
    Average Read Latency
    LatencyRead
    ms
    The average execution latency of read commands between the proxy and the Redis server
    Average Write Latency
    LatencySetMin
    Average Write Latency
    LatencyWrite
    ms
    The average execution latency of write command between the proxy and the Redis server
    Average Latency of Other Commands
    LatencyOtherMin
    Average Latency of Other Commands
    LatencyOther
    ms
    The average execution latency of commands (excluding write and read commands) between the proxy and the Redis server
    Total Requests
    QpsMin
    Total Requests
    Commands
    Counts/sec
    Queries per second
    Read Requests
    StatGetMin
    Read Requests
    CmdRead
    Counts/sec
    The number of read command executions per second
    Write Requests
    StatSetMin
    Write Requests
    CmdWrite
    Counts/sec
    The number of write command executions per second
    Other Requests
    StatOtherMin
    Other Requests
    CmdOther
    Counts/sec
    The number of command (excluding write and read commands) executions per second
    Big Value Requests
    BigValueMin
    Big Value Requests
    CmdBigValue
    Counts/sec
    The number of executions of requests larger than 32 KB per second
    Slow Logs
    SlowQueryMin
    Slow Logs
    CmdSlow
    -
    The number of command executions with a latency greater than the slowlog-log-slower-than configuration
    Read Request Hits
    StatSuccessMin
    Read Request Hits
    CmdHits
    -
    The number of keys successfully requested by read commands, which is equal to the value of the keyspace_hits metric output by the info command.
    Read Request Misses
    StatMissedMin
    Read Request Misses
    CmdMiss
    -
    The number of keys unsuccessfully requested by read commands, which is equal to the value of the keyspace_misses metric output by the info command.
    Execution Errors
    CmdErrMin
    Execution Errors
    CmdErr
    -
    The number of command execution errors. For example, the command does not exist, parameters are incorrect, etc.
    Read Request Hit Rate
    CacheHitRatioMin
    Read Request Hit Rate
    CmdHitsRatio
    %
    Key hits/(key hits + key misses). This metric can reflect the situation of cache miss. When the access request quantity is 0, the value of this metric will be null.

    Cluster sharding

    1-Minute Metric
    1-Minute Metric Parameter
    5-Second Metric
    5-Second Metric Parameter
    Unit
    Description
    CPU Utilization
    CpuUsNodeMin
    CPU Utilization
    CpuUtilNode
    %
    Average CPU utilization
    Used Memory
    StorageNodeMin
    Used Memory
    MemUsedNode
    MB
    Actually used memory capacity, including the capacity for data and cache
    Memory Utilization
    StorageUsNodeMin
    Memory Utilization
    MemUtilNode
    %
    The ratio of the actually used memory to the requested total memory
    Total Keys
    KeysNodeMin
    Total Keys
    KeysNode
    -
    The total number of keys (level-1 keys) in instance storage
    Expired Keys
    ExpiredKeysNodeMin
    Expired Keys
    ExpiredNode
    -
    The number of keys expired in a time window, which is equal to the value of expired_keys output by the info command.
    Evicted Keys
    EvictedKeysNodeMin
    Evicted Keys
    EvictedNode
    -
    The number of keys evicted in a time window, which is equal to the value of evicted_keys output by the info command.
    Total Requests
    QpsNodeMin
    Total Requests
    CommandsNode
    Counts/sec
    Queries per second
    Read Requests
    StatGetNodeMin
    Read Requests
    CmdReadNode
    Counts/sec
    The number of read command executions per second
    Write Requests
    StatSetNodeMin
    Write Requests
    CmdWriteNode
    Counts/sec
    The number of write command executions per second
    Other Requests
    StatOtherNodeMin
    Other Requests
    CmdOtherNode
    Counts/sec
    The number of command (excluding write and read commands) executions per second
    Slow Logs
    SlowQueryNodeMin
    Slow Logs
    CmdSlowNode
    -
    The number of command executions with a latency greater than the slowlog-log-slower-than configuration
    Read Request Hits
    StatSuccessNodeMin
    Read Request Hits
    CmdHitsNode
    -
    The number of keys successfully requested by read commands, which is equal to the value of the keyspace_hits metric output by the info command.
    Read Request Misses
    StatMissedNodeMin
    Read Request Misses
    CmdMissNode
    -
    The number of keys unsuccessfully requested by read commands, which is equal to the value of the keyspace_misses metric output by the info command.
    Execution Errors
    CmdErrNodeMin
    Execution Errors
    CmdErr
    -
    The number of command execution errors. For example, the command does not exist, parameters are incorrect, etc.
    Read Request Hit Rate
    CacheHitRatioNodeMin
    Read Request Hit Rate
    CmdHitsRatioNode
    %
    Key hits/(key hits + key misses). This metric can reflect the situation of cache miss. When the access request quantity is 0, the value of this metric will be null.

    Description of parameters in each dimension

    Parameter (5-Second Granularity)
    Dimension Name
    Description
    Format
    Mapping
    Instances.N.Dimensions.0.Name
    instanceid
    Dimension name of the instance ID
    Enter a string-type dimension name: instanceid.
    Unchanged
    Instances.N.Dimensions.0.Value
    instanceid
    Specific instance ID
    Enter a specific Redis instance ID, such as tdsql-123456, which can be queried through the DescribeInstances API and can also be an instance string such as crs-ifmymj41.
    Unchanged
    Instances.N.Dimensions.1.Name
    rnodeid
    Dimension name of the Redis node ID
    Enter a string-type dimension name: rnodeid.
    Corresponding 1-minute dimension name: clusterid.
    Instances.N.Dimensions.1.Value
    rnodeid
    Specific Redis node ID
    Enter a specific Redis node ID, which can be queried through the DescribeInstanceNodeInfo API.
    Corresponding 1-minute dimension name: clusterid.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support