TairPulse is a tool to visualize the latency and availability of Tair/Redis instances.
Project description
TairPulse
TairPulse is a tool for visualizing the latency and availability of Tair/Redis instances.
Installation
TairPulse requires Python 3.7
or later.
Install it using pip
or your preferred PyPI package manager.
pip install tair-pulse
Usage
usage: tair-pulse [-h] [--host HOST] [--port PORT] [--password PASSWORD]
[--cluster] [--max-rt MAX_RT]
Optional Arguments:
-h, --help
: Show the help message and exit.--host HOST
: Specify the server hostname (default is 127.0.0.1).--port PORT
: Specify the server port (default is 6379).--password PASSWORD
: Specify the password for Tair/Redis authentication.--cluster
: Specify if the server is a node of the Tair/Redis cluster.--max-rt MAX_RT
: Print the key that exceeds the specified maximum response time (default is 0).
Examples:
Run TairPulse with the default configuration against 127.0.0.1:6379:
$ tair-pulse
Test an Aliyun Tair instance without a password:
$ tair-pulse --host r-bp1qf8wio5zkp01pzt.redis.rds.aliyuncs.com
Test a cluster instance with a password, where one of the nodes is 192.168.10.1:7000:
$ tair-pulse --host 192.168.10.1 --port 7000 --password 123456 --cluster
Note: Replace the values in the examples with your actual server hostname, port, and password if applicable.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tair_pulse-1.0.1.tar.gz
(596.3 kB
view hashes)
Built Distribution
tair_pulse-1.0.1-py3-none-any.whl
(87.3 kB
view hashes)
Close
Hashes for tair_pulse-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caf94925fd2805eb8e36a748e1f5cc230ddb685b12b13e802f68ee25bf6140e2 |
|
MD5 | 5170b23abcf0c956add01e6e5f4e3d4e |
|
BLAKE2b-256 | 497cb54fdd68f351859d3b7ba16e8c1c2659310fc99bd82d1fe0b0e4053cee72 |