Giter VIP home page Giter VIP logo

Comments (5)

tidwall avatar tidwall commented on May 22, 2024 1

Sounds good. I'll see what I can do. Thanks!

from tile38.

tidwall avatar tidwall commented on May 22, 2024

Hi,

I can add those commands. Which sections/fields from INFO does Redsmin require?

from tile38.

FGRibreau avatar FGRibreau commented on May 22, 2024

The best way is to connect it to Redsmin but from the top of my mind:

  • info needs a redis_version and the info commands must be able to respond to info all and info commandstats and info cluster (even if its empty)
  • some of monitored info keys are:
uptime_in_seconds
connected_clients
client_longest_output_list
client_biggest_input_buf
blocked_clients
used_memory
used_memory_rss
used_memory_peak
used_memory_lua
mem_fragmentation_ratio
rdb_changes_since_last_save
rdb_last_save_time
rdb_last_bgsave_time_sec
rdb_current_bgsave_time_sec
aof_rewrite_in_progress
aof_rewrite_scheduled
aof_last_rewrite_time_sec
aof_current_rewrite_time_sec
total_connections_received
total_commands_processed
instantaneous_ops_per_sec
rejected_connections
sync_partial_full
sync_partial_ok
sync_partial_err
repl_backlog_size
repl_backlog_histlen
expired_keys
evicted_keys
keyspace_hits
keyspace_misses
pubsub_channels
pubsub_patterns
latest_fork_usec
aof_delayed_fsync
connected_slaves
master_last_io_seconds_ago
master_link_down_since_seconds
used_cpu_sys
used_cpu_user
cluster_slots_assigned
cluster_slots_ok
cluster_slots_pfail
cluster_slots_fail
cluster_known_nodes
cluster_size
cluster_current_epoch
cluster_my_epoch
cluster_stats_messages_sent
cluster_stats_messages_received

but you don't need to implement each of them, however if you implement one just use the same unit type as Redis itself :)

from tile38.

FGRibreau avatar FGRibreau commented on May 22, 2024

Hello @tidwall,

I just saw that you closed this issue, is the "info" command working?

from tile38.

tidwall avatar tidwall commented on May 22, 2024

I recently added the INFO command and is should be working. I also made a minor change moments ago to address an issue with the command.

from tile38.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.