• Resolved datverse

    (@datverse)


    Hi, my Metric in admin not showing data. (I trying too many week to test, but data nothing)

    I install WordPress 5.7.2 on:
    CentOS: 7.9
    Nginx: 1.20.1
    PHP: 8.0.8
    MariaDB: 10.5
    Redis Server: 6.2.4
    Php Redis: 5.3.4

    This is my Diagnostics:

    Status: Connected
    Client: PhpRedis (v5.3.4)
    Drop-in: Valid
    Disabled: No
    Ping: 1
    Errors: []
    PhpRedis: 5.3.4
    Predis: Not loaded
    Credis: Not loaded
    PHP Version: 8.0.8
    Plugin Version: 2.0.20
    Redis Version: 6.2.4
    Multisite: No
    Filesystem: Working
    Global Prefix: "wp_b052ee7_"
    Blog Prefix: "wp_b052ee7_"
    WP_REDIS_PREFIX: "my-domain.com"
    WP_CACHE_KEY_SALT: "my-domain.com"
    Global Groups: [
        "blog-details",
        "blog-id-cache",
        "blog-lookup",
        "global-posts",
        "networks",
        "rss",
        "sites",
        "site-details",
        "site-lookup",
        "site-options",
        "site-transient",
        "users",
        "useremail",
        "userlogins",
        "usermeta",
        "user_meta",
        "userslugs",
        "redis-cache",
        "blog_meta"
    ]
    Ignored Groups: [
        "counts",
        "plugins",
        "themes"
    ]
    Unflushable Groups: []
    Drop-ins: [
        "Redis Object Cache Drop-In v2.0.20 by Till Krüss"
    ]

    How can I check what I wrong or miss?

    Please help
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Hi @datverse, can you post the output of KEYS *metrics* from redis-cli?

    Thread Starter datverse

    (@datverse)

    Hi, thank for your reply. I use SSH to my CentOS server, use redis-cli => info and got something:

    [root@localhost ~]# redis-cli
    127.0.0.1:6379> info
    # Server
    redis_version:6.2.4
    redis_git_sha1:00000000
    redis_git_dirty:0
    redis_build_id:6b9ff9cb3b70c87a
    redis_mode:standalone
    os:Linux 3.10.0-1160.25.1.el7.x86_64 x86_64
    arch_bits:64
    multiplexing_api:epoll
    atomicvar_api:c11-builtin
    gcc_version:8.3.1
    process_id:22230
    process_supervised:systemd
    run_id:dade95dcdcacc28109fd5678a0721275af8e4e48
    tcp_port:6379
    server_time_usec:1625905042096988
    uptime_in_seconds:225019
    uptime_in_days:2
    hz:10
    configured_hz:10
    lru_clock:15292306
    executable:/usr/bin/redis-server
    config_file:/etc/redis/redis.conf
    io_threads_active:0
    
    # Clients
    connected_clients:1
    cluster_connections:0
    maxclients:10000
    client_recent_max_input_buffer:16
    client_recent_max_output_buffer:0
    blocked_clients:0
    tracking_clients:0
    clients_in_timeout_table:0
    
    # Memory
    used_memory:1008688
    used_memory_human:985.05K
    used_memory_rss:8028160
    used_memory_rss_human:7.66M
    used_memory_peak:63864608
    used_memory_peak_human:60.91M
    used_memory_peak_perc:1.58%
    used_memory_overhead:834328
    used_memory_startup:811840
    used_memory_dataset:174360
    used_memory_dataset_perc:88.58%
    allocator_allocated:1965824
    allocator_active:2625536
    allocator_resident:5836800
    total_system_memory:8201482240
    total_system_memory_human:7.64G
    used_memory_lua:37888
    used_memory_lua_human:37.00K
    used_memory_scripts:0
    used_memory_scripts_human:0B
    number_of_cached_scripts:0
    maxmemory:2147483648
    maxmemory_human:2.00G
    maxmemory_policy:allkeys-lru
    allocator_frag_ratio:1.34
    allocator_frag_bytes:659712
    allocator_rss_ratio:2.22
    allocator_rss_bytes:3211264
    rss_overhead_ratio:1.38
    rss_overhead_bytes:2191360
    mem_fragmentation_ratio:8.31
    mem_fragmentation_bytes:7062240
    mem_not_counted_for_evict:0
    mem_replication_backlog:0
    mem_clients_slaves:0
    mem_clients_normal:20496
    mem_aof_buffer:0
    mem_allocator:jemalloc-5.1.0
    active_defrag_running:0
    lazyfree_pending_objects:0
    lazyfreed_objects:0
    
    # Persistence
    loading:0
    current_cow_size:0
    current_cow_size_age:0
    current_fork_perc:0.00
    current_save_keys_processed:0
    current_save_keys_total:0
    rdb_changes_since_last_save:4301
    rdb_bgsave_in_progress:0
    rdb_last_save_time:1625904842
    rdb_last_bgsave_status:ok
    rdb_last_bgsave_time_sec:0
    rdb_current_bgsave_time_sec:-1
    rdb_last_cow_size:602112
    aof_enabled:0
    aof_rewrite_in_progress:0
    aof_rewrite_scheduled:0
    aof_last_rewrite_time_sec:-1
    aof_current_rewrite_time_sec:-1
    aof_last_bgrewrite_status:ok
    aof_last_write_status:ok
    aof_last_cow_size:0
    module_fork_in_progress:0
    module_fork_last_cow_size:0
    
    # Stats
    total_connections_received:45548
    total_commands_processed:7107463
    instantaneous_ops_per_sec:0
    total_net_input_bytes:21676817203
    total_net_output_bytes:15877612932
    instantaneous_input_kbps:0.00
    instantaneous_output_kbps:0.00
    rejected_connections:0
    sync_full:0
    sync_partial_ok:0
    sync_partial_err:0
    expired_keys:0
    expired_stale_perc:0.00
    expired_time_cap_reached_count:0
    expire_cycle_cpu_milliseconds:11424
    evicted_keys:0
    keyspace_hits:1025237
    keyspace_misses:3336701
    pubsub_channels:0
    pubsub_patterns:0
    latest_fork_usec:524
    total_forks:756
    migrate_cached_sockets:0
    slave_expires_tracked_keys:0
    active_defrag_hits:0
    active_defrag_misses:0
    active_defrag_key_hits:0
    active_defrag_key_misses:0
    tracking_total_keys:0
    tracking_total_items:0
    tracking_total_prefixes:0
    unexpected_error_replies:0
    total_error_replies:2
    dump_payload_sanitizations:0
    total_reads_processed:8198280
    total_writes_processed:7108590
    io_threaded_reads_processed:0
    io_threaded_writes_processed:0
    
    # Replication
    role:master
    connected_slaves:0
    master_failover_state:no-failover
    master_replid:cb6e8609c009a05eb14a39f69da27ac2fd4ec591
    master_replid2:0000000000000000000000000000000000000000
    master_repl_offset:0
    second_repl_offset:-1
    repl_backlog_active:0
    repl_backlog_size:1048576
    repl_backlog_first_byte_offset:0
    repl_backlog_histlen:0
    
    # CPU
    used_cpu_sys:402.985964
    used_cpu_user:340.727196
    used_cpu_sys_children:3.257474
    used_cpu_user_children:4.672545
    used_cpu_sys_main_thread:400.433787
    used_cpu_user_main_thread:339.582664
    
    # Modules
    
    # Errorstats
    errorstat_ERR:count=2
    
    # Cluster
    cluster_enabled:0
    
    # Keyspace
    db0:keys=35,expires=2,avg_ttl=1339182748

    If I use: redis-cli => KEYS *metrics*
    I got:

    127.0.0.1:6379> KEYS *metrics*
    1) "my-domain-1.comwp_1a43c2f:redis-cache:metrics"
    2) "my-domain-2.comwp_e2cb081:redis-cache:metrics"
    3) "my-domain-3.comwp_648a5bd:redis-cache:metrics"
    4) "my-domain-4.comwp_b962ee3:redis-cache:metrics"

    I have 30 website (domains) on my server

    Is it what you need me to provide?

    Thanks

    Plugin Author Till Krüss

    (@tillkruess)

    I wonder if this is an escaping issue with your fancy prefixes.

    Would you mind reporting this issue on GitHub and we can take it from there?

    Thread Starter datverse

    (@datverse)

    Hi, thank for your reply.
    What the github repo link we can work on?
    I will post all the info, config, ini in github for this issue
    ??
    Thanks

    Thread Starter datverse

    (@datverse)

    Hi I post the issue on the github repo.
    Thanks ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Metric not showing’ is closed to new replies.