Skip to main content

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.

example.png

Installation

TairPulse 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 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


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

Uploaded Source

Built Distribution

tair_pulse-1.2.4-py3-none-any.whl (87.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tair_pulse-1.2.4.tar.gz
  • Upload date:
  • Size: 597.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.3

File hashes

Hashes for tair_pulse-1.2.4.tar.gz
Algorithm Hash digest
SHA256 8a888d9ab3cf4c62da86bef43633fd39b3b1e53c222fcfa77807869978d5a1c1
MD5 f53d44b15f7325e45c325a94dcf18b15
BLAKE2b-256 a7d9f31217365a84182519ce5dab0f8f998346da100301092b67b1eaf6c8d3eb

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: tair_pulse-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 87.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.3

File hashes

Hashes for tair_pulse-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 582f1fa69513e14b1ec2fcda46fc89f5ac858c1ee3287b87ce08089ee00987ca
MD5 fea44c8863ea2d6fa511cc65fa178f8d
BLAKE2b-256 7e816a2362a6a20dcc5df39da3f637440e9d30eaf8f85ee307384e2601e1b2f4

See more details on using hashes here.

Provenance

Supported by

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