redis-tracker
Cli tool that redirect redis key values to stdout and/or prometheus
$ redis-tracker set zset text list --prometheus 9090
sending stats to prometheus: localhost:9090
set 84
list 57
zset 19
text hello!
Prometheus
The example above would produce these prometheus stats:
# HELP redis_track redis key value tracking
# TYPE redis_track gauge
redis_track{key="set",source="redis@localhost/0:6379",type="set"} 1.0
redis_track{key="zset",source="redis@localhost/0:6379",type="zset"} 1.0
# HELP redis_track_info redis key value tracking
# TYPE redis_track_info gauge
redis_track_info{key="text",source="redis@localhost/0:6379",text="hello!",type="string"} 1.0
In other words:
setsandlistsproduce gauges that track their lengthzsetssame as setsstringproducesinfo
Usage
$ redis-tracker --help
Usage: redis-tracker [OPTIONS] [KEYS]...
track redis keys to stdout and/or prometheus
Options:
--from-set TEXT take keys from set key
--prometheus INTEGER enable prometheus polling on port
--tick-rate INTEGER how often to check in seconds [default: 1]
--no-color disable output color
-h TEXT redis hoststring [default: localhost]
-p INTEGER redis port [default: 6379]
-a TEXT redis password
-db INTEGER redis host [default: 0]
--help Show this message and exit.
Install
pip install redis-tracker
Metadata
Release files for redis-tracker 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| redis-tracker-1.1.tar.gz | 3.5 kB | Without provenance | Details for redis-tracker-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| redis_tracker-1.1-py3-none-any.whl | Python 3 | none | any | Details for redis_tracker-1.1-py3-none-any.whl |
Total release size: 7.1 kB
Release files / redis-tracker-1.1.tar.gz
| Download URL | redis-tracker-1.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f37e9b6e3eaccd66d99065c60157175066ecc1c17c632e1cb2d3a13c2ede9de3
|
|
BLAKE2b-256 checksum How to use checksums |
b2729e39b8fa93ea06a832d844c5158235dfdd8e662b74075bde3c08b6c04131
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.8.2 Linux/5.6.11-arch1-1
|
Release files / redis_tracker-1.1-py3-none-any.whl
| Download URL | redis_tracker-1.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d430abc763319ade7b04c50b73559c9fccb7432bd70d07bdf7e992f5f8072d8
|
|
BLAKE2b-256 checksum How to use checksums |
f8eae97244b64d6bf2555ce43787d92b18260fe5eacb4342c0bc00b97235c71f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.8.2 Linux/5.6.11-arch1-1
|
Security for redis-tracker 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.