microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.84k stars 5.38k forks source link

Windows Performance Counters #297

Open Xhanti opened 9 years ago

Xhanti commented 9 years ago

Hi,

Would it be possible to instrument redis with some windows performance counters? We use these extensively for monitoring our windows servers and it would be great to get a bit more insight into redis (reads/writes?) via this common windows api.

Regards, Xhanti

enricogior commented 9 years ago

Hi @Xhanti, at present there is no plan to add the Windows Performance Counters, but you can create your own client app that queries the internal redis stats and expose those values using the WPC.

Xhanti commented 9 years ago

Thank you for the prompt response. I'll explore that avenue next. Regards

mikestu commented 8 years ago

I know this is closed, but this is disappointing. So to use this in a production environment, we have to write our own internal tool to monitor the cache cluster. Great...not exactly a win for using the Windows port.

enricogior commented 8 years ago

Hi @mikestu this is an open source project, feel free to add the code to support the performance counters you need. We would be very happy to receive a community contribution. Thank you.

mikestu commented 8 years ago

That might actually be a fun Windows service to write. It would be for my workplace though, but if I end up with something others can use, I will ask if I can put it out here. Thanks...

tellan55 commented 8 years ago

@enricogior , @mikestu

I used this: https://github.com/neuecc/RespClient + PowerShell

I am sending all the collections to Graphite and create performance graphics with Graphana.

Hope this help

enricogior commented 8 years ago

I'm reopening the issue for reference. We are still not planning to add the counters, but anyone in the community is invited to do it.