allen8807 / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

Adding package name to the stat output #234

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Because there are several caching servers floating around that implement the 
memcache protocol, I thought it might be nice if there was an easy way for a 
consumer to check just what type of server they were connected to. I'm 
including a patch (against the 1.4.9 codebase) which would adds a 'type' field 
to the stats output, and would also suggest adding this field to a future 
version of the protocol doc. You might also want to consider adding a 
'platform' field to indicate whether the daemon is running atop Linux, Solaris, 
BSD, Windows, etc.

Original issue reported on code.google.com by ladar.le...@gmail.com on 10 Nov 2011 at 4:47

Attachments:

GoogleCodeExporter commented 9 years ago
Yeah. Maybe? I have some awful thoughts about people running "stats" on every 
new connection.

I'll think about it :) If anyone else wishes to comment you should leave a note 
here or on the ML thread.

Original comment by dorma...@rydia.net on 10 Nov 2011 at 6:56

GoogleCodeExporter commented 9 years ago
I plan to include the information as part of a debug report. It goes along with 
information about the operating system, rdbms type, libraries, and version info.

Original comment by ladar.le...@gmail.com on 10 Nov 2011 at 7:08

GoogleCodeExporter commented 9 years ago
people can't just put their own package info into the "version" line?

Original comment by dorma...@rydia.net on 12 Jan 2012 at 1:47

GoogleCodeExporter commented 9 years ago
Closing this as folks tend to decorate the version output when it's a 
fork/weirdness. that seems like the best idea.

if it doesn't work out in practice, we'll revisit of course :p

Original comment by dorma...@rydia.net on 9 Dec 2013 at 2:44