Skip to main content

TairPulse is a tool to visualize the latency and availability of Tair/Redis instances.

Project description

tair-pulse

tair-pulse is a tool for visualizing the latency and availability of Tair/Redis instances.

image.png

Installation

tair-pulse requires Python 3.8 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).
  • --fork: Use save to trigger fork(2) in order to test latency.

Examples:

Run tair-pulse 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


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.3.2.tar.gz (88.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tair_pulse-1.3.2-py3-none-any.whl (88.2 kB view details)

Uploaded Python 3

File details

Details for the file tair_pulse-1.3.2.tar.gz.

File metadata

  • Download URL: tair_pulse-1.3.2.tar.gz
  • Upload date:
  • Size: 88.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for tair_pulse-1.3.2.tar.gz
Algorithm Hash digest
SHA256 bcc4ea668c12a01982e8ddf1c38ca1eb69b564815a4e0e61d8f431e7d1a6c481
MD5 a6be9e15729db6620c61d484ec7e8e28
BLAKE2b-256 4b72452363ff602876d8b83fcc3d62b46a4ab9a5e416fb5e28ef765626c46496

See more details on using hashes here.

File details

Details for the file tair_pulse-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: tair_pulse-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 88.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for tair_pulse-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6df1c680b30fe7d6145fcc79259e45e1aee572dea7568f77928f8fb702c47aa9
MD5 b0be98c676197d78dcc16e9247760f28
BLAKE2b-256 13958eb9094b19602497b6a1cb3ac9478f4cdb70bd3b00321b1f343ed808d673

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page