Discussion:
[redis-db] Redis key stats hit/miss
Giovanni Di Santo
2018-09-07 10:08:59 UTC
Permalink
Hi all
there is a way to track redis key statistics like hit/miss?

Thank you

my current redis version is 3.2.9
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Itamar Haber
2018-09-07 14:57:32 UTC
Permalink
Hello Giovanni,

You can track overall hits and misses with `INFO stats`.

Cheers,
Post by Giovanni Di Santo
Hi all
there is a way to track redis key statistics like hit/miss?
Thank you
my current redis version is 3.2.9
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
*Itamar Haber*
Technicalist Evangenly

Phone: +972.54.567.9692
[image: Redis Labs] <https://redislabs.com/>
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Giovanni Di Santo
2018-09-07 15:06:07 UTC
Permalink
I need to keep track stats for a specific key and not only all the keys
Post by Itamar Haber
Hello Giovanni,
You can track overall hits and misses with `INFO stats`.
Cheers,
On Fri, Sep 7, 2018 at 1:08 PM, Giovanni Di Santo <
Post by Giovanni Di Santo
Hi all
there is a way to track redis key statistics like hit/miss?
Thank you
my current redis version is 3.2.9
--
You received this message because you are subscribed to the Google Groups
"Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
*Itamar Haber*
Technicalist Evangenly
Phone: +972.54.567.9692
[image: Redis Labs] <https://redislabs.com/>
--
You received this message because you are subscribed to a topic in the
Google Groups "Redis DB" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/redis-db/_uK4Kr0KNXU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Marc Gravell
2018-09-08 08:35:18 UTC
Permalink
Then perhaps either do that at the caller, or access that key/keys through
a Lua script that also does a hincrby to track your specific tracked
hit/miss counts. There's nothing currently built in for per-key hit/miss.
Post by Giovanni Di Santo
I need to keep track stats for a specific key and not only all the keys
Post by Itamar Haber
Hello Giovanni,
You can track overall hits and misses with `INFO stats`.
Cheers,
On Fri, Sep 7, 2018 at 1:08 PM, Giovanni Di Santo <
Post by Giovanni Di Santo
Hi all
there is a way to track redis key statistics like hit/miss?
Thank you
my current redis version is 3.2.9
--
You received this message because you are subscribed to the Google
Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
*Itamar Haber*
Technicalist Evangenly
Phone: +972.54.567.9692
[image: Redis Labs] <https://redislabs.com/>
--
You received this message because you are subscribed to a topic in the
Google Groups "Redis DB" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/redis-db/_uK4Kr0KNXU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Loading...