Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 2.41 KB

README.md

File metadata and controls

63 lines (51 loc) · 2.41 KB

Github license

A Web application for real-time monitoring of Redis, developed in ASP.NET Core with Razor Pages, fully compatible for both on-premise and cloud instances. The dashboard is developed with Bootstrap and AdminLTE. This project was born with the aim of giving an alternative to the standard Ruby based redis-stat.

How it works

SharpRedisMonitor uses StackExchange.Redis as client to Redis instance and retrieves information and statistics in real time by invoking the info command. Statistics are displayed in the main dashboard which currently has the following features:

  • CPU status display
  • Memory status duplay
  • Clients status display
  • Real-time operations per sec
  • General informations

Dashboard

Alt text

How to use it

To use the application, simply edit the appsettings.json file by inserting the connection to the Redis instance.

{
  "Config": {
    "Servers": [
      {
        "Name": "server_name_here",
        "Address": "server_address_here",
        "Port": 6380,
        "Password": "password_here",
        "ConnectionString": "server_connectionstring_here"
      }
    ]
  }, 
  "Logging": {
    "LogLevel": {
      "Default": "Debug",
      "Microsoft": "Information",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*"
}

StackExchange Reference

https://github.com/StackExchange/StackExchange.Redis

Contributing

Thank you for considering to help out with the source code! If you'd like to contribute, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base.

Getting started with Git and GitHub

Project Maintainer

Francesco Del Re

Licensee

SharpRedisMonitor source code is available under MIT License, see license in the source.