summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1930080)
raw | patch | inline | side by side (parent: 1930080)
author | Matt Cottingham <matt.cottingham@gmail.com> | |
Fri, 23 May 2014 15:23:11 +0000 (16:23 +0100) | ||
committer | Matt Cottingham <matt.cottingham@gmail.com> | |
Fri, 23 May 2014 15:23:18 +0000 (16:23 +0100) |
This is a counter which increments when the connection limit to
memcached is reached and a socket listen is disabled.
memcached is reached and a socket listen is disabled.
src/memcached.c | patch | blob | history |
diff --git a/src/memcached.c b/src/memcached.c
index 7e12f129d72c5f2cb4a1f09cce7c2a4971133c45..577c526ed08b0890ec6a5b701c4e4046a1c2a1b4 100644 (file)
--- a/src/memcached.c
+++ b/src/memcached.c
{
submit_gauge ("memcached_connections", "current", atof (fields[2]), st);
}
+ else if (FIELD_IS ("listen_disabled_num"))
+ {
+ submit_derive ("memcached_connections", "listen_disabled_num", atof (fields[2]), st);
+ }
/*
* Commands