• Resolved taimourhadi

    (@taimourhadi)


    I am trying to extract redis query execution time using wp cli.
    Currently i am using
    wp redis metrics
    and it returns output like

    float(1619642237)
      ["O:26:"Rhubarb\RedisCache\Metrics":8:{s:2:"id";s:7:"7eb65b0";s:4:"hits";i:897;s:6:"misses";i:3;s:5:"ratio";d:99.7;s:5:"bytes";i:468576;s:4:"time";d:0.00466;s:5:"calls";i:19;s:9:"timestamp";i:1619642238;}"]=>
      float(1619642238)
      ["O:26:"Rhubarb\RedisCache\Metrics":8:{s:2:"id";s:7:"7fc6566";s:4:"hits";i:571;s:6:"misses";i:2;s:5:"ratio";d:99.7;s:5:"bytes";i:466558;s:4:"time";d:0.00343;s:5:"calls";i:14;s:9:"timestamp";i:1619642239;}"]=>
      float(1619642239)
      ["O:26:"Rhubarb\RedisCache\Metrics":8:{s:2:"id";s:7:"815d03e";s:4:"hits";i:571;s:6:"misses";i:2;s:5:"ratio";d:99.7;s:5:"bytes";i:466558;s:4:"time";d:0.00374;s:5:"calls";i:14;s:9:"timestamp";i:1619642241;}"]=>

    Can you please provide details on how can this be achieved, like we are able to see from wp-admin?

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Redis Metric Extraction’ is closed to new replies.